writefully 0.4.8 → 0.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/writefully/post.rb +1 -1
  3. data/app/models/writefully/tag.rb +1 -1
  4. data/lib/writefully/asset.rb +1 -1
  5. data/lib/writefully/storage.rb +1 -1
  6. data/lib/writefully/version.rb +1 -1
  7. data/spec/dummy/log/test.log +1545 -0
  8. data/spec/dummy/tmp/cache/assets/test/sprockets/064b3076e29f54ea572ca43d6c5950cc +0 -0
  9. data/spec/dummy/tmp/cache/assets/test/sprockets/078f453f056a4ed2fd66501dfd9f39ab +0 -0
  10. data/spec/dummy/tmp/cache/assets/test/sprockets/0cffae26d19cc03e51c306588e958ebe +0 -0
  11. data/spec/dummy/tmp/cache/assets/test/sprockets/135a69536b47551350adcbc08ec41a1e +0 -0
  12. data/spec/dummy/tmp/cache/assets/test/sprockets/293a5a934ba2a14e597e47d6241ec451 +0 -0
  13. data/spec/dummy/tmp/cache/assets/test/sprockets/2fa420ac509f80395b0b4b3bc99b8e38 +0 -0
  14. data/spec/dummy/tmp/cache/assets/test/sprockets/39bedb1ace9a0be939fe501130fcd194 +0 -0
  15. data/spec/dummy/tmp/cache/assets/test/sprockets/3b0360c69b189f9577b9e285cac58242 +0 -0
  16. data/spec/dummy/tmp/cache/assets/test/sprockets/444ce6c9a675d7ec23a955fc5f3f0439 +0 -0
  17. data/spec/dummy/tmp/cache/assets/test/sprockets/4cde0f040415498ca23f35374243b850 +0 -0
  18. data/spec/dummy/tmp/cache/assets/test/sprockets/680ae35528dae019b2b6ebe493135a16 +0 -0
  19. data/spec/dummy/tmp/cache/assets/test/sprockets/7a5f4e7eb3df0eac6f46d5fd3d8677b5 +0 -0
  20. data/spec/dummy/tmp/cache/assets/test/sprockets/8353c2ac910d8928153a3ec842aaf4a3 +0 -0
  21. data/spec/dummy/tmp/cache/assets/test/sprockets/8888c75405e6dc5ccf6b8541617d5c31 +0 -0
  22. data/spec/dummy/tmp/cache/assets/test/sprockets/9b9ee2a899dd8b3bfa592fba44ebf8d2 +0 -0
  23. data/spec/dummy/tmp/cache/assets/test/sprockets/b3a4db4a02e8faa22904a115e87492c0 +0 -0
  24. data/spec/dummy/tmp/cache/assets/test/sprockets/b83537e814e13cf03642ccc3d90fda13 +0 -0
  25. data/spec/dummy/tmp/cache/assets/test/sprockets/b9a1ab6fd5fd852a70849d81a5c3a8ec +0 -0
  26. data/spec/dummy/tmp/cache/assets/test/sprockets/ba0c2bad70f281871a7977b74f2d7a4c +0 -0
  27. data/spec/dummy/tmp/cache/assets/test/sprockets/d8e5cf4c7c2d872d9c5be244c4f127d1 +0 -0
  28. data/spec/dummy/tmp/cache/assets/test/sprockets/de2872f03106a22a3c87792e37a5786a +0 -0
  29. data/spec/dummy/tmp/cache/assets/test/sprockets/e683e3ddff327856b35dd8e62845ca66 +0 -0
  30. data/spec/dummy/tmp/cache/assets/test/sprockets/e690be50b969c85af53e39393347f335 +0 -0
  31. data/spec/dummy/tmp/cache/assets/test/sprockets/f72d17e470c42490e586b315879fbe16 +0 -0
  32. data/spec/dummy/tmp/cache/assets/test/sprockets/fd4947e22c21d0d9a08b2cc26d48a46d +0 -0
  33. metadata +45 -1
@@ -110795,3 +110795,1548 @@ Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.6ms)
110795
110795
   (0.2ms) ROLLBACK
110796
110796
   (0.1ms) BEGIN
110797
110797
   (0.1ms) ROLLBACK
