writefully 0.4.10 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/writefully/loading-bubbles.svg +14 -0
  3. data/app/assets/javascripts/writefully/writefully/initializers/manifest.coffee +5 -5
  4. data/app/assets/javascripts/writefully/writefully/initializers/setup.coffee +1 -1
  5. data/app/assets/javascripts/writefully/writefully/services/autosave.coffee +8 -0
  6. data/app/assets/stylesheets/writefully/base.sass +16 -1
  7. data/app/assets/stylesheets/writefully/profiles.sass +3 -0
  8. data/app/assets/stylesheets/writefully/sites.sass +0 -4
  9. data/app/assets/stylesheets/writefully/writefully.sass +2 -0
  10. data/app/controllers/writefully/profiles_controller.rb +12 -0
  11. data/app/models/writefully/authorship.rb +1 -1
  12. data/app/models/writefully/post.rb +1 -1
  13. data/app/views/writefully/application/_navigation.html.erb +2 -5
  14. data/app/views/writefully/application/_super_admin.html.erb +4 -0
  15. data/app/views/writefully/profiles/_form.html.erb +17 -0
  16. data/app/views/writefully/profiles/edit.html.erb +11 -0
  17. data/app/views/writefully/sites/new.html.erb +1 -1
  18. data/config/routes.rb +2 -1
  19. data/db/migrate/20140501094825_add_trashed_to_posts.rb +5 -0
  20. data/lib/writefully/cli.rb +1 -1
  21. data/lib/writefully/loader.rb +7 -2
  22. data/lib/writefully/postable.rb +22 -0
  23. data/lib/writefully/process.rb +9 -3
  24. data/lib/writefully/taxon.rb +52 -1
  25. data/lib/writefully/tools/dispatcher.rb +1 -1
  26. data/lib/writefully/tools/eraser.rb +16 -0
  27. data/lib/writefully/tools/pencil.rb +4 -34
  28. data/lib/writefully/tools/stationery.rb +42 -0
  29. data/lib/writefully/tools.rb +1 -0
  30. data/lib/writefully/version.rb +1 -1
  31. data/lib/writefully/workers/journalist.rb +2 -0
  32. data/spec/controllers/writefully/authorships_controller_spec.rb +7 -0
  33. data/spec/controllers/writefully/profiles_controller_spec.rb +7 -0
  34. data/spec/dummy/content/codemy-net/posts/1-hash-selector-pattern/meta.yml +0 -1
  35. data/spec/dummy/content/codemy-net/posts/2-rails-flash-partials/meta.yml +0 -1
  36. data/spec/dummy/db/schema.rb +2 -1
  37. data/spec/dummy/log/development.log +70 -0
  38. data/spec/dummy/log/test.log +2316 -0
  39. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_alerts.scssc +0 -0
  40. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_background-variant.scssc +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_border-radius.scssc +0 -0
  42. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_buttons.scssc +0 -0
  43. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_center-block.scssc +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_clearfix.scssc +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_forms.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_gradients.scssc +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_grid-framework.scssc +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_grid.scssc +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_hide-text.scssc +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_image.scssc +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_labels.scssc +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_list-group.scssc +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_nav-divider.scssc +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_nav-vertical-align.scssc +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_opacity.scssc +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_pagination.scssc +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_panels.scssc +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_progress-bar.scssc +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_reset-filter.scssc +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_resize.scssc +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_responsive-visibility.scssc +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_size.scssc +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_tab-focus.scssc +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_table-row.scssc +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_text-emphasis.scssc +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_text-overflow.scssc +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sass/2214915388977a1da0d5bf83510616733a1df75d/_vendor-prefixes.scssc +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_alerts.scssc +0 -0
  69. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_badges.scssc +0 -0
  70. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_breadcrumbs.scssc +0 -0
  71. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_button-groups.scssc +0 -0
  72. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_buttons.scssc +0 -0
  73. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_carousel.scssc +0 -0
  74. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_close.scssc +0 -0
  75. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_code.scssc +0 -0
  76. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_component-animations.scssc +0 -0
  77. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_dropdowns.scssc +0 -0
  78. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_forms.scssc +0 -0
  79. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_glyphicons.scssc +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_grid.scssc +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_input-groups.scssc +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_jumbotron.scssc +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_labels.scssc +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_list-group.scssc +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_media.scssc +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_mixins.scssc +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_modals.scssc +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_navbar.scssc +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_navs.scssc +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_normalize.scssc +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_pager.scssc +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_pagination.scssc +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_panels.scssc +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_popovers.scssc +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_print.scssc +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_progress-bars.scssc +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_responsive-embed.scssc +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_responsive-utilities.scssc +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_scaffolding.scssc +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_tables.scssc +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_thumbnails.scssc +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_tooltip.scssc +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_type.scssc +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_utilities.scssc +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_variables.scssc +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sass/4e0ec03be757f8083cd0b7f1d18721d9c08da7d6/_wells.scssc +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/base.sassc +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/profiles.sassc +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/sessions.sassc +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/sites.sassc +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sass/77bc3b7f842c905df4dddb7e3ac7b7cf15d9035b/writefully.sassc +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sass/af039d23726606ef9c96e50dbc4f6a7893b20f53/bootstrap.scssc +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/064b3076e29f54ea572ca43d6c5950cc +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/3063f229c5edc0e8a3d82d7bf78024de +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/31c84f37a0c92c38be6459f19997c981 +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/4684201e9a7b66017ea250f0d7fd06e2 +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/81e4a723953d063ec006596c9f2fb1ef +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/82b92bb7c88523dc617b3c0c877aeade +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/8d225befd9f2c5c3ef1ff73591bea154 +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/98223bde155ccb586e710444611aabb4 +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/9b9ee2a899dd8b3bfa592fba44ebf8d2 +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/a8b93e1f061f64547b92633c5bde6b13 +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/abf4fd7235880434a75a35635e4fb67a +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/adae8faa21b116471ec4285998d3f3cf +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/b83537e814e13cf03642ccc3d90fda13 +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/c1208bf8d0e9714161d8e6ae61781efc +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/d10e06dee94ddaa562f7df319407bf18 +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/d1238ae38ca7b9522d86d67ee367223e +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/d2c2fff5893ce8979ca48bab1c6f1c3a +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sprockets/d70cdda3055dc0a1d8b8e40baa559146 +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sprockets/d9930581c13e892e69359a33854d7af4 +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sprockets/e784991cbb1dab2f65db11cc0381b11d +0 -0
  133. data/spec/lib/writefully/content_spec.rb +0 -1
  134. data/spec/lib/writefully/tools/pencil_spec.rb +2 -2
  135. metadata +171 -3
  136. data/lib/writefully/workers_helpers.rb +0 -7
@@ -112340,3 +112340,2319 @@ Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)
112340
112340
   (0.1ms) ROLLBACK
112341
112341
   (0.1ms) BEGIN
112342
112342
   (0.1ms) ROLLBACK
112343
+  (252.5ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
112344
+  (344.0ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
112345
+ SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
112346
+ SQL (33.4ms) CREATE EXTENSION IF NOT EXISTS "hstore"
112347
+  (113.4ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
112348
+  (1.3ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
112349
+  (5.5ms) 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, "trashed" boolean DEFAULT 'f') 
112350
+  (1.2ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
112351
+  (1.2ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
112352
+  (1.3ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
112353
+  (1.0ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
112354
+  (4.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)
112355
+  (1.0ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
112356
+  (2.4ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
112357
+  (1.1ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
112358
+  (2.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
112359
+  (0.9ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
112360
+  (0.9ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
112361
+  (3.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) 
112362
+  (1.0ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
112363
+  (1.0ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
112364
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
112365
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
112366
+  (0.5ms) SELECT version FROM "schema_migrations"
112367
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501094825')
112368
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
112369
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
112370
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
112371
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
112372
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
112373
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
112374
+  (0.3ms) BEGIN
112375
+  (0.2ms) ROLLBACK
112376
+  (0.1ms) BEGIN
112377
+  (0.3ms) ROLLBACK
112378
+  (0.1ms) BEGIN
112379
+  (0.3ms) ROLLBACK
112380
+  (0.2ms) BEGIN
112381
+  (0.1ms) ROLLBACK
112382
+  (0.1ms) BEGIN
112383
+  (0.2ms) ROLLBACK
112384
+  (0.2ms) BEGIN
112385
+  (0.2ms) ROLLBACK
112386
+  (0.1ms) BEGIN
112387
+  (0.2ms) ROLLBACK
112388
+  (0.1ms) BEGIN
112389
+  (0.2ms) ROLLBACK
112390
+  (0.1ms) BEGIN
112391
+  (0.1ms) ROLLBACK
112392
+  (0.1ms) BEGIN
112393
+  (0.2ms) ROLLBACK
112394
+  (0.1ms) BEGIN
112395
+  (0.1ms) ROLLBACK
112396
+  (0.1ms) BEGIN
112397
+  (0.2ms) ROLLBACK
112398
+  (1.3ms) 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
112399
+  (0.2ms) BEGIN
112400
+ Fixture Delete (0.6ms) DELETE FROM "writefully_sites"
112401
+ Fixture Insert (2.0ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-05-06 06:26:56', '2014-05-06 06:26:56', 163715408, 785112356)
112402
+ Fixture Insert (0.4ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-05-06 06:26:56', '2014-05-06 06:26:56', 653288584)
112403
+ Fixture Delete (0.8ms) DELETE FROM "writefully_posts"
112404
+ 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-05-06 06:26:56', '2014-05-06 06:26:56', 93356905, 163715408)
112405
+ Fixture Insert (0.3ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:26:56', '2014-05-06 06:26:56', 456337813)
112406
+ Fixture Delete (0.4ms) DELETE FROM "writefully_authorships"
112407
+ Fixture Insert (0.5ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-05-06 06:26:56', '2014-05-06 06:26:56', 785112356)
112408
+ 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-05-06 06:26:56', '2014-05-06 06:26:56', 935496864)
112409
+  (0.5ms) COMMIT
112410
+  (0.3ms) 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
112411
+  (0.1ms) BEGIN
112412
+ Writefully::Authorship Load (0.9ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112413
+ Writefully::Site Load (1.0ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112414
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-05-06 13:26:56 +0700
112415
+ Processing by Writefully::SitesController#show as HTML
112416
+ Parameters: {"id"=>"codemy-net"}
112417
+ Writefully::Site Load (2.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]]
112418
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
112419
+ Completed 302 Found in 24ms (ActiveRecord: 2.2ms)
112420
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-05-06 13:26:56 +0700
112421
+ Processing by Writefully::PostsController#index as HTML
112422
+ Parameters: {"site_id"=>"codemy-net"}
112423
+ 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]]
112424
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.7ms)
112425
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.6ms)
112426
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112427
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112428
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (4.1ms)
112429
+ Writefully::Post Load (1.0ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
112430
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.6ms)
112431
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (4.0ms)
112432
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (32.2ms)
112433
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.9ms)
112434
+ Completed 200 OK in 2106ms (Views: 2100.2ms | ActiveRecord: 1.6ms)
112435
+ Writefully::Post Load (0.8ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112436
+  (0.4ms) ROLLBACK
112437
+  (0.1ms) BEGIN
112438
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112439
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-05-06 13:26:58 +0700
112440
+ Processing by Writefully::SitesController#index as HTML
112441
+ Writefully::Site Exists (0.9ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112442
+ Writefully::Site Load (0.9ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
112443
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.6ms)
112444
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.4ms)
112445
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (6.0ms)
112446
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/index.html.erb within layouts/writefully/application (10.1ms)
112447
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (0.7ms)
112448
+ Completed 200 OK in 28ms (Views: 15.6ms | ActiveRecord: 1.8ms)
112449
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112450
+  (0.3ms) ROLLBACK
112451
+  (0.1ms) BEGIN
112452
+  (0.2ms) ROLLBACK
112453
+  (0.1ms) BEGIN
112454
+  (0.2ms) ROLLBACK
112455
+  (0.1ms) BEGIN
112456
+  (0.2ms) ROLLBACK
112457
+  (0.1ms) BEGIN
112458
+  (0.2ms) ROLLBACK
112459
+  (0.1ms) BEGIN
112460
+  (0.2ms) ROLLBACK
112461
+  (0.1ms) BEGIN
112462
+  (0.2ms) ROLLBACK
112463
+  (0.1ms) BEGIN
112464
+  (0.2ms) ROLLBACK
112465
+  (0.1ms) BEGIN
112466
+  (0.2ms) ROLLBACK
112467
+  (0.1ms) BEGIN
112468
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112469
+ Writefully::Site Load (1.9ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
112470
+  (0.1ms) BEGIN
112471
+ SQL (3.5ms) 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", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112472
+  (0.4ms) COMMIT
112473
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112474
+  (0.2ms) ROLLBACK
112475
+  (0.7ms) 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
112476
+  (0.2ms) BEGIN
112477
+ Fixture Delete (0.4ms) DELETE FROM "writefully_sites"
112478
+ Fixture Insert (0.4ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-05-06 06:26:58', '2014-05-06 06:26:58', 163715408, 785112356)
112479
+ 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-05-06 06:26:58', '2014-05-06 06:26:58', 653288584)
112480
+ Fixture Delete (0.8ms) DELETE FROM "writefully_posts"
112481
+ 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-05-06 06:26:58', '2014-05-06 06:26:58', 93356905, 163715408)
112482
+ Fixture Insert (0.7ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:26:58', '2014-05-06 06:26:58', 456337813)
112483
+  (0.5ms) COMMIT
112484
+  (0.3ms) 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
112485
+  (0.1ms) BEGIN
112486
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
112487
+  (0.2ms) ROLLBACK
112488
+  (0.1ms) BEGIN
112489
+ Writefully::Site Load (1.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
112490
+  (0.2ms) ROLLBACK
112491
+  (0.1ms) BEGIN
112492
+ 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
112493
+  (0.1ms) ROLLBACK
112494
+  (0.1ms) BEGIN
112495
+ 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
112496
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
112497
+ Post Load (0.8ms) 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
112498
+  (0.2ms) BEGIN
112499
+  (0.7ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
112500
+ Class Create Many Without Validations Or Callbacks (2.1ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Rails','rails',NULL,'2014-05-06 06:26:58.690077','2014-05-06 06:26:58.690102') RETURNING "id"
112501
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
112502
+ Writefully::Tag Load (1.0ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
112503
+  (0.7ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
112504
+ 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'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-05-06 06:26:58.729529','2014-05-06 06:26:58.729545') RETURNING "id"
112505
+  (0.5ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
112506
+ Writefully::Tag Load (0.4ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
112507
+ SQL (1.2ms) 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", Tue, 06 May 2014 06:26:58 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112508
+ SQL (2.0ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:26:58 UTC +00:00], ["post_id", 456337814], ["tag_id", 1], ["updated_at", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112509
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:26:58 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112510
+  (0.5ms) COMMIT
112511
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
112512
+  (0.2ms) ROLLBACK
112513
+  (0.1ms) BEGIN
112514
+ 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
112515
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
112516
+ Post Load (0.5ms) 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
112517
+  (0.2ms) BEGIN
112518
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
112519
+ 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'),'Ruby','ruby',NULL,'2014-05-06 06:26:58.760020','2014-05-06 06:26:58.760035') RETURNING "id"
112520
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
112521
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
112522
+ Writefully::Tag Load (0.9ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
112523
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:26:58 UTC +00:00], ["post_id", 93356905], ["tag_id", 3], ["updated_at", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112524
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
112525
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
112526
+ Writefully::Tag Load (0.4ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
112527
+ Writefully::Tag Load (0.7ms) 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]]
112528
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:26:58 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112529
+ SQL (1.0ms) 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", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112530
+  (0.4ms) COMMIT
112531
+  (0.5ms) SELECT COUNT(*) FROM "writefully_posts"
112532
+  (0.2ms) ROLLBACK
112533
+  (0.2ms) BEGIN
112534
+  (0.2ms) ROLLBACK
112535
+  (0.3ms) 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
112536
+  (0.2ms) BEGIN
112537
+ Fixture Delete (0.5ms) DELETE FROM "writefully_authorships"
112538
+ Fixture Insert (0.3ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-05-06 06:26:58', '2014-05-06 06:26:58', 785112356)
112539
+ Fixture Insert (0.3ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-05-06 06:26:58', '2014-05-06 06:26:58', 935496864)
112540
+  (0.5ms) COMMIT
112541
+  (0.3ms) 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
112542
+  (0.1ms) BEGIN
112543
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112544
+ Processing by Writefully::SitesController#new as HTML
112545
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112546
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/new.html.erb within layouts/writefully/application (0.4ms)
112547
+ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.5ms)
112548
+  (0.2ms) ROLLBACK
112549
+  (0.1ms) BEGIN
112550
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112551
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112552
+ Processing by Writefully::SitesController#show as HTML
112553
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
112554
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112555
+ Writefully::Site Load (1.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]]
112556
+ Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 1.6ms)
112557
+  (0.2ms) ROLLBACK
112558
+  (0.1ms) BEGIN
112559
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112560
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112561
+ Processing by Writefully::SitesController#show as HTML
112562
+ Parameters: {"id"=>"codemy-net"}
112563
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112564
+ 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]]
112565
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
112566
+ Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
112567
+  (0.2ms) ROLLBACK
112568
+  (0.2ms) BEGIN
112569
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112570
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112571
+ Processing by Writefully::SitesController#show as HTML
112572
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
112573
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112574
+ 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]]
112575
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
112576
+ Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
112577
+  (0.2ms) ROLLBACK
112578
+  (0.1ms) BEGIN
112579
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112580
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112581
+ Processing by Writefully::SitesController#edit as HTML
112582
+ Parameters: {"id"=>"codemy-net"}
112583
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112584
+ 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]]
112585
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.8ms)
112586
+  (0.2ms) ROLLBACK
112587
+  (0.1ms) BEGIN
112588
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112589
+ Processing by Writefully::SitesController#create as HTML
112590
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
112591
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112592
+  (0.2ms) SAVEPOINT active_record_1
112593
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
112594
+ 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", Tue, 06 May 2014 06:26:58 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112595
+  (0.3ms) RELEASE SAVEPOINT active_record_1
112596
+ Redirected to http://test.host/writefully/sites
112597
+ Completed 302 Found in 7ms (ActiveRecord: 2.0ms)
112598
+  (0.2ms) ROLLBACK
112599
+  (0.1ms) BEGIN
112600
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112601
+  (0.4ms) SELECT COUNT(*) FROM "writefully_sites"
112602
+ Processing by Writefully::SitesController#create as HTML
112603
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
112604
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112605
+  (0.2ms) SAVEPOINT active_record_1
112606
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
112607
+ 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", Tue, 06 May 2014 06:26:58 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112608
+  (0.2ms) RELEASE SAVEPOINT active_record_1
112609
+ Redirected to http://test.host/writefully/sites
112610
+ Completed 302 Found in 8ms (ActiveRecord: 2.0ms)
112611
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
112612
+  (0.2ms) ROLLBACK
112613
+  (0.1ms) BEGIN
112614
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
112615
+ Processing by Writefully::SitesController#index as HTML
112616
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112617
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
112618
+ Redirected to http://test.host/writefully/sites/new
112619
+ Completed 302 Found in 2ms (ActiveRecord: 0.9ms)
112620
+  (0.2ms) ROLLBACK
112621
+  (0.1ms) BEGIN
112622
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112623
+ Processing by Writefully::SitesController#index as HTML
112624
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112625
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112626
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)
112627
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112628
+ 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]]
112629
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
112630
+ 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]]
112631
+  (0.2ms) ROLLBACK
112632
+  (0.1ms) BEGIN
112633
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112634
+ Processing by Writefully::SitesController#index as HTML
112635
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112636
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112637
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.6ms)
112638
+  (0.2ms) ROLLBACK
112639
+  (0.1ms) BEGIN
112640
+  (0.2ms) ROLLBACK
112641
+  (0.1ms) BEGIN
112642
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112643
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112644
+ Writefully::Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112645
+ Processing by Writefully::PostsController#show as HTML
112646
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
112647
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112648
+ 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]]
112649
+ 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]]
112650
+ 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"]]
112651
+ Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 2.7ms)
112652
+  (0.3ms) ROLLBACK
112653
+  (0.1ms) BEGIN
112654
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112655
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112656
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112657
+ Processing by Writefully::PostsController#show as HTML
112658
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
112659
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112660
+ 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]]
112661
+ 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]]
112662
+ 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"]]
112663
+ Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 1.7ms)
112664
+  (0.2ms) ROLLBACK
112665
+  (0.1ms) BEGIN
112666
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112667
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112668
+ Processing by Writefully::PostsController#index as HTML
112669
+ Parameters: {"site_id"=>"codemy-net"}
112670
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112671
+ 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]]
112672
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.7ms)
112673
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112674
+ 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]]
112675
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
112676
+ Writefully::Post Exists (0.6ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 456337813 LIMIT 1 [["site_id", 163715408]]
112677
+  (0.1ms) ROLLBACK
112678
+  (0.1ms) BEGIN
112679
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112680
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112681
+ Processing by Writefully::PostsController#index as HTML
112682
+ Parameters: {"site_id"=>"codemy-net"}
112683
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112684
+ 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]]
112685
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.6ms)
112686
+  (0.2ms) ROLLBACK
112687
+  (0.1ms) BEGIN
112688
+  (0.2ms) ROLLBACK
112689
+  (0.1ms) BEGIN
112690
+  (0.1ms) ROLLBACK
112691
+  (0.1ms) BEGIN
112692
+  (0.2ms) ROLLBACK
112693
+  (0.1ms) BEGIN
112694
+  (0.2ms) ROLLBACK
112695
+  (0.1ms) BEGIN
112696
+ Processing by Writefully::HooksController#create as HTML
112697
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
112698
+  (0.2ms) ROLLBACK
112699
+  (0.1ms) BEGIN
112700
+ Processing by Writefully::HooksController#create as HTML
112701
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
112702
+  (0.2ms) ROLLBACK
112703
+  (0.2ms) BEGIN
112704
+  (0.4ms) SELECT COUNT(*) FROM "writefully_authorships"
112705
+ Processing by Writefully::HooksController#create as HTML
112706
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112707
+  (0.2ms) SELECT COUNT(*) FROM "writefully_authorships"
112708
+  (0.1ms) SAVEPOINT active_record_1
112709
+ SQL (0.7ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:26:58 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Tue, 06 May 2014 06:26:58 UTC +00:00]]
112710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
112711
+ Completed 200 OK in 6ms (ActiveRecord: 1.9ms)
112712
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
112713
+  (0.2ms) ROLLBACK
112714
+  (0.1ms) BEGIN
112715
+  (0.2ms) ROLLBACK
112716
+  (0.1ms) BEGIN
112717
+  (0.1ms) ROLLBACK
112718
+  (0.1ms) BEGIN
112719
+  (0.1ms) ROLLBACK
112720
+  (0.1ms) BEGIN
112721
+  (0.1ms) ROLLBACK
112722
+  (0.1ms) BEGIN
112723
+  (0.2ms) ROLLBACK
112724
+  (0.1ms) BEGIN
112725
+  (0.2ms) ROLLBACK
112726
+  (0.1ms) BEGIN
112727
+  (0.1ms) ROLLBACK
112728
+  (0.1ms) BEGIN
112729
+  (0.1ms) ROLLBACK
112730
+  (0.1ms) BEGIN
112731
+  (0.2ms) ROLLBACK
112732
+  (0.1ms) BEGIN
112733
+  (0.2ms) ROLLBACK
112734
+  (116.1ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
112735
+  (237.5ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
112736
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
112737
+ SQL (38.8ms) CREATE EXTENSION IF NOT EXISTS "hstore"
112738
+  (5.9ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
112739
+  (1.1ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
112740
+  (6.4ms) 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, "trashed" boolean DEFAULT 'f') 
112741
+  (1.3ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
112742
+  (1.1ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
112743
+  (1.4ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
112744
+  (0.9ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
112745
+  (4.7ms) 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)
112746
+  (1.1ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
112747
+  (1.2ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
112748
+  (1.1ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
112749
+  (2.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
112750
+  (0.9ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
112751
+  (0.9ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
112752
+  (3.6ms) 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) 
112753
+  (1.3ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
112754
+  (1.3ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
112755
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
112756
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
112757
+  (0.6ms) SELECT version FROM "schema_migrations"
112758
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501094825')
112759
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
112760
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
112761
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
112762
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
112763
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
112764
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
112765
+  (0.3ms) BEGIN
112766
+  (0.4ms) ROLLBACK
112767
+  (0.2ms) BEGIN
112768
+  (0.2ms) ROLLBACK
112769
+  (0.1ms) BEGIN
112770
+  (0.2ms) ROLLBACK
112771
+  (0.1ms) BEGIN
112772
+  (0.2ms) ROLLBACK
112773
+  (0.2ms) BEGIN
112774
+  (0.3ms) ROLLBACK
112775
+  (0.5ms) BEGIN
112776
+  (0.3ms) ROLLBACK
112777
+  (0.2ms) BEGIN
112778
+  (0.2ms) ROLLBACK
112779
+  (0.1ms) BEGIN
112780
+  (0.1ms) ROLLBACK
112781
+  (0.1ms) BEGIN
112782
+  (0.2ms) ROLLBACK
112783
+  (0.1ms) BEGIN
112784
+  (0.1ms) ROLLBACK
112785
+  (0.7ms) 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
112786
+  (0.2ms) BEGIN
112787
+ Fixture Delete (1.1ms) DELETE FROM "writefully_sites"
112788
+ Fixture Insert (2.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-05-06 06:28:17', '2014-05-06 06:28:17', 163715408, 785112356)
112789
+ Fixture Insert (0.4ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-05-06 06:28:17', '2014-05-06 06:28:17', 653288584)
112790
+ Fixture Delete (0.6ms) DELETE FROM "writefully_posts"
112791
+ 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-05-06 06:28:17', '2014-05-06 06:28:17', 93356905, 163715408)
112792
+ Fixture Insert (0.3ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:28:17', '2014-05-06 06:28:17', 456337813)
112793
+ Fixture Delete (0.4ms) DELETE FROM "writefully_authorships"
112794
+ Fixture Insert (0.5ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-05-06 06:28:17', '2014-05-06 06:28:17', 785112356)
112795
+ 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-05-06 06:28:17', '2014-05-06 06:28:17', 935496864)
112796
+  (0.4ms) COMMIT
112797
+  (0.3ms) 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
112798
+  (0.1ms) BEGIN
112799
+ Writefully::Authorship Load (1.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112800
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-05-06 13:28:17 +0700
112801
+ Processing by Writefully::SitesController#index as HTML
112802
+ Writefully::Site Exists (1.0ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112803
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
112804
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.2ms)
112805
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.2ms)
112806
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (3.1ms)
112807
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/index.html.erb within layouts/writefully/application (14.5ms)
112808
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.0ms)
112809
+ Completed 200 OK in 100ms (Views: 46.5ms | ActiveRecord: 1.7ms)
112810
+ Writefully::Site Load (1.0ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112811
+  (0.2ms) ROLLBACK
112812
+  (0.2ms) BEGIN
112813
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112814
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112815
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-05-06 13:28:17 +0700
112816
+ Processing by Writefully::SitesController#show as HTML
112817
+ Parameters: {"id"=>"codemy-net"}
112818
+ Writefully::Site Load (1.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]]
112819
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
112820
+ Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
112821
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-05-06 13:28:17 +0700
112822
+ Processing by Writefully::PostsController#index as HTML
112823
+ Parameters: {"site_id"=>"codemy-net"}
112824
+ 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]]
112825
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.6ms)
112826
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.4ms)
112827
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112828
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
112829
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.7ms)
112830
+ Writefully::Post Load (0.9ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
112831
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.2ms)
112832
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (2.4ms)
112833
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (9.5ms)
112834
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (0.4ms)
112835
+ Completed 200 OK in 17ms (Views: 12.1ms | ActiveRecord: 1.4ms)
112836
+ Writefully::Post Load (0.7ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
112837
+  (0.3ms) ROLLBACK
112838
+  (0.1ms) BEGIN
112839
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112840
+ Writefully::Site Load (1.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
112841
+  (0.2ms) BEGIN
112842
+ SQL (2.1ms) 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", Tue, 06 May 2014 06:28:17 UTC +00:00]]
112843
+  (1.5ms) COMMIT
112844
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112845
+  (0.2ms) ROLLBACK
112846
+  (0.1ms) BEGIN
112847
+  (0.2ms) ROLLBACK
112848
+  (0.1ms) BEGIN
112849
+  (0.1ms) ROLLBACK
112850
+  (0.1ms) BEGIN
112851
+  (0.2ms) ROLLBACK
112852
+  (0.1ms) BEGIN
112853
+  (0.2ms) ROLLBACK
112854
+  (0.1ms) BEGIN
112855
+  (0.2ms) ROLLBACK
112856
+  (0.1ms) BEGIN
112857
+  (0.2ms) ROLLBACK
112858
+  (0.1ms) BEGIN
112859
+ Processing by Writefully::HooksController#create as HTML
112860
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
112861
+  (0.2ms) ROLLBACK
112862
+  (0.2ms) BEGIN
112863
+  (0.4ms) SELECT COUNT(*) FROM "writefully_authorships"
112864
+ Processing by Writefully::HooksController#create as HTML
112865
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112866
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
112867
+  (0.2ms) SAVEPOINT active_record_1
112868
+ SQL (0.9ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:28:18 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Tue, 06 May 2014 06:28:18 UTC +00:00]]
112869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
112870
+ Completed 200 OK in 5ms (ActiveRecord: 2.1ms)
112871
+  (0.2ms) SELECT COUNT(*) FROM "writefully_authorships"
112872
+  (0.2ms) ROLLBACK
112873
+  (0.1ms) BEGIN
112874
+ Processing by Writefully::HooksController#create as HTML
112875
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
112876
+  (0.1ms) ROLLBACK
112877
+  (0.1ms) BEGIN
112878
+  (0.2ms) ROLLBACK
112879
+  (0.1ms) BEGIN
112880
+  (0.1ms) ROLLBACK
112881
+  (0.1ms) BEGIN
112882
+  (0.2ms) ROLLBACK
112883
+  (0.1ms) BEGIN
112884
+  (0.2ms) ROLLBACK
112885
+  (0.1ms) BEGIN
112886
+  (0.2ms) ROLLBACK
112887
+  (0.1ms) BEGIN
112888
+  (0.2ms) ROLLBACK
112889
+  (0.1ms) BEGIN
112890
+  (0.1ms) ROLLBACK
112891
+  (0.1ms) BEGIN
112892
+  (0.1ms) ROLLBACK
112893
+  (0.1ms) BEGIN
112894
+  (0.2ms) ROLLBACK
112895
+  (0.1ms) BEGIN
112896
+  (0.3ms) ROLLBACK
112897
+  (0.1ms) BEGIN
112898
+  (0.1ms) ROLLBACK
112899
+  (0.1ms) BEGIN
112900
+  (0.1ms) ROLLBACK
112901
+  (0.1ms) BEGIN
112902
+  (0.1ms) ROLLBACK
112903
+  (0.1ms) BEGIN
112904
+  (0.1ms) ROLLBACK
112905
+  (0.1ms) BEGIN
112906
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112907
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112908
+ Processing by Writefully::SitesController#edit as HTML
112909
+ Parameters: {"id"=>"codemy-net"}
112910
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112911
+ 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]]
112912
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.8ms)
112913
+  (0.2ms) ROLLBACK
112914
+  (0.7ms) 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
112915
+  (0.2ms) BEGIN
112916
+ Fixture Delete (0.2ms) DELETE FROM "writefully_sites"
112917
+ 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-05-06 06:28:18', '2014-05-06 06:28:18', 163715408, 785112356)
112918
+ 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-05-06 06:28:18', '2014-05-06 06:28:18', 653288584)
112919
+ Fixture Delete (0.5ms) DELETE FROM "writefully_posts"
112920
+ 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-05-06 06:28:18', '2014-05-06 06:28:18', 93356905, 163715408)
112921
+ 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-05-06 06:28:18', '2014-05-06 06:28:18', 456337813)
112922
+ Fixture Delete (0.4ms) DELETE FROM "writefully_authorships"
112923
+ 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-05-06 06:28:18', '2014-05-06 06:28:18', 785112356)
112924
+ 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-05-06 06:28:18', '2014-05-06 06:28:18', 935496864)
112925
+  (1.7ms) COMMIT
112926
+  (0.4ms) 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
112927
+  (0.1ms) BEGIN
112928
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112929
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112930
+ Processing by Writefully::SitesController#show as HTML
112931
+ Parameters: {"id"=>"codemy-net"}
112932
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112933
+ 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]]
112934
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
112935
+ Completed 302 Found in 3ms (ActiveRecord: 1.4ms)
112936
+  (0.2ms) ROLLBACK
112937
+  (0.1ms) BEGIN
112938
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112939
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112940
+ Processing by Writefully::SitesController#show as HTML
112941
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
112942
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112943
+ 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]]
112944
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
112945
+ Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
112946
+  (0.2ms) ROLLBACK
112947
+  (0.1ms) BEGIN
112948
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112949
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112950
+ Processing by Writefully::SitesController#show as HTML
112951
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
112952
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112953
+ 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]]
112954
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.8ms)
112955
+  (0.2ms) ROLLBACK
112956
+  (0.1ms) BEGIN
112957
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112958
+ Processing by Writefully::SitesController#new as HTML
112959
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112960
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.3ms)
112961
+  (0.2ms) ROLLBACK
112962
+  (0.1ms) BEGIN
112963
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112964
+ Processing by Writefully::SitesController#index as HTML
112965
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112966
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112967
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.9ms)
112968
+  (0.1ms) ROLLBACK
112969
+  (0.1ms) BEGIN
112970
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112971
+ Processing by Writefully::SitesController#index as HTML
112972
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112973
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
112974
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.6ms)
112975
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
112976
+ 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]]
112977
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
112978
+ Writefully::Site Exists (0.6ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
112979
+  (0.2ms) ROLLBACK
112980
+  (0.1ms) BEGIN
112981
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
112982
+ Processing by Writefully::SitesController#index as HTML
112983
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112984
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
112985
+ Redirected to http://test.host/writefully/sites/new
112986
+ Completed 302 Found in 2ms (ActiveRecord: 0.6ms)
112987
+  (0.2ms) ROLLBACK
112988
+  (0.1ms) BEGIN
112989
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
112990
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
112991
+ Processing by Writefully::SitesController#create as HTML
112992
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
112993
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
112994
+  (0.2ms) SAVEPOINT active_record_1
112995
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
112996
+ 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", Tue, 06 May 2014 06:28:18 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:28:18 UTC +00:00]]
112997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
112998
+ Redirected to http://test.host/writefully/sites
112999
+ Completed 302 Found in 6ms (ActiveRecord: 1.8ms)
113000
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
113001
+  (0.2ms) ROLLBACK
113002
+  (0.1ms) BEGIN
113003
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113004
+ Processing by Writefully::SitesController#create as HTML
113005
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
113006
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113007
+  (0.2ms) SAVEPOINT active_record_1
113008
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
113009
+ 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", Tue, 06 May 2014 06:28:18 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:28:18 UTC +00:00]]
113010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
113011
+ Redirected to http://test.host/writefully/sites
113012
+ Completed 302 Found in 5ms (ActiveRecord: 1.6ms)
113013
+  (0.2ms) ROLLBACK
113014
+  (0.1ms) BEGIN
113015
+ 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
113016
+  (0.2ms) ROLLBACK
113017
+  (0.1ms) BEGIN
113018
+ Writefully::Site Load (1.9ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
113019
+  (0.5ms) SELECT COUNT(*) FROM "writefully_posts"
113020
+ Post Load (0.9ms) 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
113021
+  (0.2ms) BEGIN
113022
+  (0.5ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
113023
+ Class Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-05-06 06:28:18.315744','2014-05-06 06:28:18.315762') RETURNING "id"
113024
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
113025
+ Writefully::Tag Load (0.9ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
113026
+ Writefully::Tag Load (1.1ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
113027
+ SQL (1.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:28:18 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Tue, 06 May 2014 06:28:18 UTC +00:00]]
113028
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
113029
+ 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-05-06 06:28:18.345759','2014-05-06 06:28:18.345771') RETURNING "id"
113030
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
113031
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
113032
+ Writefully::Tag Load (0.7ms) 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]]
113033
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:28:18 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:28:18 UTC +00:00]]
113034
+ SQL (0.8ms) 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", Tue, 06 May 2014 06:28:18 UTC +00:00]]
113035
+  (0.5ms) COMMIT
113036
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113037
+  (0.2ms) ROLLBACK
113038
+  (0.1ms) BEGIN
113039
+ 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
113040
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113041
+ 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
113042
+  (0.2ms) BEGIN
113043
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
113044
+ 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-05-06 06:28:18.369132','2014-05-06 06:28:18.369146') RETURNING "id"
113045
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
113046
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
113047
+  (0.5ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
113048
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
113049
+ Writefully::Tag Load (0.4ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
113050
+ SQL (0.9ms) 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", Tue, 06 May 2014 06:28:18 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Tue, 06 May 2014 06:28:18 UTC +00:00]]
113051
+ SQL (0.6ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:28:18 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Tue, 06 May 2014 06:28:18 UTC +00:00]]
113052
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:28:18 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:28:18 UTC +00:00]]
113053
+  (0.4ms) COMMIT
113054
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113055
+  (0.1ms) ROLLBACK
113056
+  (0.1ms) BEGIN
113057
+ 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
113058
+  (0.2ms) ROLLBACK
113059
+  (0.1ms) BEGIN
113060
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
113061
+  (0.2ms) ROLLBACK
113062
+  (0.1ms) BEGIN
113063
+  (0.1ms) ROLLBACK
113064
+  (0.1ms) BEGIN
113065
+  (0.2ms) ROLLBACK
113066
+  (0.1ms) BEGIN
113067
+  (0.1ms) ROLLBACK
113068
+  (0.1ms) BEGIN
113069
+  (0.2ms) ROLLBACK
113070
+  (0.1ms) BEGIN
113071
+  (0.1ms) ROLLBACK
113072
+  (0.1ms) BEGIN
113073
+  (0.2ms) ROLLBACK
113074
+  (0.2ms) BEGIN
113075
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113076
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113077
+ Processing by Writefully::PostsController#index as HTML
113078
+ Parameters: {"site_id"=>"codemy-net"}
113079
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113080
+ 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]]
113081
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.8ms)
113082
+  (0.2ms) ROLLBACK
113083
+  (0.1ms) BEGIN
113084
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113085
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113086
+ Processing by Writefully::PostsController#index as HTML
113087
+ Parameters: {"site_id"=>"codemy-net"}
113088
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113089
+ 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]]
113090
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.8ms)
113091
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113092
+ 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]]
113093
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
113094
+ 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]]
113095
+  (0.2ms) ROLLBACK
113096
+  (0.1ms) BEGIN
113097
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113098
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113099
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113100
+ Processing by Writefully::PostsController#show as HTML
113101
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
113102
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113103
+ 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]]
113104
+ 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]]
113105
+ 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"]]
113106
+ Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.8ms)
113107
+  (0.2ms) ROLLBACK
113108
+  (0.2ms) BEGIN
113109
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113110
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113111
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113112
+ Processing by Writefully::PostsController#show as HTML
113113
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
113114
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113115
+ 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]]
113116
+ 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]]
113117
+ Writefully::Post Load (0.6ms) 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"]]
113118
+ Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.8ms)
113119
+  (0.2ms) ROLLBACK
113120
+  (366.1ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
113121
+  (238.3ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
113122
+ SQL (2.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
113123
+ SQL (26.5ms) CREATE EXTENSION IF NOT EXISTS "hstore"
113124
+  (6.8ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
113125
+  (1.4ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
113126
+  (4.6ms) 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, "trashed" boolean DEFAULT 'f') 
113127
+  (1.9ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
113128
+  (1.3ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
113129
+  (1.5ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
113130
+  (1.1ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
113131
+  (5.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)
113132
+  (1.2ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
113133
+  (1.3ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
113134
+  (1.0ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
113135
+  (2.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
113136
+  (1.0ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
113137
+  (0.9ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
113138
+  (3.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) 
113139
+  (0.9ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
113140
+  (1.0ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
113141
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
113142
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
113143
+  (0.4ms) SELECT version FROM "schema_migrations"
113144
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501094825')
113145
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
113146
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
113147
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
113148
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
113149
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
113150
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
113151
+  (0.3ms) BEGIN
113152
+  (0.4ms) ROLLBACK
113153
+  (0.2ms) BEGIN
113154
+  (0.4ms) ROLLBACK
113155
+  (0.2ms) BEGIN
113156
+  (0.7ms) ROLLBACK
113157
+  (0.3ms) BEGIN
113158
+  (0.4ms) ROLLBACK
113159
+  (0.4ms) BEGIN
113160
+  (0.9ms) ROLLBACK
113161
+  (0.2ms) BEGIN
113162
+  (0.3ms) ROLLBACK
113163
+  (0.9ms) 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
113164
+  (0.4ms) BEGIN
113165
+ Fixture Delete (1.5ms) DELETE FROM "writefully_sites"
113166
+ Fixture Insert (3.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-05-06 06:29:03', '2014-05-06 06:29:03', 163715408, 785112356)
113167
+ Fixture Insert (0.6ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-05-06 06:29:03', '2014-05-06 06:29:03', 653288584)
113168
+ Fixture Delete (1.8ms) DELETE FROM "writefully_posts"
113169
+ Fixture Insert (2.1ms) 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-05-06 06:29:03', '2014-05-06 06:29:03', 93356905, 163715408)
113170
+ Fixture Insert (1.1ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:29:03', '2014-05-06 06:29:03', 456337813)
113171
+ Fixture Delete (0.8ms) DELETE FROM "writefully_authorships"
113172
+ Fixture Insert (0.6ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-05-06 06:29:03', '2014-05-06 06:29:03', 785112356)
113173
+ Fixture Insert (0.4ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-05-06 06:29:03', '2014-05-06 06:29:03', 935496864)
113174
+  (1.2ms) COMMIT
113175
+  (1.1ms) 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
113176
+  (0.7ms) BEGIN
113177
+ Writefully::Authorship Load (1.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113178
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-05-06 13:29:03 +0700
113179
+ Processing by Writefully::SitesController#index as HTML
113180
+ Writefully::Site Exists (1.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
113181
+ Writefully::Site Load (1.1ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
113182
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.3ms)
113183
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.3ms)
113184
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (3.8ms)
113185
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/index.html.erb within layouts/writefully/application (16.9ms)
113186
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.1ms)
113187
+ Completed 200 OK in 94ms (Views: 57.0ms | ActiveRecord: 2.9ms)
113188
+ Writefully::Site Load (0.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113189
+  (0.5ms) ROLLBACK
113190
+  (0.1ms) BEGIN
113191
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113192
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113193
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-05-06 13:29:03 +0700
113194
+ Processing by Writefully::SitesController#show as HTML
113195
+ Parameters: {"id"=>"codemy-net"}
113196
+ Writefully::Site Load (2.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]]
113197
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
113198
+ Completed 302 Found in 5ms (ActiveRecord: 2.0ms)
113199
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-05-06 13:29:03 +0700
113200
+ Processing by Writefully::PostsController#index as HTML
113201
+ Parameters: {"site_id"=>"codemy-net"}
113202
+ 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]]
113203
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.5ms)
113204
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.4ms)
113205
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
113206
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
113207
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.7ms)
113208
+ Writefully::Post Load (1.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
113209
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.2ms)
113210
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (2.6ms)
113211
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (27.5ms)
113212
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (0.5ms)
113213
+ Completed 200 OK in 35ms (Views: 29.7ms | ActiveRecord: 1.8ms)
113214
+ Writefully::Post Load (1.0ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113215
+  (0.4ms) ROLLBACK
113216
+  (0.2ms) BEGIN
113217
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113218
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113219
+ Processing by Writefully::PostsController#index as HTML
113220
+ Parameters: {"site_id"=>"codemy-net"}
113221
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113222
+ 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]]
113223
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (0.2ms)
113224
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 1.1ms)
113225
+  (0.4ms) ROLLBACK
113226
+  (0.2ms) BEGIN
113227
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113228
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113229
+ Processing by Writefully::PostsController#index as HTML
113230
+ Parameters: {"site_id"=>"codemy-net"}
113231
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113232
+ 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]]
113233
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.8ms)
113234
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113235
+ Writefully::Post Exists (0.6ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
113236
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
113237
+ 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]]
113238
+  (0.2ms) ROLLBACK
113239
+  (0.1ms) BEGIN
113240
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113241
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113242
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113243
+ Processing by Writefully::PostsController#show as HTML
113244
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
113245
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113246
+ 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]]
113247
+ Writefully::Post Load (0.7ms) 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]]
113248
+ 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"]]
113249
+ Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 2.0ms)
113250
+  (0.2ms) ROLLBACK
113251
+  (0.1ms) BEGIN
113252
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113253
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113254
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113255
+ Processing by Writefully::PostsController#show as HTML
113256
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
113257
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113258
+ 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]]
113259
+ 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]]
113260
+ 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"]]
113261
+ Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.6ms)
113262
+  (0.2ms) ROLLBACK
113263
+  (0.1ms) BEGIN
113264
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113265
+ Writefully::Site Load (1.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
113266
+  (0.2ms) BEGIN
113267
+ SQL (2.2ms) 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", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113268
+  (1.8ms) COMMIT
113269
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113270
+  (0.2ms) ROLLBACK
113271
+  (0.1ms) BEGIN
113272
+  (0.2ms) ROLLBACK
113273
+  (0.1ms) BEGIN
113274
+  (0.2ms) ROLLBACK
113275
+  (0.1ms) BEGIN
113276
+  (0.1ms) ROLLBACK
113277
+  (0.1ms) BEGIN
113278
+  (0.2ms) ROLLBACK
113279
+  (0.7ms) 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
113280
+  (0.2ms) BEGIN
113281
+ Fixture Delete (0.3ms) DELETE FROM "writefully_sites"
113282
+ 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-05-06 06:29:03', '2014-05-06 06:29:03', 163715408, 785112356)
113283
+ 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-05-06 06:29:03', '2014-05-06 06:29:03', 653288584)
113284
+ Fixture Delete (0.5ms) DELETE FROM "writefully_posts"
113285
+ 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-05-06 06:29:03', '2014-05-06 06:29:03', 93356905, 163715408)
113286
+ Fixture Insert (0.3ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:29:03', '2014-05-06 06:29:03', 456337813)
113287
+  (0.5ms) COMMIT
113288
+  (0.3ms) 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
113289
+  (0.1ms) BEGIN
113290
+ 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
113291
+  (0.2ms) ROLLBACK
113292
+  (0.1ms) BEGIN
113293
+ 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
113294
+  (0.5ms) SELECT COUNT(*) FROM "writefully_posts"
113295
+ Post Load (0.9ms) 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
113296
+  (0.2ms) BEGIN
113297
+  (0.5ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
113298
+ Class Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-05-06 06:29:03.681500','2014-05-06 06:29:03.681519') RETURNING "id"
113299
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
113300
+ Writefully::Tag Load (1.2ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
113301
+ Writefully::Tag Load (1.1ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
113302
+ SQL (1.1ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:29:03 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113303
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
113304
+ 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'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-05-06 06:29:03.711979','2014-05-06 06:29:03.711992') RETURNING "id"
113305
+  (0.6ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
113306
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
113307
+ 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]]
113308
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:29:03 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113309
+ SQL (0.8ms) 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", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113310
+  (0.5ms) COMMIT
113311
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113312
+  (0.2ms) ROLLBACK
113313
+  (0.1ms) BEGIN
113314
+ 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
113315
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113316
+ 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
113317
+  (0.3ms) BEGIN
113318
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
113319
+ 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'),'Rails','rails',NULL,'2014-05-06 06:29:03.736114','2014-05-06 06:29:03.736127') RETURNING "id"
113320
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
113321
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
113322
+  (0.5ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
113323
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
113324
+ Writefully::Tag Load (0.4ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
113325
+ SQL (1.0ms) 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", Tue, 06 May 2014 06:29:03 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113326
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:29:03 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113327
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:29:03 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113328
+  (0.5ms) COMMIT
113329
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113330
+  (0.2ms) ROLLBACK
113331
+  (0.2ms) BEGIN
113332
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
113333
+  (0.2ms) ROLLBACK
113334
+  (0.1ms) BEGIN
113335
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
113336
+  (0.2ms) ROLLBACK
113337
+  (0.1ms) BEGIN
113338
+  (0.2ms) ROLLBACK
113339
+  (0.1ms) BEGIN
113340
+  (0.1ms) ROLLBACK
113341
+  (0.1ms) BEGIN
113342
+  (0.2ms) ROLLBACK
113343
+  (0.1ms) BEGIN
113344
+  (0.2ms) ROLLBACK
113345
+  (0.1ms) BEGIN
113346
+  (0.1ms) ROLLBACK
113347
+  (0.1ms) BEGIN
113348
+  (0.1ms) ROLLBACK
113349
+  (0.1ms) BEGIN
113350
+  (0.1ms) ROLLBACK
113351
+  (0.1ms) BEGIN
113352
+  (0.2ms) ROLLBACK
113353
+  (0.1ms) BEGIN
113354
+  (0.2ms) ROLLBACK
113355
+  (0.1ms) BEGIN
113356
+  (0.2ms) ROLLBACK
113357
+  (0.1ms) BEGIN
113358
+  (0.2ms) ROLLBACK
113359
+  (0.1ms) BEGIN
113360
+  (0.1ms) ROLLBACK
113361
+  (0.1ms) BEGIN
113362
+  (0.1ms) ROLLBACK
113363
+  (0.1ms) BEGIN
113364
+  (0.1ms) ROLLBACK
113365
+  (0.1ms) BEGIN
113366
+  (0.1ms) ROLLBACK
113367
+  (0.2ms) BEGIN
113368
+  (0.3ms) ROLLBACK
113369
+  (0.2ms) BEGIN
113370
+  (0.3ms) ROLLBACK
113371
+  (0.1ms) BEGIN
113372
+  (0.3ms) ROLLBACK
113373
+  (0.1ms) BEGIN
113374
+  (0.4ms) ROLLBACK
113375
+  (0.2ms) BEGIN
113376
+  (0.2ms) ROLLBACK
113377
+  (0.1ms) BEGIN
113378
+  (0.1ms) ROLLBACK
113379
+  (0.1ms) BEGIN
113380
+  (0.1ms) ROLLBACK
113381
+  (0.1ms) BEGIN
113382
+  (0.2ms) ROLLBACK
113383
+  (0.2ms) BEGIN
113384
+  (0.1ms) ROLLBACK
113385
+  (0.1ms) BEGIN
113386
+  (0.1ms) ROLLBACK
113387
+  (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
113388
+  (0.2ms) BEGIN
113389
+ Fixture Delete (0.4ms) DELETE FROM "writefully_authorships"
113390
+ Fixture Insert (0.3ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-05-06 06:29:03', '2014-05-06 06:29:03', 785112356)
113391
+ 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-05-06 06:29:03', '2014-05-06 06:29:03', 935496864)
113392
+  (0.4ms) COMMIT
113393
+  (0.3ms) 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
113394
+  (0.1ms) BEGIN
113395
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113396
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
113397
+ Processing by Writefully::SitesController#create as HTML
113398
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
113399
+ Writefully::Authorship Load (0.8ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113400
+  (0.4ms) SAVEPOINT active_record_1
113401
+ Writefully::Site Exists (1.1ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
113402
+ SQL (1.0ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Tue, 06 May 2014 06:29:03 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113403
+  (0.3ms) RELEASE SAVEPOINT active_record_1
113404
+ Redirected to http://test.host/writefully/sites
113405
+ Completed 302 Found in 10ms (ActiveRecord: 3.5ms)
113406
+  (0.5ms) SELECT COUNT(*) FROM "writefully_sites"
113407
+  (0.3ms) ROLLBACK
113408
+  (0.1ms) BEGIN
113409
+ Writefully::Authorship Load (1.0ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113410
+ Processing by Writefully::SitesController#create as HTML
113411
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
113412
+ Writefully::Authorship Load (1.1ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113413
+  (0.6ms) SAVEPOINT active_record_1
113414
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
113415
+ 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", Tue, 06 May 2014 06:29:03 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113416
+  (0.2ms) RELEASE SAVEPOINT active_record_1
113417
+ Redirected to http://test.host/writefully/sites
113418
+ Completed 302 Found in 10ms (ActiveRecord: 2.7ms)
113419
+  (0.2ms) ROLLBACK
113420
+  (0.1ms) BEGIN
113421
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113422
+ Processing by Writefully::SitesController#new as HTML
113423
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113424
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.6ms)
113425
+  (0.3ms) ROLLBACK
113426
+  (0.1ms) BEGIN
113427
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113428
+ Processing by Writefully::SitesController#index as HTML
113429
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113430
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
113431
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.8ms)
113432
+  (0.2ms) ROLLBACK
113433
+  (0.1ms) BEGIN
113434
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113435
+ Processing by Writefully::SitesController#index as HTML
113436
+ Writefully::Authorship Load (0.9ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113437
+ Writefully::Site Exists (0.6ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
113438
+ Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.5ms)
113439
+ Writefully::Site Load (0.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113440
+ Writefully::Site Exists (0.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 163715408 LIMIT 1 [["owner_id", 785112356]]
113441
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
113442
+ Writefully::Site Exists (0.7ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
113443
+  (0.3ms) ROLLBACK
113444
+  (0.1ms) BEGIN
113445
+ Writefully::Authorship Load (1.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
113446
+ Processing by Writefully::SitesController#index as HTML
113447
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113448
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
113449
+ Redirected to http://test.host/writefully/sites/new
113450
+ Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
113451
+  (0.5ms) ROLLBACK
113452
+  (0.2ms) BEGIN
113453
+ Writefully::Authorship Load (1.0ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113454
+ Writefully::Site Load (1.0ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113455
+ Processing by Writefully::SitesController#show as HTML
113456
+ Parameters: {"id"=>"codemy-net"}
113457
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113458
+ 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]]
113459
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
113460
+ Completed 302 Found in 3ms (ActiveRecord: 1.1ms)
113461
+  (0.3ms) ROLLBACK
113462
+  (0.1ms) BEGIN
113463
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113464
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113465
+ Processing by Writefully::SitesController#show as HTML
113466
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
113467
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113468
+ 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]]
113469
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
113470
+ Completed 302 Found in 2ms (ActiveRecord: 0.8ms)
113471
+  (0.2ms) ROLLBACK
113472
+  (0.1ms) BEGIN
113473
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113474
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113475
+ Processing by Writefully::SitesController#show as HTML
113476
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
113477
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113478
+ 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]]
113479
+ Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.4ms)
113480
+  (0.3ms) ROLLBACK
113481
+  (0.1ms) BEGIN
113482
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113483
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113484
+ Processing by Writefully::SitesController#edit as HTML
113485
+ Parameters: {"id"=>"codemy-net"}
113486
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113487
+ Writefully::Site Load (1.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]]
113488
+ Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 2.3ms)
113489
+  (0.6ms) ROLLBACK
113490
+  (0.3ms) BEGIN
113491
+ Processing by Writefully::HooksController#create as HTML
113492
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
113493
+  (0.2ms) ROLLBACK
113494
+  (0.1ms) BEGIN
113495
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
113496
+ Processing by Writefully::HooksController#create as HTML
113497
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113498
+  (0.5ms) SELECT COUNT(*) FROM "writefully_authorships"
113499
+  (0.2ms) SAVEPOINT active_record_1
113500
+ SQL (0.8ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:29:03 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Tue, 06 May 2014 06:29:03 UTC +00:00]]
113501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
113502
+ Completed 200 OK in 6ms (ActiveRecord: 2.2ms)
113503
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
113504
+  (0.2ms) ROLLBACK
113505
+  (0.1ms) BEGIN
113506
+ Processing by Writefully::HooksController#create as HTML
113507
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
113508
+  (0.2ms) ROLLBACK
113509
+  (0.1ms) BEGIN
113510
+  (0.1ms) ROLLBACK
113511
+  (367.7ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
113512
+  (238.8ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
113513
+ SQL (2.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
113514
+ SQL (27.6ms) CREATE EXTENSION IF NOT EXISTS "hstore"
113515
+  (5.2ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
113516
+  (1.0ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
113517
+  (5.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, "trashed" boolean DEFAULT 'f') 
113518
+  (1.4ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
113519
+  (1.1ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
113520
+  (1.2ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
113521
+  (1.0ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
113522
+  (4.2ms) 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)
113523
+  (1.0ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
113524
+  (1.1ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
113525
+  (0.9ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
113526
+  (2.4ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
113527
+  (0.9ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
113528
+  (1.1ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
113529
+  (3.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) 
113530
+  (1.1ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
113531
+  (1.0ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
113532
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
113533
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
113534
+  (0.5ms) SELECT version FROM "schema_migrations"
113535
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501094825')
113536
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
113537
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
113538
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
113539
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
113540
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
113541
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
113542
+  (0.3ms) BEGIN
113543
+  (0.3ms) ROLLBACK
113544
+  (0.2ms) BEGIN
113545
+  (0.2ms) ROLLBACK
113546
+  (0.2ms) BEGIN
113547
+  (0.2ms) ROLLBACK
113548
+  (0.1ms) BEGIN
113549
+  (0.2ms) ROLLBACK
113550
+  (0.1ms) BEGIN
113551
+  (0.2ms) ROLLBACK
113552
+  (0.1ms) BEGIN
113553
+ Processing by Writefully::HooksController#create as HTML
113554
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
113555
+  (0.2ms) ROLLBACK
113556
+  (0.1ms) BEGIN
113557
+ Processing by Writefully::HooksController#create as HTML
113558
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
113559
+  (0.2ms) ROLLBACK
113560
+  (0.2ms) BEGIN
113561
+  (0.5ms) SELECT COUNT(*) FROM "writefully_authorships"
113562
+ Processing by Writefully::HooksController#create as HTML
113563
+ Writefully::Authorship Load (1.1ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113564
+  (1.0ms) SELECT COUNT(*) FROM "writefully_authorships"
113565
+  (0.2ms) SAVEPOINT active_record_1
113566
+ SQL (6.4ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:15 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "super_admin"], ["updated_at", Tue, 06 May 2014 06:30:15 UTC +00:00]]
113567
+  (0.2ms) RELEASE SAVEPOINT active_record_1
113568
+ Completed 200 OK in 21ms (ActiveRecord: 9.4ms)
113569
+  (0.6ms) SELECT COUNT(*) FROM "writefully_authorships"
113570
+  (0.2ms) ROLLBACK
113571
+  (0.1ms) BEGIN
113572
+  (0.1ms) ROLLBACK
113573
+  (0.1ms) BEGIN
113574
+  (0.2ms) ROLLBACK
113575
+  (0.1ms) BEGIN
113576
+  (0.1ms) ROLLBACK
113577
+  (0.1ms) BEGIN
113578
+  (0.1ms) ROLLBACK
113579
+  (0.1ms) BEGIN
113580
+  (0.4ms) ROLLBACK
113581
+  (0.2ms) BEGIN
113582
+  (0.2ms) ROLLBACK
113583
+  (0.1ms) BEGIN
113584
+  (0.2ms) ROLLBACK
113585
+  (0.1ms) BEGIN
113586
+  (0.2ms) ROLLBACK
113587
+  (0.9ms) 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
113588
+  (0.3ms) BEGIN
113589
+ Fixture Delete (0.6ms) DELETE FROM "writefully_sites"
113590
+ Fixture Insert (0.8ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-05-06 06:30:15', '2014-05-06 06:30:15', 163715408, 785112356)
113591
+ Fixture Insert (0.4ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-05-06 06:30:15', '2014-05-06 06:30:15', 653288584)
113592
+ Fixture Delete (0.6ms) DELETE FROM "writefully_posts"
113593
+ 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-05-06 06:30:15', '2014-05-06 06:30:15', 93356905, 163715408)
113594
+ Fixture Insert (0.4ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:30:15', '2014-05-06 06:30:15', 456337813)
113595
+ Fixture Delete (0.3ms) DELETE FROM "writefully_authorships"
113596
+ Fixture Insert (0.3ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-05-06 06:30:15', '2014-05-06 06:30:15', 785112356)
113597
+ 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-05-06 06:30:15', '2014-05-06 06:30:15', 935496864)
113598
+  (0.4ms) COMMIT
113599
+  (0.3ms) 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
113600
+  (0.1ms) BEGIN
113601
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113602
+ Processing by Writefully::SitesController#index as HTML
113603
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113604
+ Writefully::Site Exists (0.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
113605
+ Completed 200 OK in 26ms (Views: 6.0ms | ActiveRecord: 1.4ms)
113606
+  (0.2ms) ROLLBACK
113607
+  (0.1ms) BEGIN
113608
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113609
+ Processing by Writefully::SitesController#index as HTML
113610
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113611
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
113612
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.7ms)
113613
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113614
+ Writefully::Site Exists (0.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 163715408 LIMIT 1 [["owner_id", 785112356]]
113615
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
113616
+ 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]]
113617
+  (0.2ms) ROLLBACK
113618
+  (0.1ms) BEGIN
113619
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
113620
+ Processing by Writefully::SitesController#index as HTML
113621
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113622
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
113623
+ Redirected to http://test.host/writefully/sites/new
113624
+ Completed 302 Found in 2ms (ActiveRecord: 0.8ms)
113625
+  (0.2ms) ROLLBACK
113626
+  (0.1ms) BEGIN
113627
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113628
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
113629
+ Processing by Writefully::SitesController#create as HTML
113630
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
113631
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113632
+  (0.3ms) SAVEPOINT active_record_1
113633
+ Writefully::Site Exists (1.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
113634
+ 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", Tue, 06 May 2014 06:30:16 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113635
+  (0.2ms) RELEASE SAVEPOINT active_record_1
113636
+ Redirected to http://test.host/writefully/sites
113637
+ Completed 302 Found in 100ms (ActiveRecord: 2.9ms)
113638
+  (0.4ms) SELECT COUNT(*) FROM "writefully_sites"
113639
+  (0.2ms) ROLLBACK
113640
+  (0.2ms) BEGIN
113641
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113642
+ Processing by Writefully::SitesController#create as HTML
113643
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
113644
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113645
+  (0.3ms) SAVEPOINT active_record_1
113646
+ Writefully::Site Exists (0.6ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
113647
+ 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", Tue, 06 May 2014 06:30:16 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113648
+  (0.2ms) RELEASE SAVEPOINT active_record_1
113649
+ Redirected to http://test.host/writefully/sites
113650
+ Completed 302 Found in 6ms (ActiveRecord: 2.2ms)
113651
+  (0.2ms) ROLLBACK
113652
+  (0.1ms) BEGIN
113653
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113654
+ Processing by Writefully::SitesController#new as HTML
113655
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113656
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.3ms)
113657
+  (0.2ms) ROLLBACK
113658
+  (0.1ms) BEGIN
113659
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113660
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113661
+ Processing by Writefully::SitesController#edit as HTML
113662
+ Parameters: {"id"=>"codemy-net"}
113663
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113664
+ 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]]
113665
+ Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 1.0ms)
113666
+  (0.2ms) ROLLBACK
113667
+  (0.1ms) BEGIN
113668
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113669
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113670
+ Processing by Writefully::SitesController#show as HTML
113671
+ Parameters: {"id"=>"codemy-net"}
113672
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113673
+ 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]]
113674
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
113675
+ Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
113676
+  (0.2ms) ROLLBACK
113677
+  (0.1ms) BEGIN
113678
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113679
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113680
+ Processing by Writefully::SitesController#show as HTML
113681
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
113682
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113683
+ 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]]
113684
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.8ms)
113685
+  (0.2ms) ROLLBACK
113686
+  (0.1ms) BEGIN
113687
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113688
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113689
+ Processing by Writefully::SitesController#show as HTML
113690
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
113691
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113692
+ 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]]
113693
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
113694
+ Completed 302 Found in 3ms (ActiveRecord: 1.1ms)
113695
+  (0.2ms) ROLLBACK
113696
+  (0.1ms) BEGIN
113697
+  (0.2ms) ROLLBACK
113698
+  (0.1ms) BEGIN
113699
+  (0.1ms) ROLLBACK
113700
+  (0.1ms) BEGIN
113701
+  (0.1ms) ROLLBACK
113702
+  (0.1ms) BEGIN
113703
+ 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
113704
+  (0.3ms) ROLLBACK
113705
+  (0.1ms) BEGIN
113706
+ Writefully::Site Load (1.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
113707
+  (0.5ms) SELECT COUNT(*) FROM "writefully_posts"
113708
+ Post Load (0.8ms) 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
113709
+  (0.2ms) BEGIN
113710
+  (0.5ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
113711
+ Class Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-05-06 06:30:16.264752','2014-05-06 06:30:16.264773') RETURNING "id"
113712
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
113713
+ Writefully::Tag Load (1.1ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
113714
+ Writefully::Tag Load (1.1ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
113715
+ SQL (1.1ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:16 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113716
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
113717
+ 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'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-05-06 06:30:16.293641','2014-05-06 06:30:16.293653') RETURNING "id"
113718
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
113719
+ Writefully::Tag Load (0.4ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
113720
+ 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]]
113721
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:16 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113722
+ SQL (0.9ms) 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", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113723
+  (0.6ms) COMMIT
113724
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113725
+  (0.1ms) ROLLBACK
113726
+  (0.1ms) BEGIN
113727
+ 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
113728
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113729
+ Post Load (0.5ms) 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
113730
+  (0.2ms) BEGIN
113731
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
113732
+ 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-05-06 06:30:16.318338','2014-05-06 06:30:16.318353') RETURNING "id"
113733
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
113734
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
113735
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
113736
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
113737
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
113738
+ SQL (0.8ms) 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", Tue, 06 May 2014 06:30:16 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113739
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:16 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113740
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:16 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113741
+  (0.4ms) COMMIT
113742
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
113743
+  (0.2ms) ROLLBACK
113744
+  (0.1ms) BEGIN
113745
+ 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
113746
+  (0.1ms) ROLLBACK
113747
+  (0.1ms) BEGIN
113748
+ 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
113749
+  (0.1ms) ROLLBACK
113750
+  (0.1ms) BEGIN
113751
+  (0.1ms) ROLLBACK
113752
+  (0.1ms) BEGIN
113753
+  (0.1ms) ROLLBACK
113754
+  (0.1ms) BEGIN
113755
+  (0.1ms) ROLLBACK
113756
+  (0.1ms) BEGIN
113757
+  (0.1ms) ROLLBACK
113758
+  (0.1ms) BEGIN
113759
+  (0.1ms) ROLLBACK
113760
+  (0.1ms) BEGIN
113761
+  (0.1ms) ROLLBACK
113762
+  (0.1ms) BEGIN
113763
+  (0.1ms) ROLLBACK
113764
+  (0.1ms) BEGIN
113765
+  (0.2ms) ROLLBACK
113766
+  (0.1ms) BEGIN
113767
+  (0.1ms) ROLLBACK
113768
+  (0.1ms) BEGIN
113769
+  (0.1ms) ROLLBACK
113770
+  (0.1ms) BEGIN
113771
+  (0.1ms) ROLLBACK
113772
+  (0.1ms) BEGIN
113773
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113774
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
113775
+  (0.2ms) BEGIN
113776
+ SQL (0.8ms) 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", Tue, 06 May 2014 06:30:16 UTC +00:00]]
113777
+  (0.4ms) COMMIT
113778
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113779
+  (0.1ms) ROLLBACK
113780
+  (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
113781
+  (0.2ms) BEGIN
113782
+ Fixture Delete (0.3ms) DELETE FROM "writefully_sites"
113783
+ 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-05-06 06:30:16', '2014-05-06 06:30:16', 163715408, 785112356)
113784
+ 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-05-06 06:30:16', '2014-05-06 06:30:16', 653288584)
113785
+ Fixture Delete (0.2ms) DELETE FROM "writefully_posts"
113786
+ 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-05-06 06:30:16', '2014-05-06 06:30:16', 93356905, 163715408)
113787
+ 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-05-06 06:30:16', '2014-05-06 06:30:16', 456337813)
113788
+ Fixture Delete (0.3ms) DELETE FROM "writefully_authorships"
113789
+ 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-05-06 06:30:16', '2014-05-06 06:30:16', 785112356)
113790
+ 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-05-06 06:30:16', '2014-05-06 06:30:16', 935496864)
113791
+  (0.3ms) COMMIT
113792
+  (0.3ms) 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
113793
+  (0.1ms) BEGIN
113794
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113795
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113796
+ Processing by Writefully::PostsController#index as HTML
113797
+ Parameters: {"site_id"=>"codemy-net"}
113798
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113799
+ Writefully::Site Load (0.9ms) 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]]
113800
+ Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 1.6ms)
113801
+  (0.3ms) ROLLBACK
113802
+  (0.1ms) BEGIN
113803
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113804
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113805
+ Processing by Writefully::PostsController#index as HTML
113806
+ Parameters: {"site_id"=>"codemy-net"}
113807
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113808
+ 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]]
113809
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.9ms)
113810
+ Writefully::Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113811
+ Writefully::Post Exists (0.6ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
113812
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
113813
+ 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]]
113814
+  (0.1ms) ROLLBACK
113815
+  (0.1ms) BEGIN
113816
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113817
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113818
+ Writefully::Post Load (0.5ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113819
+ Processing by Writefully::PostsController#show as HTML
113820
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
113821
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113822
+ 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]]
113823
+ 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]]
113824
+ Writefully::Post Load (0.6ms) 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"]]
113825
+ Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 2.0ms)
113826
+  (0.2ms) ROLLBACK
113827
+  (0.1ms) BEGIN
113828
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113829
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113830
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113831
+ Processing by Writefully::PostsController#show as HTML
113832
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
113833
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
113834
+ 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]]
113835
+ 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]]
113836
+ 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"]]
113837
+ Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.9ms)
113838
+  (0.2ms) ROLLBACK
113839
+  (0.1ms) BEGIN
113840
+  (0.1ms) ROLLBACK
113841
+  (0.1ms) BEGIN
113842
+  (0.1ms) ROLLBACK
113843
+  (0.1ms) BEGIN
113844
+  (0.1ms) ROLLBACK
113845
+  (0.1ms) BEGIN
113846
+  (0.1ms) ROLLBACK
113847
+  (0.1ms) BEGIN
113848
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113849
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-05-06 13:30:16 +0700
113850
+ Processing by Writefully::SitesController#index as HTML
113851
+ Writefully::Site Exists (0.9ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
113852
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
113853
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.3ms)
113854
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.3ms)
113855
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (4.0ms)
113856
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.0ms)
113857
+ Completed 200 OK in 49ms (Views: 36.9ms | ActiveRecord: 1.6ms)
113858
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113859
+  (0.4ms) ROLLBACK
113860
+  (0.2ms) BEGIN
113861
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113862
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113863
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-05-06 13:30:16 +0700
113864
+ Processing by Writefully::SitesController#show as HTML
113865
+ Parameters: {"id"=>"codemy-net"}
113866
+ 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]]
113867
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
113868
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
113869
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-05-06 13:30:16 +0700
113870
+ Processing by Writefully::PostsController#index as HTML
113871
+ Parameters: {"site_id"=>"codemy-net"}
113872
+ 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]]
113873
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.5ms)
113874
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.5ms)
113875
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
113876
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
113877
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.7ms)
113878
+ 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]]
113879
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.3ms)
113880
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (3.1ms)
113881
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (0.6ms)
113882
+ Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 1.2ms)
113883
+ Writefully::Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
113884
+  (0.3ms) ROLLBACK
113885
+  (0.2ms) BEGIN
113886
+  (0.2ms) ROLLBACK
113887
+  (0.1ms) BEGIN
113888
+  (0.3ms) ROLLBACK
113889
+  (0.2ms) BEGIN
113890
+  (0.1ms) ROLLBACK
113891
+  (0.1ms) BEGIN
113892
+  (0.1ms) ROLLBACK
113893
+  (0.1ms) BEGIN
113894
+  (0.1ms) ROLLBACK
113895
+  (116.4ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
113896
+  (236.2ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
113897
+ SQL (1.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
113898
+ SQL (28.5ms) CREATE EXTENSION IF NOT EXISTS "hstore"
113899
+  (6.5ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
113900
+  (1.2ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
113901
+  (4.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, "trashed" boolean DEFAULT 'f') 
113902
+  (1.2ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
113903
+  (1.1ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
113904
+  (1.3ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
113905
+  (1.1ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
113906
+  (4.2ms) 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)
113907
+  (1.1ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
113908
+  (1.4ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
113909
+  (1.0ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
113910
+  (2.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
113911
+  (1.0ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
113912
+  (0.9ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
113913
+  (3.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) 
113914
+  (1.0ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
113915
+  (1.1ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
113916
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
113917
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
113918
+  (0.3ms) SELECT version FROM "schema_migrations"
113919
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501094825')
113920
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
113921
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
113922
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
113923
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
113924
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
113925
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
113926
+  (0.5ms) BEGIN
113927
+  (0.4ms) ROLLBACK
113928
+  (0.2ms) BEGIN
113929
+  (0.2ms) ROLLBACK
113930
+  (0.2ms) BEGIN
113931
+  (0.7ms) ROLLBACK
113932
+  (0.5ms) BEGIN
113933
+  (0.4ms) ROLLBACK
113934
+  (0.7ms) 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
113935
+  (0.2ms) BEGIN
113936
+ Fixture Delete (1.0ms) DELETE FROM "writefully_sites"
113937
+ Fixture Insert (1.6ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-05-06 06:30:29', '2014-05-06 06:30:29', 163715408, 785112356)
113938
+ Fixture Insert (0.5ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-05-06 06:30:29', '2014-05-06 06:30:29', 653288584)
113939
+  (0.5ms) COMMIT
113940
+  (0.4ms) 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
113941
+  (0.2ms) BEGIN
113942
+ Writefully::Site Load (1.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113943
+ Writefully::Site Load (2.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
113944
+  (0.3ms) BEGIN
113945
+ SQL (2.8ms) 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", Tue, 06 May 2014 06:30:30 UTC +00:00]]
113946
+  (0.9ms) COMMIT
113947
+ Writefully::Site Load (1.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113948
+  (0.3ms) ROLLBACK
113949
+  (0.7ms) 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
113950
+  (0.1ms) BEGIN
113951
+ Fixture Delete (0.5ms) DELETE FROM "writefully_sites"
113952
+ Fixture Insert (0.6ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-05-06 06:30:30', '2014-05-06 06:30:30', 163715408, 785112356)
113953
+ 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-05-06 06:30:30', '2014-05-06 06:30:30', 653288584)
113954
+ Fixture Delete (0.6ms) DELETE FROM "writefully_posts"
113955
+ Fixture Insert (1.0ms) 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-05-06 06:30:30', '2014-05-06 06:30:30', 93356905, 163715408)
113956
+ Fixture Insert (0.5ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:30:30', '2014-05-06 06:30:30', 456337813)
113957
+ Fixture Delete (0.3ms) DELETE FROM "writefully_authorships"
113958
+ 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-05-06 06:30:30', '2014-05-06 06:30:30', 785112356)
113959
+ 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-05-06 06:30:30', '2014-05-06 06:30:30', 935496864)
113960
+  (0.4ms) COMMIT
113961
+  (0.4ms) 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
113962
+  (0.1ms) BEGIN
113963
+ Writefully::Authorship Load (0.9ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113964
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-05-06 13:30:30 +0700
113965
+ Processing by Writefully::SitesController#index as HTML
113966
+ Writefully::Site Exists (0.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
113967
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
113968
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.2ms)
113969
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.2ms)
113970
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (3.3ms)
113971
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/index.html.erb within layouts/writefully/application (9.0ms)
113972
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.0ms)
113973
+ Completed 200 OK in 69ms (Views: 41.9ms | ActiveRecord: 1.6ms)
113974
+ Writefully::Site Load (0.9ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113975
+  (0.4ms) ROLLBACK
113976
+  (0.2ms) BEGIN
113977
+ Writefully::Authorship Load (0.8ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
113978
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
113979
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-05-06 13:30:30 +0700
113980
+ Processing by Writefully::SitesController#show as HTML
113981
+ Parameters: {"id"=>"codemy-net"}
113982
+ Writefully::Site Load (1.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]]
113983
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
113984
+ Completed 302 Found in 4ms (ActiveRecord: 1.5ms)
113985
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-05-06 13:30:30 +0700
113986
+ Processing by Writefully::PostsController#index as HTML
113987
+ Parameters: {"site_id"=>"codemy-net"}
113988
+ 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]]
113989
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.5ms)
113990
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.4ms)
113991
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
113992
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
113993
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.6ms)
113994
+ Writefully::Post Load (1.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
113995
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.2ms)
113996
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (2.9ms)
113997
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (10.6ms)
113998
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (0.5ms)
113999
+ Completed 200 OK in 18ms (Views: 12.9ms | ActiveRecord: 1.8ms)
114000
+ Writefully::Post Load (0.7ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
114001
+  (0.3ms) ROLLBACK
114002
+  (0.2ms) BEGIN
114003
+  (0.2ms) ROLLBACK
114004
+  (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
114005
+  (0.1ms) BEGIN
114006
+ Fixture Delete (0.4ms) DELETE FROM "writefully_posts"
114007
+ Fixture Insert (0.5ms) 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-05-06 06:30:30', '2014-05-06 06:30:30', 93356905, 163715408)
114008
+ Fixture Insert (0.4ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:30:30', '2014-05-06 06:30:30', 456337813)
114009
+ Fixture Delete (0.3ms) DELETE FROM "writefully_authorships"
114010
+ Fixture Insert (0.3ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-05-06 06:30:30', '2014-05-06 06:30:30', 785112356)
114011
+ 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-05-06 06:30:30', '2014-05-06 06:30:30', 935496864)
114012
+  (1.8ms) COMMIT
114013
+  (0.6ms) 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
114014
+  (0.1ms) BEGIN
114015
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114016
+ Processing by Writefully::SitesController#new as HTML
114017
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114018
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/new.html.erb within layouts/writefully/application (0.2ms)
114019
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.4ms)
114020
+  (0.2ms) ROLLBACK
114021
+  (0.1ms) BEGIN
114022
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114023
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114024
+ Processing by Writefully::SitesController#edit as HTML
114025
+ Parameters: {"id"=>"codemy-net"}
114026
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114027
+ 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]]
114028
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 1.5ms)
114029
+  (0.2ms) ROLLBACK
114030
+  (0.1ms) BEGIN
114031
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114032
+ Processing by Writefully::SitesController#index as HTML
114033
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114034
+ Writefully::Site Exists (0.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
114035
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 1.2ms)
114036
+  (0.3ms) ROLLBACK
114037
+  (0.2ms) BEGIN
114038
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114039
+ Processing by Writefully::SitesController#index as HTML
114040
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114041
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
114042
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.8ms)
114043
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114044
+ 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]]
114045
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
114046
+ Writefully::Site Exists (0.6ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
114047
+  (0.2ms) ROLLBACK
114048
+  (0.1ms) BEGIN
114049
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
114050
+ Processing by Writefully::SitesController#index as HTML
114051
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114052
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
114053
+ Redirected to http://test.host/writefully/sites/new
114054
+ Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
114055
+  (0.4ms) ROLLBACK
114056
+  (0.2ms) BEGIN
114057
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114058
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114059
+ Processing by Writefully::SitesController#show as HTML
114060
+ Parameters: {"id"=>"codemy-net"}
114061
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114062
+ 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]]
114063
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
114064
+ Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
114065
+  (0.3ms) ROLLBACK
114066
+  (0.1ms) BEGIN
114067
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114068
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114069
+ Processing by Writefully::SitesController#show as HTML
114070
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
114071
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114072
+ 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]]
114073
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 1.2ms)
114074
+  (0.3ms) ROLLBACK
114075
+  (0.2ms) BEGIN
114076
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114077
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114078
+ Processing by Writefully::SitesController#show as HTML
114079
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
114080
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114081
+ 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]]
114082
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
114083
+ Completed 302 Found in 3ms (ActiveRecord: 1.0ms)
114084
+  (0.2ms) ROLLBACK
114085
+  (0.2ms) BEGIN
114086
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114087
+  (0.4ms) SELECT COUNT(*) FROM "writefully_sites"
114088
+ Processing by Writefully::SitesController#create as HTML
114089
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
114090
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114091
+  (0.2ms) SAVEPOINT active_record_1
114092
+ Writefully::Site Exists (0.7ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
114093
+ SQL (1.0ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:30 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114094
+  (0.2ms) RELEASE SAVEPOINT active_record_1
114095
+ Redirected to http://test.host/writefully/sites
114096
+ Completed 302 Found in 69ms (ActiveRecord: 2.5ms)
114097
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
114098
+  (0.2ms) ROLLBACK
114099
+  (0.1ms) BEGIN
114100
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114101
+ Processing by Writefully::SitesController#create as HTML
114102
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
114103
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114104
+  (0.2ms) SAVEPOINT active_record_1
114105
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
114106
+ 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", Tue, 06 May 2014 06:30:30 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
114108
+ Redirected to http://test.host/writefully/sites
114109
+ Completed 302 Found in 5ms (ActiveRecord: 1.6ms)
114110
+  (0.2ms) ROLLBACK
114111
+  (0.1ms) BEGIN
114112
+  (0.2ms) ROLLBACK
114113
+  (0.1ms) BEGIN
114114
+  (0.1ms) ROLLBACK
114115
+  (0.1ms) BEGIN
114116
+  (0.2ms) ROLLBACK
114117
+  (0.1ms) BEGIN
114118
+  (0.2ms) ROLLBACK
114119
+  (0.1ms) BEGIN
114120
+  (0.1ms) ROLLBACK
114121
+  (0.1ms) BEGIN
114122
+  (0.1ms) ROLLBACK
114123
+  (0.1ms) BEGIN
114124
+  (0.1ms) ROLLBACK
114125
+  (0.1ms) BEGIN
114126
+  (0.1ms) ROLLBACK
114127
+  (0.1ms) BEGIN
114128
+  (0.1ms) ROLLBACK
114129
+  (0.1ms) BEGIN
114130
+  (0.3ms) ROLLBACK
114131
+  (0.1ms) BEGIN
114132
+  (0.2ms) ROLLBACK
114133
+  (0.1ms) BEGIN
114134
+  (0.2ms) ROLLBACK
114135
+  (0.1ms) BEGIN
114136
+  (0.3ms) ROLLBACK
114137
+  (0.1ms) BEGIN
114138
+  (0.4ms) ROLLBACK
114139
+  (0.2ms) BEGIN
114140
+  (0.3ms) ROLLBACK
114141
+  (0.1ms) BEGIN
114142
+  (0.2ms) ROLLBACK
114143
+  (0.1ms) BEGIN
114144
+  (0.1ms) ROLLBACK
114145
+  (0.1ms) BEGIN
114146
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114147
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114148
+ Processing by Writefully::PostsController#index as HTML
114149
+ Parameters: {"site_id"=>"codemy-net"}
114150
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114151
+ 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]]
114152
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.9ms)
114153
+  (0.2ms) ROLLBACK
114154
+  (0.1ms) BEGIN
114155
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114156
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114157
+ Processing by Writefully::PostsController#index as HTML
114158
+ Parameters: {"site_id"=>"codemy-net"}
114159
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114160
+ 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]]
114161
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.7ms)
114162
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
114163
+ Writefully::Post Exists (0.6ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
114164
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
114165
+ 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]]
114166
+  (0.2ms) ROLLBACK
114167
+  (0.1ms) BEGIN
114168
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114169
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114170
+ Writefully::Post Load (1.1ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
114171
+ Processing by Writefully::PostsController#show as HTML
114172
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
114173
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114174
+ 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]]
114175
+ Writefully::Post Load (0.8ms) 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]]
114176
+ Writefully::Post Load (1.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"]]
114177
+ Completed 200 OK in 11ms (Views: 2.0ms | ActiveRecord: 4.3ms)
114178
+  (0.5ms) ROLLBACK
114179
+  (0.2ms) BEGIN
114180
+ Writefully::Authorship Load (0.9ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114181
+ Writefully::Site Load (1.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114182
+ Writefully::Post Load (0.7ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
114183
+ Processing by Writefully::PostsController#show as HTML
114184
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
114185
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114186
+ 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]]
114187
+ Writefully::Post Load (0.9ms) 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]]
114188
+ Writefully::Post Load (0.9ms) 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"]]
114189
+ Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 2.9ms)
114190
+  (0.2ms) ROLLBACK
114191
+  (0.1ms) BEGIN
114192
+  (0.3ms) ROLLBACK
114193
+  (0.2ms) BEGIN
114194
+  (0.3ms) ROLLBACK
114195
+  (0.7ms) BEGIN
114196
+  (0.2ms) ROLLBACK
114197
+  (0.1ms) BEGIN
114198
+  (0.2ms) ROLLBACK
114199
+  (0.2ms) BEGIN
114200
+ Processing by Writefully::HooksController#create as HTML
114201
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
114202
+  (0.5ms) ROLLBACK
114203
+  (0.2ms) BEGIN
114204
+ Processing by Writefully::HooksController#create as HTML
114205
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
114206
+  (0.4ms) ROLLBACK
114207
+  (0.2ms) BEGIN
114208
+  (1.0ms) SELECT COUNT(*) FROM "writefully_authorships"
114209
+ Processing by Writefully::HooksController#create as HTML
114210
+ Writefully::Authorship Load (0.9ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114211
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
114212
+  (0.1ms) SAVEPOINT active_record_1
114213
+ SQL (1.1ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:30 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
114215
+ Completed 200 OK in 8ms (ActiveRecord: 2.6ms)
114216
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
114217
+  (0.5ms) ROLLBACK
114218
+  (0.2ms) BEGIN
114219
+  (0.3ms) ROLLBACK
114220
+  (0.1ms) BEGIN
114221
+  (0.1ms) ROLLBACK
114222
+  (0.1ms) BEGIN
114223
+  (0.1ms) ROLLBACK
114224
+  (0.1ms) BEGIN
114225
+  (0.3ms) ROLLBACK
114226
+  (0.2ms) BEGIN
114227
+  (0.5ms) ROLLBACK
114228
+  (0.2ms) BEGIN
114229
+  (0.4ms) ROLLBACK
114230
+  (0.1ms) BEGIN
114231
+ 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
114232
+  (0.4ms) ROLLBACK
114233
+  (0.1ms) BEGIN
114234
+ 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
114235
+  (0.4ms) SELECT COUNT(*) FROM "writefully_posts"
114236
+ 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
114237
+  (0.2ms) BEGIN
114238
+  (1.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
114239
+ Class Create Many Without Validations Or Callbacks (1.4ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-05-06 06:30:30.653761','2014-05-06 06:30:30.653798') RETURNING "id"
114240
+  (0.5ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
114241
+ Writefully::Tag Load (0.8ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
114242
+ 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_taggings"."post_id" = $1 [["post_id", 93356905]]
114243
+ SQL (1.2ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:30 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114244
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
114245
+ 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'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-05-06 06:30:30.690646','2014-05-06 06:30:30.690659') RETURNING "id"
114246
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
114247
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
114248
+ Writefully::Tag Load (0.9ms) 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]]
114249
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:30 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114250
+ SQL (0.6ms) UPDATE "writefully_posts" SET "details" = $1, "position" = $2, "content" = $3, "updated_at" = $4 WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."id" = 93356905 [["details", {}], ["position", 1], ["content", "converted stuff"], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114251
+  (0.4ms) COMMIT
114252
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
114253
+  (0.2ms) ROLLBACK
114254
+  (0.1ms) BEGIN
114255
+ 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
114256
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
114257
+ 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
114258
+  (0.2ms) BEGIN
114259
+  (0.5ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
114260
+ 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-05-06 06:30:30.714977','2014-05-06 06:30:30.714992') RETURNING "id"
114261
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
114262
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
114263
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
114264
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
114265
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
114266
+ SQL (0.9ms) 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", Tue, 06 May 2014 06:30:30 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114267
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:30 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114268
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:30 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:30:30 UTC +00:00]]
114269
+  (0.4ms) COMMIT
114270
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
114271
+  (0.2ms) ROLLBACK
114272
+  (0.1ms) BEGIN
114273
+ 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
114274
+  (0.2ms) ROLLBACK
114275
+  (0.1ms) BEGIN
114276
+ 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
114277
+  (0.2ms) ROLLBACK
114278
+  (0.1ms) BEGIN
114279
+  (0.2ms) ROLLBACK
114280
+  (0.1ms) BEGIN
114281
+  (0.2ms) ROLLBACK
114282
+  (0.2ms) BEGIN
114283
+  (0.2ms) ROLLBACK
114284
+  (0.1ms) BEGIN
114285
+  (0.2ms) ROLLBACK
114286
+  (114.1ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
114287
+  (239.1ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
114288
+ SQL (2.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
114289
+ SQL (37.2ms) CREATE EXTENSION IF NOT EXISTS "hstore"
114290
+  (6.9ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
114291
+  (1.1ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
114292
+  (4.5ms) 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, "trashed" boolean DEFAULT 'f') 
114293
+  (1.7ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
114294
+  (0.9ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
114295
+  (1.2ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
114296
+  (1.0ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
114297
+  (4.3ms) 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)
114298
+  (1.0ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
114299
+  (1.1ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
114300
+  (1.0ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
114301
+  (2.7ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
114302
+  (1.0ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
114303
+  (1.0ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
114304
+  (3.3ms) 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) 
114305
+  (0.9ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
114306
+  (1.1ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
114307
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
114308
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
114309
+  (0.3ms) SELECT version FROM "schema_migrations"
114310
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140501094825')
114311
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
114312
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
114313
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
114314
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
114315
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
114316
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
114317
+  (0.3ms) BEGIN
114318
+  (0.1ms) ROLLBACK
114319
+  (0.1ms) BEGIN
114320
+  (0.1ms) ROLLBACK
114321
+  (0.1ms) BEGIN
114322
+  (0.1ms) ROLLBACK
114323
+  (0.1ms) BEGIN
114324
+  (0.1ms) ROLLBACK
114325
+  (0.1ms) BEGIN
114326
+  (0.2ms) ROLLBACK
114327
+  (0.1ms) BEGIN
114328
+  (0.1ms) ROLLBACK
114329
+  (0.7ms) 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
114330
+  (0.2ms) BEGIN
114331
+ Fixture Delete (0.6ms) DELETE FROM "writefully_sites"
114332
+ 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-05-06 06:30:58', '2014-05-06 06:30:58', 163715408, 785112356)
114333
+ Fixture Insert (0.4ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-05-06 06:30:58', '2014-05-06 06:30:58', 653288584)
114334
+ Fixture Delete (1.5ms) DELETE FROM "writefully_posts"
114335
+ Fixture Insert (1.8ms) 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-05-06 06:30:58', '2014-05-06 06:30:58', 93356905, 163715408)
114336
+ Fixture Insert (0.9ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-05-06 06:30:58', '2014-05-06 06:30:58', 456337813)
114337
+ Fixture Delete (0.5ms) DELETE FROM "writefully_authorships"
114338
+ Fixture Insert (0.7ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-05-06 06:30:58', '2014-05-06 06:30:58', 785112356)
114339
+ Fixture Insert (0.3ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-05-06 06:30:58', '2014-05-06 06:30:58', 935496864)
114340
+  (0.8ms) COMMIT
114341
+  (0.6ms) 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
114342
+  (0.2ms) BEGIN
114343
+ Writefully::Authorship Load (1.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114344
+ Writefully::Site Load (1.0ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114345
+ Processing by Writefully::PostsController#index as HTML
114346
+ Parameters: {"site_id"=>"codemy-net"}
114347
+ Writefully::Authorship Load (0.9ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114348
+ Writefully::Site Load (1.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]]
114349
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (0.4ms)
114350
+ Completed 200 OK in 36ms (Views: 9.5ms | ActiveRecord: 2.7ms)
114351
+  (0.8ms) ROLLBACK
114352
+  (0.4ms) BEGIN
114353
+ Writefully::Authorship Load (1.1ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114354
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114355
+ Processing by Writefully::PostsController#index as HTML
114356
+ Parameters: {"site_id"=>"codemy-net"}
114357
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114358
+ 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]]
114359
+ Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 1.3ms)
114360
+ Writefully::Post Load (1.1ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
114361
+ Writefully::Post Exists (0.9ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
114362
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
114363
+ Writefully::Post Exists (0.8ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 456337813 LIMIT 1 [["site_id", 163715408]]
114364
+  (0.1ms) ROLLBACK
114365
+  (0.1ms) BEGIN
114366
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114367
+ Writefully::Site Load (0.9ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114368
+ Writefully::Post Load (1.0ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
114369
+ Processing by Writefully::PostsController#show as HTML
114370
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
114371
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114372
+ 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]]
114373
+ 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]]
114374
+ 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"]]
114375
+ Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 2.2ms)
114376
+  (0.2ms) ROLLBACK
114377
+  (0.1ms) BEGIN
114378
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114379
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114380
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
114381
+ Processing by Writefully::PostsController#show as HTML
114382
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
114383
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114384
+ 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]]
114385
+ Writefully::Post Load (0.7ms) 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]]
114386
+ Writefully::Post Load (0.6ms) 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"]]
114387
+ Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 2.0ms)
114388
+  (0.2ms) ROLLBACK
114389
+  (0.1ms) BEGIN
114390
+  (0.1ms) ROLLBACK
114391
+  (0.1ms) BEGIN
114392
+  (0.2ms) ROLLBACK
114393
+  (0.1ms) BEGIN
114394
+  (0.1ms) ROLLBACK
114395
+  (0.1ms) BEGIN
114396
+  (0.1ms) ROLLBACK
114397
+  (0.1ms) BEGIN
114398
+  (0.3ms) ROLLBACK
114399
+  (0.2ms) BEGIN
114400
+  (0.2ms) ROLLBACK
114401
+  (0.1ms) BEGIN
114402
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114403
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114404
+ Processing by Writefully::SitesController#edit as HTML
114405
+ Parameters: {"id"=>"codemy-net"}
114406
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114407
+ 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]]
114408
+ Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 1.3ms)
114409
+  (0.3ms) ROLLBACK
114410
+  (0.1ms) BEGIN
114411
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114412
+ Writefully::Site Load (0.6ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114413
+ Processing by Writefully::SitesController#show as HTML
114414
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
114415
+ Writefully::Authorship Load (1.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114416
+ 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]]
114417
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
114418
+ Completed 302 Found in 6ms (ActiveRecord: 2.2ms)
114419
+  (0.2ms) ROLLBACK
114420
+  (0.1ms) BEGIN
114421
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114422
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114423
+ Processing by Writefully::SitesController#show as HTML
114424
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
114425
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114426
+ 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]]
114427
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.7ms)
114428
+  (0.2ms) ROLLBACK
114429
+  (0.1ms) BEGIN
114430
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114431
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114432
+ Processing by Writefully::SitesController#show as HTML
114433
+ Parameters: {"id"=>"codemy-net"}
114434
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114435
+ 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]]
114436
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
114437
+ Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
114438
+  (0.2ms) ROLLBACK
114439
+  (0.1ms) BEGIN
114440
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114441
+ Processing by Writefully::SitesController#index as HTML
114442
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114443
+ Writefully::Site Exists (0.5ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
114444
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.9ms)
114445
+  (0.2ms) ROLLBACK
114446
+  (0.1ms) BEGIN
114447
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114448
+ Processing by Writefully::SitesController#index as HTML
114449
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114450
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
114451
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.6ms)
114452
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114453
+ 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]]
114454
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
114455
+ 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]]
114456
+  (0.2ms) ROLLBACK
114457
+  (0.1ms) BEGIN
114458
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
114459
+ Processing by Writefully::SitesController#index as HTML
114460
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114461
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
114462
+ Redirected to http://test.host/writefully/sites/new
114463
+ Completed 302 Found in 2ms (ActiveRecord: 0.7ms)
114464
+  (0.2ms) ROLLBACK
114465
+  (0.1ms) BEGIN
114466
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114467
+ Processing by Writefully::SitesController#new as HTML
114468
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114469
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.5ms)
114470
+  (0.2ms) ROLLBACK
114471
+  (0.2ms) BEGIN
114472
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114473
+  (0.4ms) SELECT COUNT(*) FROM "writefully_sites"
114474
+ Processing by Writefully::SitesController#create as HTML
114475
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
114476
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114477
+  (0.2ms) SAVEPOINT active_record_1
114478
+ Writefully::Site Exists (0.7ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
114479
+ SQL (1.9ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:58 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114480
+  (0.2ms) RELEASE SAVEPOINT active_record_1
114481
+ Redirected to http://test.host/writefully/sites
114482
+ Completed 302 Found in 68ms (ActiveRecord: 3.4ms)
114483
+  (0.5ms) SELECT COUNT(*) FROM "writefully_sites"
114484
+  (0.3ms) ROLLBACK
114485
+  (0.2ms) BEGIN
114486
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114487
+ Processing by Writefully::SitesController#create as HTML
114488
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
114489
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114490
+  (0.2ms) SAVEPOINT active_record_1
114491
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
114492
+ SQL (0.4ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:58 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114493
+  (0.2ms) RELEASE SAVEPOINT active_record_1
114494
+ Redirected to http://test.host/writefully/sites
114495
+ Completed 302 Found in 5ms (ActiveRecord: 1.5ms)
114496
+  (0.1ms) ROLLBACK
114497
+  (0.1ms) BEGIN
114498
+ 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
114499
+  (0.2ms) ROLLBACK
114500
+  (0.1ms) BEGIN
114501
+ Writefully::Site Load (0.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
114502
+  (0.4ms) SELECT COUNT(*) FROM "writefully_posts"
114503
+ Post Load (0.8ms) 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
114504
+  (0.2ms) BEGIN
114505
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
114506
+ Class Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-05-06 06:30:58.717070','2014-05-06 06:30:58.717107') RETURNING "id"
114507
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
114508
+ Writefully::Tag Load (1.2ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
114509
+ Writefully::Tag Load (1.4ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
114510
+ SQL (1.1ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:58 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114511
+  (0.5ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
114512
+ 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'),'A Shot Of Ruby','a-shot-of-ruby','Playlist','2014-05-06 06:30:58.748815','2014-05-06 06:30:58.748833') RETURNING "id"
114513
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
114514
+ Writefully::Tag Load (0.4ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
114515
+ Writefully::Tag Load (0.9ms) 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]]
114516
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:58 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114517
+ SQL (0.8ms) UPDATE "writefully_posts" SET "details" = $1, "position" = $2, "content" = $3, "updated_at" = $4 WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."id" = 93356905 [["details", {}], ["position", 1], ["content", "converted stuff"], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114518
+  (0.4ms) COMMIT
114519
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
114520
+  (0.1ms) ROLLBACK
114521
+  (0.1ms) BEGIN
114522
+ 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
114523
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
114524
+ Post Load (0.5ms) 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
114525
+  (0.2ms) BEGIN
114526
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
114527
+ 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-05-06 06:30:58.774050','2014-05-06 06:30:58.774065') RETURNING "id"
114528
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
114529
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
114530
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
114531
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
114532
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
114533
+ SQL (0.7ms) 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", Tue, 06 May 2014 06:30:58 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114534
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:58 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114535
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:58 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114536
+  (0.5ms) COMMIT
114537
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
114538
+  (0.1ms) ROLLBACK
114539
+  (0.1ms) BEGIN
114540
+ 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
114541
+  (0.2ms) ROLLBACK
114542
+  (0.1ms) BEGIN
114543
+ 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
114544
+  (0.1ms) ROLLBACK
114545
+  (0.1ms) BEGIN
114546
+  (0.1ms) ROLLBACK
114547
+  (0.1ms) BEGIN
114548
+  (0.1ms) ROLLBACK
114549
+  (0.1ms) BEGIN
114550
+  (0.1ms) ROLLBACK
114551
+  (0.1ms) BEGIN
114552
+  (0.1ms) ROLLBACK
114553
+  (0.1ms) BEGIN
114554
+  (0.1ms) ROLLBACK
114555
+  (0.1ms) BEGIN
114556
+  (0.1ms) ROLLBACK
114557
+  (0.1ms) BEGIN
114558
+  (0.1ms) ROLLBACK
114559
+  (0.1ms) BEGIN
114560
+  (0.1ms) ROLLBACK
114561
+  (0.1ms) BEGIN
114562
+  (0.1ms) ROLLBACK
114563
+  (0.1ms) BEGIN
114564
+  (0.1ms) ROLLBACK
114565
+  (0.1ms) BEGIN
114566
+  (0.2ms) ROLLBACK
114567
+  (0.1ms) BEGIN
114568
+  (0.1ms) ROLLBACK
114569
+  (0.1ms) BEGIN
114570
+  (0.1ms) ROLLBACK
114571
+  (0.1ms) BEGIN
114572
+  (0.1ms) ROLLBACK
114573
+  (0.1ms) BEGIN
114574
+  (0.1ms) ROLLBACK
114575
+  (0.1ms) BEGIN
114576
+  (0.1ms) ROLLBACK
114577
+  (0.1ms) BEGIN
114578
+  (0.1ms) ROLLBACK
114579
+  (0.1ms) BEGIN
114580
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114581
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
114582
+  (0.3ms) BEGIN
114583
+ SQL (1.2ms) 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", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114584
+  (0.4ms) COMMIT
114585
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114586
+  (0.1ms) ROLLBACK
114587
+  (0.1ms) BEGIN
114588
+  (0.5ms) SELECT COUNT(*) FROM "writefully_authorships"
114589
+ Processing by Writefully::HooksController#create as HTML
114590
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
114591
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
114592
+  (0.1ms) SAVEPOINT active_record_1
114593
+ SQL (0.8ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Tue, 06 May 2014 06:30:58 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Tue, 06 May 2014 06:30:58 UTC +00:00]]
114594
+  (0.1ms) RELEASE SAVEPOINT active_record_1
114595
+ Completed 200 OK in 5ms (ActiveRecord: 1.9ms)
114596
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
114597
+  (0.1ms) ROLLBACK
114598
+  (0.1ms) BEGIN
114599
+ Processing by Writefully::HooksController#create as HTML
114600
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
114601
+  (0.2ms) ROLLBACK
114602
+  (0.2ms) BEGIN
114603
+ Processing by Writefully::HooksController#create as HTML
114604
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
114605
+  (0.2ms) ROLLBACK
114606
+  (0.1ms) BEGIN
114607
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114608
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-05-06 13:30:58 +0700
114609
+ Processing by Writefully::SitesController#index as HTML
114610
+ Writefully::Site Exists (0.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
114611
+ Writefully::Site Load (0.9ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
114612
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_no.html.erb (0.3ms)
114613
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_yes.html.erb (0.2ms)
114614
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (4.6ms)
114615
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (0.9ms)
114616
+ Completed 200 OK in 109ms (Views: 46.1ms | ActiveRecord: 1.7ms)
114617
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114618
+  (0.3ms) ROLLBACK
114619
+  (0.1ms) BEGIN
114620
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
114621
+ Writefully::Site Load (0.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
114622
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-05-06 13:30:58 +0700
114623
+ Processing by Writefully::SitesController#show as HTML
114624
+ Parameters: {"id"=>"codemy-net"}
114625
+ Writefully::Site Load (1.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]]
114626
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
114627
+ Completed 302 Found in 6ms (ActiveRecord: 1.6ms)
114628
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-05-06 13:30:58 +0700
114629
+ Processing by Writefully::PostsController#index as HTML
114630
+ Parameters: {"site_id"=>"codemy-net"}
114631
+ 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]]
114632
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.5ms)
114633
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.5ms)
114634
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
114635
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
114636
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.7ms)
114637
+ 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]]
114638
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.4ms)
114639
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.0ms)
114640
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (4.8ms)
114641
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (0.6ms)
114642
+ Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 1.4ms)
114643
+ Writefully::Post Load (0.8ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
114644
+  (0.9ms) ROLLBACK
114645
+  (0.1ms) BEGIN
114646
+  (0.3ms) ROLLBACK
114647
+  (0.1ms) BEGIN
114648
+  (0.4ms) ROLLBACK
114649
+  (0.1ms) BEGIN
114650
+  (0.2ms) ROLLBACK
114651
+  (0.1ms) BEGIN
114652
+  (0.2ms) ROLLBACK
114653
+  (0.1ms) BEGIN
114654
+  (0.2ms) ROLLBACK
114655
+  (0.1ms) BEGIN
114656
+  (0.2ms) ROLLBACK
114657
+  (0.1ms) BEGIN
114658
+  (0.5ms) ROLLBACK