110798
+  (383.5ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
110799
+  (273.2ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
110800
+ SQL (1.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
110801
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "hstore"
110802
+  (5.8ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
110803
+  (0.8ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
110804
+  (3.0ms) CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp) 
110805
+  (0.9ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
110806
+  (0.8ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
110807
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
110808
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
110809
+  (2.9ms) CREATE TABLE "writefully_sites" ("id" serial primary key, "name" character varying(255), "branch" character varying(255) DEFAULT 'master', "slug" character varying(255), "repository" hstore, "domain" character varying(255), "processing" boolean DEFAULT 't', "healthy" boolean DEFAULT 'f', "owner_id" integer, "created_at" timestamp, "updated_at" timestamp)
110810
+  (0.8ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
110811
+  (1.3ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
110812
+  (0.9ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
110813
+  (2.0ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
110814
+  (0.8ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
110815
+  (0.7ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
110816
+  (2.5ms) CREATE TABLE "writefully_tags" ("id" serial primary key, "name" character varying(255), "slug" character varying(255), "type" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
110817
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
110818
+  (0.9ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
110819
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
110820
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
110821
+  (0.3ms) SELECT version FROM "schema_migrations"
110822
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
110823
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
110824
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
110825
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
110826
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
110827
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
110828
+  (0.4ms) ALTER TABLE "writefully_authorships" DISABLE TRIGGER ALL;ALTER TABLE "writefully_posts" DISABLE TRIGGER ALL;ALTER TABLE "writefully_sites" DISABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" DISABLE TRIGGER ALL;ALTER TABLE "writefully_tags" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
110829
+  (0.2ms) BEGIN
110830
+ Fixture Delete (0.3ms) DELETE FROM "writefully_sites"
110831
+ Fixture Insert (1.1ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 17:23:08', '2014-04-23 17:23:08', 163715408, 785112356)
110832
+ Fixture Insert (0.3ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 17:23:08', '2014-04-23 17:23:08', 653288584)
110833
+ Fixture Delete (0.4ms) DELETE FROM "writefully_posts"
110834
+ Fixture Insert (0.6ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id", "site_id") VALUES ('Ruby Hash Selector Pattern', 'hash-selector-pattern', 'Blah', 'Post', '2014-04-23 17:23:08', '2014-04-23 17:23:08', 93356905, 163715408)
110835
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-04-23 17:23:08', '2014-04-23 17:23:08', 456337813)
110836
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
110837
+ Fixture Insert (0.4ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 17:23:08', '2014-04-23 17:23:08', 785112356)
110838
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 17:23:08', '2014-04-23 17:23:08', 935496864)
110839
+  (0.6ms) COMMIT
110840
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
110841
+  (0.1ms) BEGIN
110842
+ Writefully::Authorship Load (1.0ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110843
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-04-24 00:23:08 +0700
110844
+ Processing by Writefully::SitesController#index as HTML
110845
+ Writefully::Site Exists (0.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
110846
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
110847
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.3ms)
110848
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.2ms)
110849
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (3.8ms)
110850
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/index.html.erb within layouts/writefully/application (15.0ms)
110851
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.9ms)
110852
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.2ms)
110853
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (4.6ms)
110854
+ Completed 200 OK in 1544ms (Views: 1511.5ms | ActiveRecord: 1.4ms)
110855
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110856
+  (0.3ms) ROLLBACK
110857
+  (0.2ms) BEGIN
110858
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110859
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110860
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-04-24 00:23:09 +0700
110861
+ Processing by Writefully::SitesController#show as HTML
110862
+ Parameters: {"id"=>"codemy-net"}
110863
+ Writefully::Site Load (1.1ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
110864
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
110865
+ Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
110866
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-04-24 00:23:09 +0700
110867
+ Processing by Writefully::PostsController#index as HTML
110868
+ Parameters: {"site_id"=>"codemy-net"}
110869
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
110870
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.6ms)
110871
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.2ms)
110872
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110873
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110874
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.5ms)
110875
+ Writefully::Post Load (1.1ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
110876
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.2ms)
110877
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (3.1ms)
110878
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (28.8ms)
110879
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110880
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110881
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.1ms)
110882
+ Completed 200 OK in 38ms (Views: 32.1ms | ActiveRecord: 1.5ms)
110883
+ Writefully::Post Load (0.9ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110884
+  (0.3ms) ROLLBACK
110885
+  (0.2ms) BEGIN
110886
+  (0.2ms) ROLLBACK
110887
+  (0.2ms) BEGIN
110888
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110889
+ Writefully::Site Load (1.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
110890
+  (0.2ms) BEGIN
110891
+ SQL (2.4ms) UPDATE "writefully_sites" SET "processing" = $1, "healthy" = $2, "repository" = $3, "updated_at" = $4 WHERE "writefully_sites"."id" = 163715408 [["processing", false], ["healthy", true], ["repository", {:name=>"codemy-net", :id=>"1234", :hook_id=>"123"}], ["updated_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00]]
110892
+  (0.4ms) COMMIT
110893
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110894
+  (0.2ms) ROLLBACK
110895
+  (0.1ms) BEGIN
110896
+  (0.1ms) ROLLBACK
110897
+  (0.2ms) BEGIN
110898
+  (0.1ms) ROLLBACK
110899
+  (0.2ms) BEGIN
110900
+  (0.1ms) ROLLBACK
110901
+  (0.1ms) BEGIN
110902
+  (0.2ms) ROLLBACK
110903
+  (0.1ms) BEGIN
110904
+  (0.2ms) ROLLBACK
110905
+  (0.1ms) BEGIN
110906
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110907
+  (0.3ms) ROLLBACK
110908
+  (0.1ms) BEGIN
110909
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110910
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110911
+ Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'hash-selector-pattern' ORDER BY "writefully_posts"."id" ASC LIMIT 1
110912
+  (0.2ms) BEGIN
110913
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
110914
+ Class Create Many Without Validations Or Callbacks (2.2ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-04-23 17:23:09.888032','2014-04-23 17:23:09.888054') RETURNING "id"
110915
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
110916
+ Writefully::Tag Load (0.7ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
110917
+ Writefully::Tag Load (0.8ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" IS NULL AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
110918
+ SQL (2.6ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00]]
110919
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
110920
+ Class Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-04-23 17:23:09.923353','2014-04-23 17:23:09.923366') RETURNING "id"
110921
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
110922
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
110923
+ Writefully::Tag Load (0.8ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" = 'Playlist' AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
110924
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00]]
110925
+ SQL (0.7ms) UPDATE "writefully_posts" SET "slug" = $1, "details" = $2, "position" = $3, "content" = $4, "updated_at" = $5 WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."id" = 93356905 [["slug", "ruby-hash-selector-pattern"], ["details", {}], ["position", 1], ["content", "converted stuff"], ["updated_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00]]
110926
+  (0.4ms) COMMIT
110927
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110928
+  (0.2ms) ROLLBACK
110929
+  (0.1ms) BEGIN
110930
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110931
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
110932
+ Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'rails-flash-partials' ORDER BY "writefully_posts"."id" ASC LIMIT 1
110933
+  (0.2ms) BEGIN
110934
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
110935
+ Class Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Rails','rails',NULL,'2014-04-23 17:23:09.948435','2014-04-23 17:23:09.948451') RETURNING "id"
110936
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
110937
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
110938
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
110939
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
110940
+ Writefully::Tag Load (0.2ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
110941
+ SQL (0.6ms) INSERT INTO "writefully_posts" ("content", "created_at", "details", "position", "site_id", "slug", "title", "type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content", "converted stuff"], ["created_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00]]
110942
+ SQL (0.8ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00]]
110943
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 17:23:09 UTC +00:00]]
110944
+  (0.4ms) COMMIT
110945
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110946
+  (0.2ms) ROLLBACK
110947
+  (0.1ms) BEGIN
110948
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110949
+  (0.2ms) ROLLBACK
110950
+  (0.1ms) BEGIN
110951
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110952
+  (0.1ms) ROLLBACK
110953
+  (0.1ms) BEGIN
110954
+  (0.2ms) ROLLBACK
110955
+  (0.1ms) BEGIN
110956
+  (0.1ms) ROLLBACK
110957
+  (0.1ms) BEGIN
110958
+  (0.2ms) ROLLBACK
110959
+  (0.1ms) BEGIN
110960
+  (0.1ms) ROLLBACK
110961
+  (0.1ms) BEGIN
110962
+  (0.1ms) ROLLBACK
110963
+  (0.1ms) BEGIN
110964
+ Processing by Writefully::HooksController#create as HTML
110965
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
110966
+  (0.2ms) ROLLBACK
110967
+  (0.2ms) BEGIN
110968
+ Processing by Writefully::HooksController#create as HTML
110969
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
110970
+  (0.2ms) ROLLBACK
110971
+  (0.1ms) BEGIN
110972
+  (0.4ms) SELECT COUNT(*) FROM "writefully_authorships"
110973
+ Processing by Writefully::HooksController#create as HTML
110974
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110975
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
110976
+  (0.2ms) SAVEPOINT active_record_1
110977
+ SQL (0.6ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 17:23:10 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Wed, 23 Apr 2014 17:23:10 UTC +00:00]]
110978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
110979
+ Completed 200 OK in 5ms (ActiveRecord: 1.7ms)
110980
+  (0.2ms) SELECT COUNT(*) FROM "writefully_authorships"
110981
+  (0.1ms) ROLLBACK
110982
+  (0.1ms) BEGIN
110983
+  (0.1ms) ROLLBACK
110984
+  (0.1ms) BEGIN
110985
+  (0.2ms) ROLLBACK
110986
+  (0.1ms) BEGIN
110987
+  (0.3ms) ROLLBACK
110988
+  (0.1ms) BEGIN
110989
+  (0.1ms) ROLLBACK
110990
+  (0.1ms) BEGIN
110991
+  (0.2ms) ROLLBACK
110992
+  (0.1ms) BEGIN
110993
+  (0.1ms) ROLLBACK
110994
+  (0.1ms) BEGIN
110995
+  (0.1ms) ROLLBACK
110996
+  (0.1ms) BEGIN
110997
+  (0.1ms) ROLLBACK
110998
+  (0.1ms) BEGIN
110999
+  (0.1ms) ROLLBACK
111000
+  (0.1ms) BEGIN
111001
+  (0.2ms) ROLLBACK
111002
+  (0.1ms) BEGIN
111003
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111004
+ Processing by Writefully::SitesController#index as HTML
111005
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111006
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
111007
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.6ms)
111008
+  (0.2ms) ROLLBACK
111009
+  (0.1ms) BEGIN
111010
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111011
+ Processing by Writefully::SitesController#index as HTML
111012
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111013
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
111014
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.6ms)
111015
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111016
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 163715408 LIMIT 1 [["owner_id", 785112356]]
111017
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
111018
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
111019
+  (0.1ms) ROLLBACK
111020
+  (0.1ms) BEGIN
111021
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
111022
+ Processing by Writefully::SitesController#index as HTML
111023
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111024
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
111025
+ Redirected to http://test.host/writefully/sites/new
111026
+ Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
111027
+  (0.2ms) ROLLBACK
111028
+  (0.1ms) BEGIN
111029
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111030
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111031
+ Processing by Writefully::SitesController#show as HTML
111032
+ Parameters: {"id"=>"codemy-net"}
111033
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111034
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111035
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
111036
+ Completed 302 Found in 2ms (ActiveRecord: 0.8ms)
111037
+  (0.2ms) ROLLBACK
111038
+  (0.1ms) BEGIN
111039
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111040
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111041
+ Processing by Writefully::SitesController#show as HTML
111042
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
111043
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111044
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111045
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.7ms)
111046
+  (0.2ms) ROLLBACK
111047
+  (0.1ms) BEGIN
111048
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111049
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111050
+ Processing by Writefully::SitesController#show as HTML
111051
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
111052
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111053
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111054
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
111055
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
111056
+  (0.2ms) ROLLBACK
111057
+  (0.1ms) BEGIN
111058
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111059
+ Processing by Writefully::SitesController#new as HTML
111060
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111061
+ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)
111062
+  (0.2ms) ROLLBACK
111063
+  (0.1ms) BEGIN
111064
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111065
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111066
+ Processing by Writefully::SitesController#edit as HTML
111067
+ Parameters: {"id"=>"codemy-net"}
111068
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111069
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111070
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.6ms)
111071
+  (0.2ms) ROLLBACK
111072
+  (0.1ms) BEGIN
111073
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111074
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
111075
+ Processing by Writefully::SitesController#create as HTML
111076
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
111077
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111078
+  (0.2ms) SAVEPOINT active_record_1
111079
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
111080
+ SQL (0.6ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 17:23:10 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 17:23:10 UTC +00:00]]
111081
+  (0.2ms) RELEASE SAVEPOINT active_record_1
111082
+ Redirected to http://test.host/writefully/sites
111083
+ Completed 302 Found in 7ms (ActiveRecord: 1.8ms)
111084
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
111085
+  (0.1ms) ROLLBACK
111086
+  (0.1ms) BEGIN
111087
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111088
+ Processing by Writefully::SitesController#create as HTML
111089
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
111090
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111091
+  (0.2ms) SAVEPOINT active_record_1
111092
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
111093
+ SQL (0.3ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 17:23:10 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 17:23:10 UTC +00:00]]
111094
+  (0.2ms) RELEASE SAVEPOINT active_record_1
111095
+ Redirected to http://test.host/writefully/sites
111096
+ Completed 302 Found in 5ms (ActiveRecord: 1.3ms)
111097
+  (0.2ms) ROLLBACK
111098
+  (0.1ms) BEGIN
111099
+  (0.2ms) ROLLBACK
111100
+  (0.1ms) BEGIN
111101
+  (0.2ms) ROLLBACK
111102
+  (0.1ms) BEGIN
111103
+  (0.1ms) ROLLBACK
111104
+  (0.1ms) BEGIN
111105
+  (0.3ms) ROLLBACK
111106
+  (0.2ms) BEGIN
111107
+  (0.2ms) ROLLBACK
111108
+  (0.1ms) BEGIN
111109
+  (0.1ms) ROLLBACK
111110
+  (0.1ms) BEGIN
111111
+  (0.2ms) ROLLBACK
111112
+  (0.1ms) BEGIN
111113
+  (0.2ms) ROLLBACK
111114
+  (0.1ms) BEGIN
111115
+  (0.2ms) ROLLBACK
111116
+  (0.1ms) BEGIN
111117
+  (0.2ms) ROLLBACK
111118
+  (0.1ms) BEGIN
111119
+  (0.1ms) ROLLBACK
111120
+  (0.1ms) BEGIN
111121
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111122
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111123
+ Processing by Writefully::PostsController#index as HTML
111124
+ Parameters: {"site_id"=>"codemy-net"}
111125
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111126
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111127
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)
111128
+  (0.2ms) ROLLBACK
111129
+  (0.1ms) BEGIN
111130
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111131
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111132
+ Processing by Writefully::PostsController#index as HTML
111133
+ Parameters: {"site_id"=>"codemy-net"}
111134
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111135
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111136
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.7ms)
111137
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111138
+ Writefully::Post Exists (0.5ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
111139
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
111140
+ Writefully::Post Exists (0.4ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 456337813 LIMIT 1 [["site_id", 163715408]]
111141
+  (0.2ms) ROLLBACK
111142
+  (0.1ms) BEGIN
111143
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111144
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111145
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111146
+ Processing by Writefully::PostsController#show as HTML
111147
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
111148
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111149
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111150
+ Writefully::Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
111151
+ Writefully::Post Load (0.5ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
111152
+ Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 2.0ms)
111153
+  (0.2ms) ROLLBACK
111154
+  (0.1ms) BEGIN
111155
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111156
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111157
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111158
+ Processing by Writefully::PostsController#show as HTML
111159
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
111160
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111161
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111162
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
111163
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
111164
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 1.1ms)
111165
+  (0.2ms) ROLLBACK
111166
+  (0.1ms) BEGIN
111167
+  (0.2ms) ROLLBACK
111168
+  (0.1ms) BEGIN
111169
+  (0.1ms) ROLLBACK
111170
+  (0.1ms) BEGIN
111171
+  (0.1ms) ROLLBACK
111172
+  (0.1ms) BEGIN
111173
+  (0.2ms) ROLLBACK
111174
+  (275.5ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
111175
+  (266.0ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
111176
+ SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
111177
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "hstore"
111178
+  (7.2ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
111179
+  (14.9ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
111180
+  (3.8ms) CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp) 
111181
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
111182
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
111183
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
111184
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
111185
+  (2.8ms) CREATE TABLE "writefully_sites" ("id" serial primary key, "name" character varying(255), "branch" character varying(255) DEFAULT 'master', "slug" character varying(255), "repository" hstore, "domain" character varying(255), "processing" boolean DEFAULT 't', "healthy" boolean DEFAULT 'f', "owner_id" integer, "created_at" timestamp, "updated_at" timestamp)
111186
+  (0.7ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
111187
+  (1.3ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
111188
+  (0.7ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
111189
+  (1.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
111190
+  (0.8ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
111191
+  (0.9ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
111192
+  (2.5ms) CREATE TABLE "writefully_tags" ("id" serial primary key, "name" character varying(255), "slug" character varying(255), "type" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
111193
+  (0.9ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
111194
+  (0.6ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
111195
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
111196
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
111197
+  (0.2ms) SELECT version FROM "schema_migrations"
111198
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
111199
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
111200
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
111201
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
111202
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
111203
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
111204
+  (0.2ms) BEGIN
111205
+  (0.2ms) ROLLBACK
111206
+  (0.1ms) BEGIN
111207
+  (0.1ms) ROLLBACK
111208
+  (0.1ms) BEGIN
111209
+  (0.1ms) ROLLBACK
111210
+  (0.1ms) BEGIN
111211
+  (0.2ms) ROLLBACK
111212
+  (0.1ms) BEGIN
111213
+  (0.1ms) ROLLBACK
111214
+  (0.1ms) BEGIN
111215
+  (0.1ms) ROLLBACK
111216
+  (0.1ms) BEGIN
111217
+  (0.1ms) ROLLBACK
111218
+  (0.1ms) BEGIN
111219
+  (0.1ms) ROLLBACK
111220
+  (0.1ms) BEGIN
111221
+  (0.1ms) ROLLBACK
111222
+  (0.1ms) BEGIN
111223
+  (0.1ms) ROLLBACK
111224
+  (0.1ms) BEGIN
111225
+  (0.1ms) ROLLBACK
111226
+  (0.1ms) BEGIN
111227
+  (0.1ms) ROLLBACK
111228
+  (0.1ms) BEGIN
111229
+  (0.1ms) ROLLBACK
111230
+  (0.1ms) BEGIN
111231
+  (0.2ms) ROLLBACK
111232
+  (0.1ms) BEGIN
111233
+  (0.4ms) ROLLBACK
111234
+  (0.2ms) BEGIN
111235
+  (0.2ms) ROLLBACK
111236
+  (0.1ms) BEGIN
111237
+  (0.1ms) ROLLBACK
111238
+  (0.1ms) BEGIN
111239
+  (0.2ms) ROLLBACK
111240
+  (0.1ms) BEGIN
111241
+ Processing by Writefully::HooksController#create as HTML
111242
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
111243
+  (0.2ms) ROLLBACK
111244
+  (0.1ms) BEGIN
111245
+ Processing by Writefully::HooksController#create as HTML
111246
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
111247
+  (0.2ms) ROLLBACK
111248
+  (0.1ms) BEGIN
111249
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
111250
+ Processing by Writefully::HooksController#create as HTML
111251
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111252
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
111253
+  (0.2ms) SAVEPOINT active_record_1
111254
+ SQL (4.3ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "super_admin"], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111255
+  (0.2ms) RELEASE SAVEPOINT active_record_1
111256
+ Completed 200 OK in 15ms (ActiveRecord: 5.8ms)
111257
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
111258
+  (0.1ms) ROLLBACK
111259
+  (0.4ms) ALTER TABLE "writefully_authorships" DISABLE TRIGGER ALL;ALTER TABLE "writefully_posts" DISABLE TRIGGER ALL;ALTER TABLE "writefully_sites" DISABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" DISABLE TRIGGER ALL;ALTER TABLE "writefully_tags" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
111260
+  (0.2ms) BEGIN
111261
+ Fixture Delete (0.4ms) DELETE FROM "writefully_sites"
111262
+ Fixture Insert (0.7ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 163715408, 785112356)
111263
+ Fixture Insert (0.3ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 653288584)
111264
+ Fixture Delete (0.4ms) DELETE FROM "writefully_posts"
111265
+ Fixture Insert (0.6ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id", "site_id") VALUES ('Ruby Hash Selector Pattern', 'hash-selector-pattern', 'Blah', 'Post', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 93356905, 163715408)
111266
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 456337813)
111267
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
111268
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 785112356)
111269
+ Fixture Insert (0.1ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 935496864)
111270
+  (0.4ms) COMMIT
111271
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
111272
+  (0.1ms) BEGIN
111273
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111274
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111275
+ Processing by Writefully::PostsController#index as HTML
111276
+ Parameters: {"site_id"=>"codemy-net"}
111277
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111278
+ Writefully::Site Load (1.0ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111279
+ Completed 200 OK in 27ms (Views: 9.3ms | ActiveRecord: 1.5ms)
111280
+  (0.2ms) ROLLBACK
111281
+  (0.1ms) BEGIN
111282
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111283
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111284
+ Processing by Writefully::PostsController#index as HTML
111285
+ Parameters: {"site_id"=>"codemy-net"}
111286
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111287
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111288
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.6ms)
111289
+ Writefully::Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111290
+ Writefully::Post Exists (0.5ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
111291
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
111292
+ Writefully::Post Exists (0.4ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 456337813 LIMIT 1 [["site_id", 163715408]]
111293
+  (0.1ms) ROLLBACK
111294
+  (0.1ms) BEGIN
111295
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111296
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111297
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111298
+ Processing by Writefully::PostsController#show as HTML
111299
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
111300
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111301
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111302
+ Writefully::Post Load (0.5ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
111303
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
111304
+ Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.5ms)
111305
+  (0.2ms) ROLLBACK
111306
+  (0.1ms) BEGIN
111307
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111308
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111309
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111310
+ Processing by Writefully::PostsController#show as HTML
111311
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
111312
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111313
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111314
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
111315
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
111316
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 1.0ms)
111317
+  (0.2ms) ROLLBACK
111318
+  (0.1ms) BEGIN
111319
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111320
+ Writefully::Site Load (1.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
111321
+  (0.1ms) BEGIN
111322
+ SQL (1.0ms) UPDATE "writefully_sites" SET "processing" = $1, "healthy" = $2, "repository" = $3, "updated_at" = $4 WHERE "writefully_sites"."id" = 163715408 [["processing", false], ["healthy", true], ["repository", {:name=>"codemy-net", :id=>"1234", :hook_id=>"123"}], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111323
+  (0.4ms) COMMIT
111324
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111325
+  (0.1ms) ROLLBACK
111326
+  (0.4ms) ALTER TABLE "writefully_authorships" DISABLE TRIGGER ALL;ALTER TABLE "writefully_posts" DISABLE TRIGGER ALL;ALTER TABLE "writefully_sites" DISABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" DISABLE TRIGGER ALL;ALTER TABLE "writefully_tags" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
111327
+  (0.2ms) BEGIN
111328
+ Fixture Delete (0.2ms) DELETE FROM "writefully_sites"
111329
+ Fixture Insert (0.3ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 163715408, 785112356)
111330
+ Fixture Insert (0.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 653288584)
111331
+ Fixture Delete (0.3ms) DELETE FROM "writefully_posts"
111332
+ Fixture Insert (0.3ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id", "site_id") VALUES ('Ruby Hash Selector Pattern', 'hash-selector-pattern', 'Blah', 'Post', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 93356905, 163715408)
111333
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 456337813)
111334
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
111335
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 785112356)
111336
+ Fixture Insert (0.1ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 22:47:27', '2014-04-23 22:47:27', 935496864)
111337
+  (0.4ms) COMMIT
111338
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
111339
+  (0.1ms) BEGIN
111340
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111341
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111342
+ Processing by Writefully::SitesController#edit as HTML
111343
+ Parameters: {"id"=>"codemy-net"}
111344
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111345
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111346
+ Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 1.0ms)
111347
+  (0.2ms) ROLLBACK
111348
+  (0.1ms) BEGIN
111349
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111350
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111351
+ Processing by Writefully::SitesController#show as HTML
111352
+ Parameters: {"id"=>"codemy-net"}
111353
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111354
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111355
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
111356
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
111357
+  (0.2ms) ROLLBACK
111358
+  (0.1ms) BEGIN
111359
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111360
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111361
+ Processing by Writefully::SitesController#show as HTML
111362
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
111363
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111364
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111365
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.6ms)
111366
+  (0.2ms) ROLLBACK
111367
+  (0.1ms) BEGIN
111368
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111369
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111370
+ Processing by Writefully::SitesController#show as HTML
111371
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
111372
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111373
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111374
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
111375
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
111376
+  (0.2ms) ROLLBACK
111377
+  (0.1ms) BEGIN
111378
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111379
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
111380
+ Processing by Writefully::SitesController#create as HTML
111381
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
111382
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111383
+  (0.2ms) SAVEPOINT active_record_1
111384
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
111385
+ SQL (0.5ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
111387
+ Redirected to http://test.host/writefully/sites
111388
+ Completed 302 Found in 99ms (ActiveRecord: 1.6ms)
111389
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
111390
+  (0.2ms) ROLLBACK
111391
+  (0.2ms) BEGIN
111392
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111393
+ Processing by Writefully::SitesController#create as HTML
111394
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
111395
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111396
+  (0.1ms) SAVEPOINT active_record_1
111397
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
111398
+ SQL (0.6ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111399
+  (0.2ms) RELEASE SAVEPOINT active_record_1
111400
+ Redirected to http://test.host/writefully/sites
111401
+ Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
111402
+  (0.2ms) ROLLBACK
111403
+  (0.1ms) BEGIN
111404
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111405
+ Processing by Writefully::SitesController#new as HTML
111406
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111407
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.3ms)
111408
+  (0.2ms) ROLLBACK
111409
+  (0.1ms) BEGIN
111410
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111411
+ Processing by Writefully::SitesController#index as HTML
111412
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111413
+ Writefully::Site Exists (0.6ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
111414
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 1.0ms)
111415
+  (0.2ms) ROLLBACK
111416
+  (0.1ms) BEGIN
111417
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111418
+ Processing by Writefully::SitesController#index as HTML
111419
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111420
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
111421
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.6ms)
111422
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111423
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 163715408 LIMIT 1 [["owner_id", 785112356]]
111424
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
111425
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
111426
+  (0.1ms) ROLLBACK
111427
+  (0.1ms) BEGIN
111428
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
111429
+ Processing by Writefully::SitesController#index as HTML
111430
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111431
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
111432
+ Redirected to http://test.host/writefully/sites/new
111433
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
111434
+  (0.2ms) ROLLBACK
111435
+  (0.1ms) BEGIN
111436
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111437
+  (0.1ms) ROLLBACK
111438
+  (0.1ms) BEGIN
111439
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111440
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
111441
+ Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'hash-selector-pattern' ORDER BY "writefully_posts"."id" ASC LIMIT 1
111442
+  (0.2ms) BEGIN
111443
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
111444
+ Class Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-04-23 22:47:27.374656','2014-04-23 22:47:27.374674') RETURNING "id"
111445
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
111446
+ Writefully::Tag Load (0.7ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
111447
+ Writefully::Tag Load (1.0ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" IS NULL AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
111448
+ SQL (1.0ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111449
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
111450
+ Class Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-04-23 22:47:27.408867','2014-04-23 22:47:27.408881') RETURNING "id"
111451
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
111452
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
111453
+ Writefully::Tag Load (0.6ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" = 'Playlist' AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
111454
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111455
+ SQL (0.6ms) UPDATE "writefully_posts" SET "slug" = $1, "details" = $2, "position" = $3, "content" = $4, "updated_at" = $5 WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."id" = 93356905 [["slug", "ruby-hash-selector-pattern"], ["details", {}], ["position", 1], ["content", "converted stuff"], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111456
+  (0.4ms) COMMIT
111457
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
111458
+  (0.1ms) ROLLBACK
111459
+  (0.1ms) BEGIN
111460
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111461
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
111462
+ Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'rails-flash-partials' ORDER BY "writefully_posts"."id" ASC LIMIT 1
111463
+  (0.3ms) BEGIN
111464
+  (0.6ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
111465
+ Class Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Rails','rails',NULL,'2014-04-23 22:47:27.432106','2014-04-23 22:47:27.432121') RETURNING "id"
111466
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
111467
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
111468
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
111469
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
111470
+ Writefully::Tag Load (0.2ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
111471
+ SQL (0.6ms) INSERT INTO "writefully_posts" ("content", "created_at", "details", "position", "site_id", "slug", "title", "type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content", "converted stuff"], ["created_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111472
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111473
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 22:47:27 UTC +00:00]]
111474
+  (0.3ms) COMMIT
111475
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
111476
+  (0.1ms) ROLLBACK
111477
+  (0.1ms) BEGIN
111478
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111479
+  (0.1ms) ROLLBACK
111480
+  (0.1ms) BEGIN
111481
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111482
+  (0.1ms) ROLLBACK
111483
+  (0.1ms) BEGIN
111484
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111485
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-04-24 05:47:27 +0700
111486
+ Processing by Writefully::SitesController#index as HTML
111487
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
111488
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
111489
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.2ms)
111490
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.2ms)
111491
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (3.2ms)
111492
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.5ms)
111493
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111494
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (2.8ms)
111495
+ Completed 200 OK in 65ms (Views: 54.1ms | ActiveRecord: 0.9ms)
111496
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111497
+  (0.3ms) ROLLBACK
111498
+  (0.2ms) BEGIN
111499
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111500
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111501
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-04-24 05:47:27 +0700
111502
+ Processing by Writefully::SitesController#show as HTML
111503
+ Parameters: {"id"=>"codemy-net"}
111504
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111505
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
111506
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
111507
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-04-24 05:47:27 +0700
111508
+ Processing by Writefully::PostsController#index as HTML
111509
+ Parameters: {"site_id"=>"codemy-net"}
111510
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111511
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.5ms)
111512
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111513
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111514
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111515
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (1.9ms)
111516
+ Writefully::Post Load (0.8ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
111517
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.2ms)
111518
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.0ms)
111519
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (3.2ms)
111520
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111521
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111522
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.0ms)
111523
+ Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 1.1ms)
111524
+ Writefully::Post Load (0.5ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111525
+  (0.3ms) ROLLBACK
111526
+  (0.2ms) BEGIN
111527
+  (0.2ms) ROLLBACK
111528
+  (0.1ms) BEGIN
111529
+  (0.1ms) ROLLBACK
111530
+  (0.1ms) BEGIN
111531
+  (0.3ms) ROLLBACK
111532
+  (0.1ms) BEGIN
111533
+  (0.2ms) ROLLBACK
111534
+  (0.1ms) BEGIN
111535
+  (0.2ms) ROLLBACK
111536
+  (0.1ms) BEGIN
111537
+  (0.2ms) ROLLBACK
111538
+  (0.1ms) BEGIN
111539
+  (0.2ms) ROLLBACK
111540
+  (0.1ms) BEGIN
111541
+  (0.1ms) ROLLBACK
111542
+  (0.2ms) BEGIN
111543
+  (0.2ms) ROLLBACK
111544
+  (0.1ms) BEGIN
111545
+  (0.1ms) ROLLBACK
111546
+  (0.1ms) BEGIN
111547
+  (0.1ms) ROLLBACK
111548
+  (0.1ms) BEGIN
111549
+  (0.1ms) ROLLBACK
111550
+  (0.1ms) BEGIN
111551
+  (0.2ms) ROLLBACK
111552
+  (0.1ms) BEGIN
111553
+  (0.1ms) ROLLBACK
111554
+  (0.1ms) BEGIN
111555
+  (0.1ms) ROLLBACK
111556
+  (0.1ms) BEGIN
111557
+  (0.1ms) ROLLBACK
111558
+  (0.1ms) BEGIN
111559
+  (0.1ms) ROLLBACK
111560
+  (0.1ms) BEGIN
111561
+  (0.1ms) ROLLBACK
111562
+  (120.0ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
111563
+  (239.1ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
111564
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
111565
+ SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "hstore"
111566
+  (7.3ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
111567
+  (1.0ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
111568
+  (109.8ms) CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp) 
111569
+  (0.8ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
111570
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
111571
+  (0.9ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
111572
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
111573
+  (2.8ms) CREATE TABLE "writefully_sites" ("id" serial primary key, "name" character varying(255), "branch" character varying(255) DEFAULT 'master', "slug" character varying(255), "repository" hstore, "domain" character varying(255), "processing" boolean DEFAULT 't', "healthy" boolean DEFAULT 'f', "owner_id" integer, "created_at" timestamp, "updated_at" timestamp)
111574
+  (0.8ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
111575
+  (1.5ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
111576
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
111577
+  (1.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
111578
+  (0.7ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
111579
+  (0.7ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
111580
+  (2.5ms) CREATE TABLE "writefully_tags" ("id" serial primary key, "name" character varying(255), "slug" character varying(255), "type" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
111581
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
111582
+  (0.8ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
111583
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
111584
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
111585
+  (0.2ms) SELECT version FROM "schema_migrations"
111586
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
111587
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
111588
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
111589
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
111590
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
111591
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
111592
+  (0.3ms) BEGIN
111593
+  (0.2ms) ROLLBACK
111594
+  (0.1ms) BEGIN
111595
+  (0.2ms) ROLLBACK
111596
+  (0.2ms) BEGIN
111597
+  (0.2ms) ROLLBACK
111598
+  (0.1ms) BEGIN
111599
+  (0.1ms) ROLLBACK
111600
+  (0.6ms) ALTER TABLE "writefully_authorships" DISABLE TRIGGER ALL;ALTER TABLE "writefully_posts" DISABLE TRIGGER ALL;ALTER TABLE "writefully_sites" DISABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" DISABLE TRIGGER ALL;ALTER TABLE "writefully_tags" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
111601
+  (0.2ms) BEGIN
111602
+ Fixture Delete (0.3ms) DELETE FROM "writefully_sites"
111603
+ Fixture Insert (1.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 163715408, 785112356)
111604
+ Fixture Insert (0.3ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 653288584)
111605
+ Fixture Delete (0.4ms) DELETE FROM "writefully_posts"
111606
+ Fixture Insert (0.7ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id", "site_id") VALUES ('Ruby Hash Selector Pattern', 'hash-selector-pattern', 'Blah', 'Post', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 93356905, 163715408)
111607
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 456337813)
111608
+  (0.7ms) COMMIT
111609
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
111610
+  (0.1ms) BEGIN
111611
+ Writefully::Site Load (1.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111612
+  (0.3ms) ROLLBACK
111613
+  (0.1ms) BEGIN
111614
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111615
+  (0.5ms) SELECT COUNT(*) FROM "writefully_posts"
111616
+ Post Load (0.7ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'hash-selector-pattern' ORDER BY "writefully_posts"."id" ASC LIMIT 1
111617
+  (0.2ms) BEGIN
111618
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
111619
+ Class Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-04-23 22:47:56.696038','2014-04-23 22:47:56.696057') RETURNING "id"
111620
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
111621
+ Writefully::Tag Load (1.1ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
111622
+ Writefully::Tag Load (1.0ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" IS NULL AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
111623
+ SQL (1.8ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111624
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
111625
+ Class Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-04-23 22:47:56.766082','2014-04-23 22:47:56.766095') RETURNING "id"
111626
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
111627
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
111628
+ Writefully::Tag Load (0.5ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" = 'Playlist' AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
111629
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111630
+ SQL (0.7ms) UPDATE "writefully_posts" SET "slug" = $1, "details" = $2, "position" = $3, "content" = $4, "updated_at" = $5 WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."id" = 93356905 [["slug", "ruby-hash-selector-pattern"], ["details", {}], ["position", 1], ["content", "converted stuff"], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111631
+  (0.4ms) COMMIT
111632
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
111633
+  (0.1ms) ROLLBACK
111634
+  (0.1ms) BEGIN
111635
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111636
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
111637
+ Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'rails-flash-partials' ORDER BY "writefully_posts"."id" ASC LIMIT 1
111638
+  (0.2ms) BEGIN
111639
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
111640
+ Class Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Rails','rails',NULL,'2014-04-23 22:47:56.788969','2014-04-23 22:47:56.788983') RETURNING "id"
111641
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
111642
+ Writefully::Tag Load (0.5ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
111643
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
111644
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
111645
+ Writefully::Tag Load (0.2ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
111646
+ SQL (0.6ms) INSERT INTO "writefully_posts" ("content", "created_at", "details", "position", "site_id", "slug", "title", "type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content", "converted stuff"], ["created_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111647
+ SQL (0.6ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111648
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111649
+  (0.4ms) COMMIT
111650
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
111651
+  (0.1ms) ROLLBACK
111652
+  (0.1ms) BEGIN
111653
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111654
+  (0.1ms) ROLLBACK
111655
+  (0.1ms) BEGIN
111656
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
111657
+  (0.1ms) ROLLBACK
111658
+  (0.1ms) BEGIN
111659
+  (0.1ms) ROLLBACK
111660
+  (0.1ms) BEGIN
111661
+  (0.1ms) ROLLBACK
111662
+  (0.1ms) BEGIN
111663
+  (0.1ms) ROLLBACK
111664
+  (0.1ms) BEGIN
111665
+  (0.1ms) ROLLBACK
111666
+  (0.1ms) BEGIN
111667
+  (0.1ms) ROLLBACK
111668
+  (0.1ms) BEGIN
111669
+  (0.1ms) ROLLBACK
111670
+  (0.1ms) BEGIN
111671
+  (0.1ms) ROLLBACK
111672
+  (0.1ms) BEGIN
111673
+  (0.1ms) ROLLBACK
111674
+  (0.1ms) BEGIN
111675
+  (0.2ms) ROLLBACK
111676
+  (0.1ms) BEGIN
111677
+  (0.1ms) ROLLBACK
111678
+  (0.1ms) BEGIN
111679
+  (0.1ms) ROLLBACK
111680
+  (0.1ms) BEGIN
111681
+  (0.1ms) ROLLBACK
111682
+  (0.1ms) BEGIN
111683
+  (0.1ms) ROLLBACK
111684
+  (0.1ms) BEGIN
111685
+  (0.1ms) ROLLBACK
111686
+  (0.1ms) BEGIN
111687
+  (0.1ms) ROLLBACK
111688
+  (0.1ms) BEGIN
111689
+  (0.1ms) ROLLBACK
111690
+  (0.1ms) BEGIN
111691
+  (0.1ms) ROLLBACK
111692
+  (0.2ms) ALTER TABLE "writefully_authorships" DISABLE TRIGGER ALL;ALTER TABLE "writefully_posts" DISABLE TRIGGER ALL;ALTER TABLE "writefully_sites" DISABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" DISABLE TRIGGER ALL;ALTER TABLE "writefully_tags" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
111693
+  (0.2ms) BEGIN
111694
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
111695
+ Fixture Insert (0.4ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 785112356)
111696
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 935496864)
111697
+  (0.3ms) COMMIT
111698
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
111699
+  (0.1ms) BEGIN
111700
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111701
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111702
+ Processing by Writefully::SitesController#edit as HTML
111703
+ Parameters: {"id"=>"codemy-net"}
111704
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111705
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111706
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/edit.html.erb within layouts/writefully/application (0.2ms)
111707
+ Completed 200 OK in 11ms (Views: 6.2ms | ActiveRecord: 1.0ms)
111708
+  (0.2ms) ROLLBACK
111709
+  (0.1ms) BEGIN
111710
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111711
+ Processing by Writefully::SitesController#new as HTML
111712
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111713
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)
111714
+  (0.1ms) ROLLBACK
111715
+  (0.2ms) BEGIN
111716
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111717
+ Processing by Writefully::SitesController#index as HTML
111718
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111719
+ Writefully::Site Exists (0.6ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
111720
+ Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 1.0ms)
111721
+  (0.2ms) ROLLBACK
111722
+  (0.1ms) BEGIN
111723
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111724
+ Processing by Writefully::SitesController#index as HTML
111725
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111726
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
111727
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.5ms)
111728
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111729
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 163715408 LIMIT 1 [["owner_id", 785112356]]
111730
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
111731
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
111732
+  (0.1ms) ROLLBACK
111733
+  (0.1ms) BEGIN
111734
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
111735
+ Processing by Writefully::SitesController#index as HTML
111736
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111737
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
111738
+ Redirected to http://test.host/writefully/sites/new
111739
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
111740
+  (0.1ms) ROLLBACK
111741
+  (0.1ms) BEGIN
111742
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111743
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111744
+ Processing by Writefully::SitesController#show as HTML
111745
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
111746
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111747
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111748
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
111749
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
111750
+  (0.2ms) ROLLBACK
111751
+  (0.1ms) BEGIN
111752
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111753
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111754
+ Processing by Writefully::SitesController#show as HTML
111755
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
111756
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111757
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111758
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.6ms)
111759
+  (0.2ms) ROLLBACK
111760
+  (0.2ms) BEGIN
111761
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111762
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111763
+ Processing by Writefully::SitesController#show as HTML
111764
+ Parameters: {"id"=>"codemy-net"}
111765
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111766
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111767
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
111768
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
111769
+  (0.2ms) ROLLBACK
111770
+  (0.1ms) BEGIN
111771
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111772
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
111773
+ Processing by Writefully::SitesController#create as HTML
111774
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
111775
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111776
+  (0.1ms) SAVEPOINT active_record_1
111777
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
111778
+ SQL (0.6ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111779
+  (0.2ms) RELEASE SAVEPOINT active_record_1
111780
+ Redirected to http://test.host/writefully/sites
111781
+ Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
111782
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
111783
+  (0.1ms) ROLLBACK
111784
+  (0.1ms) BEGIN
111785
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111786
+ Processing by Writefully::SitesController#create as HTML
111787
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
111788
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111789
+  (0.2ms) SAVEPOINT active_record_1
111790
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
111791
+ SQL (0.3ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111792
+  (0.1ms) RELEASE SAVEPOINT active_record_1
111793
+ Redirected to http://test.host/writefully/sites
111794
+ Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
111795
+  (0.2ms) ROLLBACK
111796
+  (0.1ms) BEGIN
111797
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
111798
+ Processing by Writefully::HooksController#create as HTML
111799
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111800
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
111801
+  (0.2ms) SAVEPOINT active_record_1
111802
+ SQL (0.8ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
111804
+ Completed 200 OK in 5ms (ActiveRecord: 1.8ms)
111805
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
111806
+  (0.2ms) ROLLBACK
111807
+  (0.1ms) BEGIN
111808
+ Processing by Writefully::HooksController#create as HTML
111809
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
111810
+  (0.2ms) ROLLBACK
111811
+  (0.1ms) BEGIN
111812
+ Processing by Writefully::HooksController#create as HTML
111813
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
111814
+  (0.1ms) ROLLBACK
111815
+  (0.1ms) BEGIN
111816
+  (0.1ms) ROLLBACK
111817
+  (0.1ms) BEGIN
111818
+  (0.1ms) ROLLBACK
111819
+  (0.1ms) BEGIN
111820
+  (0.1ms) ROLLBACK
111821
+  (0.1ms) BEGIN
111822
+  (0.1ms) ROLLBACK
111823
+  (0.1ms) BEGIN
111824
+  (0.1ms) ROLLBACK
111825
+  (0.1ms) BEGIN
111826
+  (0.1ms) ROLLBACK
111827
+  (0.1ms) BEGIN
111828
+  (0.1ms) ROLLBACK
111829
+  (0.1ms) BEGIN
111830
+  (0.2ms) ROLLBACK
111831
+  (0.1ms) BEGIN
111832
+  (0.1ms) ROLLBACK
111833
+  (0.1ms) BEGIN
111834
+  (0.1ms) ROLLBACK
111835
+  (0.1ms) BEGIN
111836
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111837
+ Writefully::Site Load (1.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
111838
+  (0.2ms) BEGIN
111839
+ SQL (0.9ms) UPDATE "writefully_sites" SET "processing" = $1, "healthy" = $2, "repository" = $3, "updated_at" = $4 WHERE "writefully_sites"."id" = 163715408 [["processing", false], ["healthy", true], ["repository", {:name=>"codemy-net", :id=>"1234", :hook_id=>"123"}], ["updated_at", Wed, 23 Apr 2014 22:47:56 UTC +00:00]]
111840
+  (0.4ms) COMMIT
111841
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111842
+  (0.1ms) ROLLBACK
111843
+  (0.4ms) ALTER TABLE "writefully_authorships" DISABLE TRIGGER ALL;ALTER TABLE "writefully_posts" DISABLE TRIGGER ALL;ALTER TABLE "writefully_sites" DISABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" DISABLE TRIGGER ALL;ALTER TABLE "writefully_tags" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
111844
+  (0.2ms) BEGIN
111845
+ Fixture Delete (0.2ms) DELETE FROM "writefully_sites"
111846
+ Fixture Insert (0.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 163715408, 785112356)
111847
+ Fixture Insert (0.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 653288584)
111848
+ Fixture Delete (0.3ms) DELETE FROM "writefully_posts"
111849
+ Fixture Insert (0.3ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id", "site_id") VALUES ('Ruby Hash Selector Pattern', 'hash-selector-pattern', 'Blah', 'Post', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 93356905, 163715408)
111850
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 456337813)
111851
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
111852
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 785112356)
111853
+ Fixture Insert (0.1ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 22:47:56', '2014-04-23 22:47:56', 935496864)
111854
+  (0.4ms) COMMIT
111855
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
111856
+  (0.1ms) BEGIN
111857
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111858
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111859
+ Processing by Writefully::PostsController#index as HTML
111860
+ Parameters: {"site_id"=>"codemy-net"}
111861
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111862
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111863
+ Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 1.1ms)
111864
+  (0.2ms) ROLLBACK
111865
+  (0.1ms) BEGIN
111866
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111867
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111868
+ Processing by Writefully::PostsController#index as HTML
111869
+ Parameters: {"site_id"=>"codemy-net"}
111870
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111871
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111872
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.6ms)
111873
+ Writefully::Post Load (0.5ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111874
+ Writefully::Post Exists (0.3ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
111875
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
111876
+ Writefully::Post Exists (0.5ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 456337813 LIMIT 1 [["site_id", 163715408]]
111877
+  (0.2ms) ROLLBACK
111878
+  (0.1ms) BEGIN
111879
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111880
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111881
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111882
+ Processing by Writefully::PostsController#show as HTML
111883
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
111884
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111885
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111886
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
111887
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
111888
+ Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.8ms)
111889
+  (0.2ms) ROLLBACK
111890
+  (0.1ms) BEGIN
111891
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111892
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111893
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111894
+ Processing by Writefully::PostsController#show as HTML
111895
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
111896
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
111897
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111898
+ Writefully::Post Load (0.5ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
111899
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
111900
+ Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.4ms)
111901
+  (0.2ms) ROLLBACK
111902
+  (0.1ms) BEGIN
111903
+  (0.1ms) ROLLBACK
111904
+  (0.1ms) BEGIN
111905
+  (0.1ms) ROLLBACK
111906
+  (0.2ms) BEGIN
111907
+  (0.1ms) ROLLBACK
111908
+  (0.1ms) BEGIN
111909
+  (0.1ms) ROLLBACK
111910
+  (0.1ms) BEGIN
111911
+  (0.1ms) ROLLBACK
111912
+  (0.1ms) BEGIN
111913
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111914
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-04-24 05:47:57 +0700
111915
+ Processing by Writefully::SitesController#index as HTML
111916
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
111917
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
111918
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.3ms)
111919
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.3ms)
111920
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (4.5ms)
111921
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.5ms)
111922
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (49.9ms)
111923
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (52.7ms)
111924
+ Completed 200 OK in 97ms (Views: 85.7ms | ActiveRecord: 1.0ms)
111925
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111926
+  (0.3ms) ROLLBACK
111927
+  (0.1ms) BEGIN
111928
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111929
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
111930
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-04-24 05:47:57 +0700
111931
+ Processing by Writefully::SitesController#show as HTML
111932
+ Parameters: {"id"=>"codemy-net"}
111933
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111934
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
111935
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
111936
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-04-24 05:47:57 +0700
111937
+ Processing by Writefully::PostsController#index as HTML
111938
+ Parameters: {"site_id"=>"codemy-net"}
111939
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
111940
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.6ms)
111941
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111942
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111943
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111944
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.0ms)
111945
+ Writefully::Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
111946
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.2ms)
111947
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (2.3ms)
111948
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111949
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
111950
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (0.9ms)
111951
+ Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.9ms)
111952
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
111953
+  (0.3ms) ROLLBACK
111954
+  (119.6ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
111955
+  (241.3ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
111956
+ SQL (1.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
111957
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "hstore"
111958
+  (5.8ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
111959
+  (0.9ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
111960
+  (2.7ms) CREATE TABLE "writefully_posts" ("id" serial primary key, "title" character varying(255), "slug" character varying(255), "type" character varying(255), "content" text, "details" hstore, "published_at" timestamp, "position" integer, "locale" character varying(255) DEFAULT 'en', "translation_source_id" integer, "site_id" integer, "authorship_id" integer, "created_at" timestamp, "updated_at" timestamp) 
111961
+  (0.8ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
111962
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
111963
+  (0.9ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
111964
+  (0.8ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
111965
+  (3.1ms) CREATE TABLE "writefully_sites" ("id" serial primary key, "name" character varying(255), "branch" character varying(255) DEFAULT 'master', "slug" character varying(255), "repository" hstore, "domain" character varying(255), "processing" boolean DEFAULT 't', "healthy" boolean DEFAULT 'f', "owner_id" integer, "created_at" timestamp, "updated_at" timestamp)
111966
+  (0.8ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
111967
+  (1.3ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
111968
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
111969
+  (1.8ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
111970
+  (0.8ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
111971
+  (0.7ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
111972
+  (2.4ms) CREATE TABLE "writefully_tags" ("id" serial primary key, "name" character varying(255), "slug" character varying(255), "type" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
111973
+  (0.7ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
111974
+  (0.8ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
111975
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
111976
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
111977
+  (0.2ms) SELECT version FROM "schema_migrations"
111978
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
111979
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
111980
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
111981
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
111982
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
111983
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
111984
+  (0.6ms) ALTER TABLE "writefully_authorships" DISABLE TRIGGER ALL;ALTER TABLE "writefully_posts" DISABLE TRIGGER ALL;ALTER TABLE "writefully_sites" DISABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" DISABLE TRIGGER ALL;ALTER TABLE "writefully_tags" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
111985
+  (0.2ms) BEGIN
111986
+ Fixture Delete (0.3ms) DELETE FROM "writefully_sites"
111987
+ Fixture Insert (1.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 163715408, 785112356)
111988
+ Fixture Insert (0.3ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 653288584)
111989
+ Fixture Delete (0.4ms) DELETE FROM "writefully_posts"
111990
+ Fixture Insert (0.6ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id", "site_id") VALUES ('Ruby Hash Selector Pattern', 'hash-selector-pattern', 'Blah', 'Post', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 93356905, 163715408)
111991
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 456337813)
111992
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
111993
+ Fixture Insert (0.4ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 785112356)
111994
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 935496864)
111995
+  (0.6ms) COMMIT
111996
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
111997
+  (0.1ms) BEGIN
111998
+ Writefully::Authorship Load (0.8ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
111999
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-04-24 05:50:45 +0700
112000
+ Processing by Writefully::SitesController#index as HTML
112001
+ Writefully::Site Exists (0.9ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112002
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
112003
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.3ms)
112004
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.2ms)
112005
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (3.3ms)
112006
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/index.html.erb within layouts/writefully/application (14.6ms)
112007
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.5ms)
112008
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112009
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (2.9ms)
112010
+ Completed 200 OK in 76ms (Views: 48.5ms | ActiveRecord: 1.4ms)
112011
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112012
+  (0.2ms) ROLLBACK
112013
+  (0.1ms) BEGIN
112014
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112015
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112016
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-04-24 05:50:45 +0700
112017
+ Processing by Writefully::SitesController#show as HTML
112018
+ Parameters: {"id"=>"codemy-net"}
112019
+ Writefully::Site Load (0.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112020
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
112021
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
112022
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-04-24 05:50:45 +0700
112023
+ Processing by Writefully::PostsController#index as HTML
112024
+ Parameters: {"site_id"=>"codemy-net"}
112025
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112026
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.5ms)
112027
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112028
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112029
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112030
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (1.9ms)
112031
+ Writefully::Post Load (0.8ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
112032
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.2ms)
112033
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (2.7ms)
112034
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (23.1ms)
112035
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112036
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112037
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.0ms)
112038
+ Completed 200 OK in 31ms (Views: 26.4ms | ActiveRecord: 1.1ms)
112039
+ Writefully::Post Load (0.7ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112040
+  (0.3ms) ROLLBACK
112041
+  (0.2ms) BEGIN
112042
+ Processing by Writefully::HooksController#create as HTML
112043
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
112044
+  (0.2ms) ROLLBACK
112045
+  (0.2ms) BEGIN
112046
+ Processing by Writefully::HooksController#create as HTML
112047
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
112048
+  (0.2ms) ROLLBACK
112049
+  (0.1ms) BEGIN
112050
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
112051
+ Processing by Writefully::HooksController#create as HTML
112052
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112053
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
112054
+  (0.2ms) SAVEPOINT active_record_1
112055
+ SQL (1.5ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
112057
+ Completed 200 OK in 8ms (ActiveRecord: 2.5ms)
112058
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
112059
+  (0.2ms) ROLLBACK
112060
+  (0.1ms) BEGIN
112061
+  (0.2ms) ROLLBACK
112062
+  (0.1ms) BEGIN
112063
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112064
+ Writefully::Site Load (1.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
112065
+  (0.2ms) BEGIN
112066
+ SQL (0.9ms) UPDATE "writefully_sites" SET "processing" = $1, "healthy" = $2, "repository" = $3, "updated_at" = $4 WHERE "writefully_sites"."id" = 163715408 [["processing", false], ["healthy", true], ["repository", {:name=>"codemy-net", :id=>"1234", :hook_id=>"123"}], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112067
+  (0.4ms) COMMIT
112068
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112069
+  (0.1ms) ROLLBACK
112070
+  (0.1ms) BEGIN
112071
+  (0.2ms) ROLLBACK
112072
+  (0.1ms) BEGIN
112073
+  (0.1ms) ROLLBACK
112074
+  (0.1ms) BEGIN
112075
+  (0.2ms) ROLLBACK
112076
+  (0.1ms) BEGIN
112077
+  (0.1ms) ROLLBACK
112078
+  (0.1ms) BEGIN
112079
+  (0.2ms) ROLLBACK
112080
+  (0.1ms) BEGIN
112081
+  (0.2ms) ROLLBACK
112082
+  (0.1ms) BEGIN
112083
+  (0.1ms) ROLLBACK
112084
+  (0.1ms) BEGIN
112085
+  (0.2ms) ROLLBACK
112086
+  (0.5ms) ALTER TABLE "writefully_authorships" DISABLE TRIGGER ALL;ALTER TABLE "writefully_posts" DISABLE TRIGGER ALL;ALTER TABLE "writefully_sites" DISABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" DISABLE TRIGGER ALL;ALTER TABLE "writefully_tags" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
112087
+  (0.2ms) BEGIN
112088
+ Fixture Delete (0.2ms) DELETE FROM "writefully_sites"
112089
+ Fixture Insert (0.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 163715408, 785112356)
112090
+ Fixture Insert (0.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 653288584)
112091
+ Fixture Delete (0.3ms) DELETE FROM "writefully_posts"
112092
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id", "site_id") VALUES ('Ruby Hash Selector Pattern', 'hash-selector-pattern', 'Blah', 'Post', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 93356905, 163715408)
112093
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 456337813)
112094
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
112095
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 785112356)
112096
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 22:50:45', '2014-04-23 22:50:45', 935496864)
112097
+  (0.4ms) COMMIT
112098
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
112099
+  (0.1ms) BEGIN
112100
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112101
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
112102
+ Processing by Writefully::SitesController#create as HTML
112103
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
112104
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112105
+  (0.2ms) SAVEPOINT active_record_1
112106
+ Writefully::Site Exists (0.9ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
112107
+ SQL (0.8ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112108
+  (0.2ms) RELEASE SAVEPOINT active_record_1
112109
+ Redirected to http://test.host/writefully/sites
112110
+ Completed 302 Found in 71ms (ActiveRecord: 2.3ms)
112111
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
112112
+  (0.2ms) ROLLBACK
112113
+  (0.2ms) BEGIN
112114
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112115
+ Processing by Writefully::SitesController#create as HTML
112116
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
112117
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112118
+  (0.2ms) SAVEPOINT active_record_1
112119
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
112120
+ SQL (0.7ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
112122
+ Redirected to http://test.host/writefully/sites
112123
+ Completed 302 Found in 6ms (ActiveRecord: 1.7ms)
112124
+  (0.2ms) ROLLBACK
112125
+  (0.1ms) BEGIN
112126
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112127
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112128
+ Processing by Writefully::SitesController#edit as HTML
112129
+ Parameters: {"id"=>"codemy-net"}
112130
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112131
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112132
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.7ms)
112133
+  (0.2ms) ROLLBACK
112134
+  (0.1ms) BEGIN
112135
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112136
+ Processing by Writefully::SitesController#new as HTML
112137
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112138
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.3ms)
112139
+  (0.2ms) ROLLBACK
112140
+  (0.1ms) BEGIN
112141
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112142
+ Processing by Writefully::SitesController#index as HTML
112143
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112144
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112145
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.7ms)
112146
+  (0.2ms) ROLLBACK
112147
+  (0.1ms) BEGIN
112148
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112149
+ Processing by Writefully::SitesController#index as HTML
112150
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112151
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112152
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.5ms)
112153
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112154
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 163715408 LIMIT 1 [["owner_id", 785112356]]
112155
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
112156
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
112157
+  (0.2ms) ROLLBACK
112158
+  (0.1ms) BEGIN
112159
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
112160
+ Processing by Writefully::SitesController#index as HTML
112161
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112162
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
112163
+ Redirected to http://test.host/writefully/sites/new
112164
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
112165
+  (0.2ms) ROLLBACK
112166
+  (0.1ms) BEGIN
112167
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112168
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112169
+ Processing by Writefully::SitesController#show as HTML
112170
+ Parameters: {"id"=>"codemy-net"}
112171
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112172
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112173
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
112174
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
112175
+  (0.2ms) ROLLBACK
112176
+  (0.1ms) BEGIN
112177
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112178
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112179
+ Processing by Writefully::SitesController#show as HTML
112180
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
112181
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112182
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112183
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.5ms)
112184
+  (0.2ms) ROLLBACK
112185
+  (0.1ms) BEGIN
112186
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112187
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112188
+ Processing by Writefully::SitesController#show as HTML
112189
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
112190
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112191
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112192
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
112193
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
112194
+  (0.2ms) ROLLBACK
112195
+  (0.1ms) BEGIN
112196
+  (0.1ms) ROLLBACK
112197
+  (0.1ms) BEGIN
112198
+  (0.1ms) ROLLBACK
112199
+  (0.1ms) BEGIN
112200
+  (0.2ms) ROLLBACK
112201
+  (0.1ms) BEGIN
112202
+  (0.1ms) ROLLBACK
112203
+  (0.1ms) BEGIN
112204
+  (0.1ms) ROLLBACK
112205
+  (0.1ms) BEGIN
112206
+  (0.1ms) ROLLBACK
112207
+  (0.1ms) BEGIN
112208
+  (0.1ms) ROLLBACK
112209
+  (0.1ms) BEGIN
112210
+  (0.1ms) ROLLBACK
112211
+  (0.1ms) BEGIN
112212
+  (0.1ms) ROLLBACK
112213
+  (0.1ms) BEGIN
112214
+  (0.2ms) ROLLBACK
112215
+  (0.1ms) BEGIN
112216
+  (0.2ms) ROLLBACK
112217
+  (0.1ms) BEGIN
112218
+  (0.1ms) ROLLBACK
112219
+  (0.1ms) BEGIN
112220
+  (0.3ms) ROLLBACK
112221
+  (0.1ms) BEGIN
112222
+  (0.2ms) ROLLBACK
112223
+  (0.2ms) BEGIN
112224
+  (0.1ms) ROLLBACK
112225
+  (0.1ms) BEGIN
112226
+  (0.2ms) ROLLBACK
112227
+  (0.1ms) BEGIN
112228
+  (0.1ms) ROLLBACK
112229
+  (0.1ms) BEGIN
112230
+  (0.1ms) ROLLBACK
112231
+  (0.1ms) BEGIN
112232
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
112233
+  (0.2ms) ROLLBACK
112234
+  (0.1ms) BEGIN
112235
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
112236
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
112237
+ Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'hash-selector-pattern' ORDER BY "writefully_posts"."id" ASC LIMIT 1
112238
+  (0.2ms) BEGIN
112239
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
112240
+ Class Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-04-23 22:50:45.756156','2014-04-23 22:50:45.756175') RETURNING "id"
112241
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
112242
+ Writefully::Tag Load (0.5ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
112243
+ Writefully::Tag Load (0.8ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" IS NULL AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
112244
+ SQL (0.9ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112245
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
112246
+ Class Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-04-23 22:50:45.782539','2014-04-23 22:50:45.782552') RETURNING "id"
112247
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
112248
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
112249
+ Writefully::Tag Load (0.6ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" = 'Playlist' AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
112250
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112251
+ SQL (0.6ms) UPDATE "writefully_posts" SET "slug" = $1, "details" = $2, "position" = $3, "content" = $4, "updated_at" = $5 WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."id" = 93356905 [["slug", "ruby-hash-selector-pattern"], ["details", {}], ["position", 1], ["content", "converted stuff"], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112252
+  (0.4ms) COMMIT
112253
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
112254
+  (0.2ms) ROLLBACK
112255
+  (0.1ms) BEGIN
112256
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
112257
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
112258
+ Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'rails-flash-partials' ORDER BY "writefully_posts"."id" ASC LIMIT 1
112259
+  (0.1ms) BEGIN
112260
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
112261
+ Class Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Rails','rails',NULL,'2014-04-23 22:50:45.805648','2014-04-23 22:50:45.805663') RETURNING "id"
112262
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
112263
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
112264
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
112265
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
112266
+ Writefully::Tag Load (0.2ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
112267
+ SQL (0.6ms) INSERT INTO "writefully_posts" ("content", "created_at", "details", "position", "site_id", "slug", "title", "type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content", "converted stuff"], ["created_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112268
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112269
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 22:50:45 UTC +00:00]]
112270
+  (0.3ms) COMMIT
112271
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
112272
+  (0.1ms) ROLLBACK
112273
+  (0.1ms) BEGIN
112274
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
112275
+  (0.1ms) ROLLBACK
112276
+  (0.1ms) BEGIN
112277
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
112278
+  (0.2ms) ROLLBACK
112279
+  (0.1ms) BEGIN
112280
+  (0.3ms) ROLLBACK
112281
+  (0.1ms) BEGIN
112282
+  (0.1ms) ROLLBACK
112283
+  (0.1ms) BEGIN
112284
+  (0.1ms) ROLLBACK
112285
+  (0.1ms) BEGIN
112286
+  (0.2ms) ROLLBACK
112287
+  (0.1ms) BEGIN
112288
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112289
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112290
+ Processing by Writefully::PostsController#index as HTML
112291
+ Parameters: {"site_id"=>"codemy-net"}
112292
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112293
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112294
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.6ms)
112295
+  (0.2ms) ROLLBACK
112296
+  (0.1ms) BEGIN
112297
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112298
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112299
+ Processing by Writefully::PostsController#index as HTML
112300
+ Parameters: {"site_id"=>"codemy-net"}
112301
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112302
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112303
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.5ms)
112304
+ Writefully::Post Load (0.5ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112305
+ Writefully::Post Exists (0.4ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
112306
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
112307
+ Writefully::Post Exists (0.4ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 456337813 LIMIT 1 [["site_id", 163715408]]
112308
+  (0.2ms) ROLLBACK
112309
+  (0.1ms) BEGIN
112310
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112311
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112312
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112313
+ Processing by Writefully::PostsController#show as HTML
112314
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
112315
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112316
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112317
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
112318
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
112319
+ Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.4ms)
112320
+  (0.2ms) ROLLBACK
112321
+  (0.1ms) BEGIN
112322
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112323
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112324
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112325
+ Processing by Writefully::PostsController#show as HTML
112326
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
112327
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112328
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
112329
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
112330
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
112331
+ Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)
112332
+  (0.2ms) ROLLBACK
112333
+  (0.1ms) BEGIN
112334
+  (0.1ms) ROLLBACK
112335
+  (0.1ms) BEGIN
112336
+  (0.1ms) ROLLBACK
112337
+  (0.1ms) BEGIN
112338
+  (0.2ms) ROLLBACK
112339
+  (0.1ms) BEGIN
112340
+  (0.1ms) ROLLBACK
112341
+  (0.1ms) BEGIN
112342
+  (0.1ms) ROLLBACK