writefully 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 308eeeadcb4e6e36ef44673d75b240e051de2fb2
4
- data.tar.gz: dbf6727b93c13e139a29e2400185e6f778de7195
3
+ metadata.gz: 832656945bc5cc34af638ecae7e0fe4181c7fa77
4
+ data.tar.gz: a1aea987e095394806e6a0d049ce0fba3c926a2b
5
5
  SHA512:
6
- metadata.gz: b9dc0c87ca55ad7e6a6f97cac478b8c1ccc706f3154b84ed7c15ed1de18a04105e498e34468e19ee06dfdf1d35d687c59bbfb25bc1109b1f9b167b56931e666b
7
- data.tar.gz: f314fdfa14e15dc341549931591ba4a98264f2b5315ad404d9f7cd3c8f7877a7bbe76cc7761601f07f771fc2b325e02ab78dacb0f3ec6c57505bea45decd7ab8
6
+ metadata.gz: af637e9fe64da5d7d9e7f327a7c9b8d4202d81ca076152430930582d794bd41a9784988ed47404671acd5420699270e0d083712ffd48fb0f84e2f8f9a4db73fb
7
+ data.tar.gz: 9bb23d80392b39991430d5a3187e48a42e2071c3723b8e5928c6632cf4fb03dde1ea7da3874e2d94c001cdc154d7dd1d2e171003bb43f5e00d8be3267acd83c2
@@ -9,6 +9,7 @@ require 'activerecord-import'
9
9
  require 'connection_pool'
10
10
  require 'redis'
11
11
  require 'redis-namespace'
12
+ require 'writefully/version'
12
13
  require 'writefully/loader'
13
14
  require 'writefully/tools'
14
15
  require 'writefully/workers'
@@ -22,6 +23,7 @@ module Writefully
22
23
  Process = Struct.new(:config) do
23
24
 
24
25
  def listen
26
+ set_title
25
27
  set_options
26
28
  log_start
27
29
  load_models
@@ -31,6 +33,10 @@ module Writefully
31
33
  boot_listener!
32
34
  end
33
35
 
36
+ def set_title
37
+ $0 = "Writefully #{Writefully::VERSION}"
38
+ end
39
+
34
40
  def set_options
35
41
  Writefully.options = config
36
42
  end
@@ -1,3 +1,3 @@
1
1
  module Writefully
2
- VERSION = "0.4.5"
2
+ VERSION = "0.4.6"
3
3
  end
@@ -110031,3 +110031,767 @@ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.7ms)
110031
110031
   (0.2ms) ROLLBACK
110032
110032
   (0.1ms) BEGIN
110033
110033
   (0.2ms) ROLLBACK
110034
+  (370.4ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
110035
+  (345.1ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
110036
+ SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
110037
+ SQL (0.1ms) CREATE EXTENSION IF NOT EXISTS "hstore"
110038
+  (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) 
110039
+  (0.8ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
110040
+  (3.3ms) 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) 
110041
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
110042
+  (0.6ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
110043
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
110044
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
110045
+  (2.8ms) CREATE TABLE "writefully_sites" ("id" serial primary key, "name" character varying(255), "branch" character varying(255) DEFAULT 'master', "slug" character varying(255), "repository" hstore, "domain" character varying(255), "processing" boolean DEFAULT 't', "healthy" boolean DEFAULT 'f', "owner_id" integer, "created_at" timestamp, "updated_at" timestamp)
110046
+  (0.8ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
110047
+  (1.3ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
110048
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
110049
+  (1.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
110050
+  (0.8ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
110051
+  (0.7ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
110052
+  (2.4ms) CREATE TABLE "writefully_tags" ("id" serial primary key, "name" character varying(255), "slug" character varying(255), "type" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
110053
+  (1.0ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
110054
+  (0.7ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
110055
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
110056
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
110057
+  (0.2ms) SELECT version FROM "schema_migrations"
110058
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
110059
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
110060
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
110061
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
110062
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
110063
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
110064
+  (0.4ms) BEGIN
110065
+  (0.2ms) ROLLBACK
110066
+  (0.2ms) BEGIN
110067
+  (0.2ms) ROLLBACK
110068
+  (0.1ms) BEGIN
110069
+  (0.2ms) ROLLBACK
110070
+  (0.1ms) BEGIN
110071
+  (0.1ms) ROLLBACK
110072
+  (0.1ms) BEGIN
110073
+  (0.2ms) ROLLBACK
110074
+  (0.1ms) BEGIN
110075
+  (0.1ms) ROLLBACK
110076
+  (0.1ms) BEGIN
110077
+  (0.1ms) ROLLBACK
110078
+  (0.1ms) BEGIN
110079
+  (0.1ms) ROLLBACK
110080
+  (0.8ms) 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
110081
+  (0.2ms) BEGIN
110082
+ Fixture Delete (0.4ms) DELETE FROM "writefully_sites"
110083
+ Fixture Insert (1.1ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 09:19:50', '2014-04-23 09:19:50', 163715408, 785112356)
110084
+ Fixture Insert (0.3ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 09:19:50', '2014-04-23 09:19:50', 653288584)
110085
+ Fixture Delete (0.6ms) DELETE FROM "writefully_posts"
110086
+ Fixture Insert (0.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-04-23 09:19:50', '2014-04-23 09:19:50', 93356905, 163715408)
110087
+ 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-04-23 09:19:50', '2014-04-23 09:19:50', 456337813)
110088
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
110089
+ Fixture Insert (0.8ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 09:19:50', '2014-04-23 09:19:50', 785112356)
110090
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 09:19:50', '2014-04-23 09:19:50', 935496864)
110091
+  (0.4ms) COMMIT
110092
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
110093
+  (0.1ms) BEGIN
110094
+ Writefully::Authorship Load (1.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110095
+ Writefully::Site Load (0.8ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110096
+ Processing by Writefully::PostsController#index as HTML
110097
+ Parameters: {"site_id"=>"codemy-net"}
110098
+ Writefully::Authorship Load (0.7ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110099
+ Writefully::Site Load (1.0ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1 [["owner_id", 785112356]]
110100
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (0.2ms)
110101
+ Completed 200 OK in 67ms (Views: 5.9ms | ActiveRecord: 1.7ms)
110102
+  (0.4ms) ROLLBACK
110103
+  (0.2ms) BEGIN
110104
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110105
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110106
+ Processing by Writefully::PostsController#index as HTML
110107
+ Parameters: {"site_id"=>"codemy-net"}
110108
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110109
+ 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]]
110110
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.8ms)
110111
+ Writefully::Post Load (0.8ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110112
+ Writefully::Post Exists (1.0ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
110113
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
110114
+ 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]]
110115
+  (0.2ms) ROLLBACK
110116
+  (0.1ms) BEGIN
110117
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110118
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110119
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110120
+ Processing by Writefully::PostsController#show as HTML
110121
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
110122
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110123
+ 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]]
110124
+ 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]]
110125
+ Writefully::Post Load (0.7ms) 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"]]
110126
+ Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 2.2ms)
110127
+  (0.2ms) ROLLBACK
110128
+  (0.2ms) BEGIN
110129
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110130
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110131
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110132
+ Processing by Writefully::PostsController#show as HTML
110133
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
110134
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110135
+ 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]]
110136
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408]]
110137
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1 [["site_id", 163715408], ["id", "93356905"]]
110138
+ Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.3ms)
110139
+  (0.2ms) ROLLBACK
110140
+  (0.1ms) BEGIN
110141
+  (0.3ms) ROLLBACK
110142
+  (0.1ms) BEGIN
110143
+  (0.1ms) ROLLBACK
110144
+  (0.1ms) BEGIN
110145
+  (0.1ms) ROLLBACK
110146
+  (0.1ms) BEGIN
110147
+  (0.1ms) ROLLBACK
110148
+  (0.1ms) BEGIN
110149
+  (0.1ms) ROLLBACK
110150
+  (0.1ms) BEGIN
110151
+  (0.1ms) ROLLBACK
110152
+  (0.1ms) BEGIN
110153
+  (0.1ms) ROLLBACK
110154
+  (0.1ms) BEGIN
110155
+  (0.1ms) ROLLBACK
110156
+  (0.1ms) BEGIN
110157
+  (0.2ms) ROLLBACK
110158
+  (0.1ms) BEGIN
110159
+  (0.2ms) ROLLBACK
110160
+  (0.1ms) BEGIN
110161
+  (0.3ms) ROLLBACK
110162
+  (0.1ms) BEGIN
110163
+  (0.2ms) ROLLBACK
110164
+  (0.1ms) BEGIN
110165
+  (0.2ms) ROLLBACK
110166
+  (0.1ms) BEGIN
110167
+  (0.2ms) ROLLBACK
110168
+  (0.2ms) BEGIN
110169
+  (0.1ms) ROLLBACK
110170
+  (0.1ms) BEGIN
110171
+  (0.1ms) ROLLBACK
110172
+  (0.1ms) BEGIN
110173
+  (0.1ms) ROLLBACK
110174
+  (0.1ms) BEGIN
110175
+  (0.1ms) ROLLBACK
110176
+  (0.1ms) BEGIN
110177
+  (0.2ms) ROLLBACK
110178
+  (0.1ms) BEGIN
110179
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110180
+ Writefully::Site Load (1.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
110181
+  (0.2ms) BEGIN
110182
+ 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", Wed, 23 Apr 2014 09:19:50 UTC +00:00]]
110183
+  (0.2ms) ROLLBACK
110184
+  (0.2ms) ROLLBACK
110185
+  (0.1ms) BEGIN
110186
+  (0.2ms) ROLLBACK
110187
+  (0.1ms) BEGIN
110188
+ 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
110189
+  (0.2ms) ROLLBACK
110190
+  (0.1ms) BEGIN
110191
+ 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
110192
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110193
+ Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'hash-selector-pattern' ORDER BY "writefully_posts"."id" ASC LIMIT 1
110194
+  (0.2ms) BEGIN
110195
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
110196
+ Class Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-04-23 09:19:50.506430','2014-04-23 09:19:50.506451') RETURNING "id"
110197
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
110198
+ Writefully::Tag Load (0.5ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
110199
+ Writefully::Tag Load (0.8ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" IS NULL AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
110200
+ SQL (1.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00]]
110201
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
110202
+ 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-04-23 09:19:50.538909','2014-04-23 09:19:50.538923') RETURNING "id"
110203
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
110204
+ Writefully::Tag Load (0.2ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
110205
+ Writefully::Tag Load (0.6ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" = 'Playlist' AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
110206
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00]]
110207
+ SQL (0.6ms) UPDATE "writefully_posts" SET "slug" = $1, "details" = $2, "position" = $3, "content" = $4, "updated_at" = $5 WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."id" = 93356905 [["slug", "ruby-hash-selector-pattern"], ["details", {}], ["position", 1], ["content", "converted stuff"], ["updated_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00]]
110208
+  (0.5ms) COMMIT
110209
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110210
+  (0.1ms) ROLLBACK
110211
+  (0.1ms) BEGIN
110212
+ 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
110213
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
110214
+ 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
110215
+  (0.2ms) BEGIN
110216
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
110217
+ 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-04-23 09:19:50.565547','2014-04-23 09:19:50.565564') RETURNING "id"
110218
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
110219
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
110220
+  (0.5ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
110221
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
110222
+ Writefully::Tag Load (0.2ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
110223
+ SQL (0.6ms) INSERT INTO "writefully_posts" ("content", "created_at", "details", "position", "site_id", "slug", "title", "type", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["content", "converted stuff"], ["created_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00]]
110224
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00]]
110225
+ SQL (0.3ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 09:19:50 UTC +00:00]]
110226
+  (0.4ms) COMMIT
110227
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110228
+  (0.1ms) ROLLBACK
110229
+  (0.1ms) BEGIN
110230
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110231
+  (0.1ms) ROLLBACK
110232
+  (0.1ms) BEGIN
110233
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110234
+  (0.1ms) ROLLBACK
110235
+  (0.1ms) BEGIN
110236
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110237
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-04-23 16:19:50 +0700
110238
+ Processing by Writefully::SitesController#index as HTML
110239
+ Writefully::Site Exists (0.9ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
110240
+ Writefully::Site Load (0.7ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
110241
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.3ms)
110242
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.3ms)
110243
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (4.5ms)
110244
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.7ms)
110245
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.2ms)
110246
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (4.4ms)
110247
+ Completed 200 OK in 350ms (Views: 332.8ms | ActiveRecord: 1.6ms)
110248
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110249
+  (0.3ms) ROLLBACK
110250
+  (0.1ms) BEGIN
110251
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110252
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110253
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-04-23 16:19:51 +0700
110254
+ Processing by Writefully::SitesController#show as HTML
110255
+ Parameters: {"id"=>"codemy-net"}
110256
+ 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]]
110257
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
110258
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
110259
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-04-23 16:19:51 +0700
110260
+ Processing by Writefully::PostsController#index as HTML
110261
+ Parameters: {"site_id"=>"codemy-net"}
110262
+ 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]]
110263
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.7ms)
110264
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110265
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110266
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.2ms)
110267
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.3ms)
110268
+ 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]]
110269
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.3ms)
110270
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.0ms)
110271
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (3.9ms)
110272
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110273
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110274
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.0ms)
110275
+ Completed 200 OK in 17ms (Views: 13.4ms | ActiveRecord: 1.4ms)
110276
+ Writefully::Post Load (0.5ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110277
+  (0.5ms) ROLLBACK
110278
+  (0.2ms) BEGIN
110279
+ Processing by Writefully::HooksController#create as HTML
110280
+ Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
110281
+  (0.3ms) ROLLBACK
110282
+  (0.1ms) BEGIN
110283
+  (0.4ms) SELECT COUNT(*) FROM "writefully_authorships"
110284
+ Processing by Writefully::HooksController#create as HTML
110285
+ Writefully::Authorship Load (0.6ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110286
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
110287
+  (0.1ms) SAVEPOINT active_record_1
110288
+ SQL (1.0ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:19:51 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Wed, 23 Apr 2014 09:19:51 UTC +00:00]]
110289
+  (0.2ms) RELEASE SAVEPOINT active_record_1
110290
+ Completed 200 OK in 7ms (ActiveRecord: 2.2ms)
110291
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
110292
+  (0.3ms) ROLLBACK
110293
+  (0.1ms) BEGIN
110294
+ Processing by Writefully::HooksController#create as HTML
110295
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
110296
+  (0.3ms) ROLLBACK
110297
+  (0.2ms) BEGIN
110298
+  (0.2ms) ROLLBACK
110299
+  (0.1ms) BEGIN
110300
+  (0.1ms) ROLLBACK
110301
+  (0.1ms) BEGIN
110302
+  (0.1ms) ROLLBACK
110303
+  (0.1ms) BEGIN
110304
+  (0.1ms) ROLLBACK
110305
+  (0.1ms) BEGIN
110306
+  (0.2ms) ROLLBACK
110307
+  (0.2ms) BEGIN
110308
+  (0.4ms) ROLLBACK
110309
+  (0.1ms) BEGIN
110310
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110311
+ Processing by Writefully::SitesController#index as HTML
110312
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110313
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
110314
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.5ms)
110315
+  (0.2ms) ROLLBACK
110316
+  (0.1ms) BEGIN
110317
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110318
+ Processing by Writefully::SitesController#index as HTML
110319
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110320
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
110321
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.6ms)
110322
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110323
+ 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]]
110324
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
110325
+ 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]]
110326
+  (0.1ms) ROLLBACK
110327
+  (0.1ms) BEGIN
110328
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
110329
+ Processing by Writefully::SitesController#index as HTML
110330
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110331
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
110332
+ Redirected to http://test.host/writefully/sites/new
110333
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
110334
+  (0.1ms) ROLLBACK
110335
+  (0.1ms) BEGIN
110336
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110337
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110338
+ Processing by Writefully::SitesController#show as HTML
110339
+ Parameters: {"id"=>"codemy-net"}
110340
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110341
+ 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]]
110342
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
110343
+ Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
110344
+  (0.3ms) ROLLBACK
110345
+  (0.1ms) BEGIN
110346
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110347
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110348
+ Processing by Writefully::SitesController#show as HTML
110349
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
110350
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110351
+ 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]]
110352
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
110353
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
110354
+  (0.2ms) ROLLBACK
110355
+  (0.2ms) BEGIN
110356
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110357
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110358
+ Processing by Writefully::SitesController#show as HTML
110359
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
110360
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110361
+ 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]]
110362
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.6ms)
110363
+  (0.2ms) ROLLBACK
110364
+  (0.1ms) BEGIN
110365
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110366
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
110367
+ Processing by Writefully::SitesController#create as HTML
110368
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
110369
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110370
+  (0.2ms) SAVEPOINT active_record_1
110371
+ Writefully::Site Exists (0.4ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
110372
+ SQL (0.6ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:19:51 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 09:19:51 UTC +00:00]]
110373
+  (0.2ms) RELEASE SAVEPOINT active_record_1
110374
+ Redirected to http://test.host/writefully/sites
110375
+ Completed 302 Found in 7ms (ActiveRecord: 1.6ms)
110376
+  (0.2ms) SELECT COUNT(*) FROM "writefully_sites"
110377
+  (0.2ms) ROLLBACK
110378
+  (0.1ms) BEGIN
110379
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110380
+ Processing by Writefully::SitesController#create as HTML
110381
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
110382
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110383
+  (0.2ms) SAVEPOINT active_record_1
110384
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
110385
+ 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", Wed, 23 Apr 2014 09:19:51 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 09:19:51 UTC +00:00]]
110386
+  (0.2ms) RELEASE SAVEPOINT active_record_1
110387
+ Redirected to http://test.host/writefully/sites
110388
+ Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
110389
+  (0.2ms) ROLLBACK
110390
+  (0.1ms) BEGIN
110391
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110392
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110393
+ Processing by Writefully::SitesController#edit as HTML
110394
+ Parameters: {"id"=>"codemy-net"}
110395
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110396
+ 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]]
110397
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.6ms)
110398
+  (0.2ms) ROLLBACK
110399
+  (0.1ms) BEGIN
110400
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110401
+ Processing by Writefully::SitesController#new as HTML
110402
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110403
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.3ms)
110404
+  (0.2ms) ROLLBACK
110405
+  (0.1ms) BEGIN
110406
+  (0.2ms) ROLLBACK
110407
+  (0.1ms) BEGIN
110408
+  (0.2ms) ROLLBACK
110409
+  (118.6ms) DROP DATABASE IF EXISTS "writefully_dummy_test"
110410
+  (233.0ms) CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
110411
+ SQL (1.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
110412
+ SQL (0.2ms) CREATE EXTENSION IF NOT EXISTS "hstore"
110413
+  (8.2ms) CREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
110414
+  (1.2ms) CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
110415
+  (3.1ms) 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) 
110416
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
110417
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")
110418
+  (0.9ms) CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
110419
+  (0.7ms) CREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")
110420
+  (2.8ms) CREATE TABLE "writefully_sites" ("id" serial primary key, "name" character varying(255), "branch" character varying(255) DEFAULT 'master', "slug" character varying(255), "repository" hstore, "domain" character varying(255), "processing" boolean DEFAULT 't', "healthy" boolean DEFAULT 'f', "owner_id" integer, "created_at" timestamp, "updated_at" timestamp)
110421
+  (0.7ms) CREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")
110422
+  (1.3ms) CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
110423
+  (0.8ms) CREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")
110424
+  (1.5ms) CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
110425
+  (0.8ms) CREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")
110426
+  (0.7ms) CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
110427
+  (2.4ms) CREATE TABLE "writefully_tags" ("id" serial primary key, "name" character varying(255), "slug" character varying(255), "type" character varying(255), "created_at" timestamp, "updated_at" timestamp) 
110428
+  (0.7ms) CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
110429
+  (0.7ms) CREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")
110430
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
110431
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
110432
+  (0.2ms) SELECT version FROM "schema_migrations"
110433
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181629')
110434
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
110435
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091244')
110436
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
110437
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20140402200330')
110438
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
110439
+  (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
110440
+  (0.2ms) BEGIN
110441
+ Fixture Delete (0.5ms) DELETE FROM "writefully_sites"
110442
+ Fixture Insert (1.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-04-23 09:20:08', '2014-04-23 09:20:08', 163715408, 785112356)
110443
+ Fixture Insert (0.3ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 09:20:08', '2014-04-23 09:20:08', 653288584)
110444
+ Fixture Delete (0.5ms) DELETE FROM "writefully_posts"
110445
+ Fixture Insert (0.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-04-23 09:20:08', '2014-04-23 09:20:08', 93356905, 163715408)
110446
+ 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-04-23 09:20:08', '2014-04-23 09:20:08', 456337813)
110447
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
110448
+ 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-04-23 09:20:08', '2014-04-23 09:20:08', 785112356)
110449
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 09:20:08', '2014-04-23 09:20:08', 935496864)
110450
+  (0.7ms) COMMIT
110451
+  (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
110452
+  (0.2ms) BEGIN
110453
+ Writefully::Authorship Load (1.0ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110454
+ Started GET "/writefully/sites" for 127.0.0.1 at 2014-04-23 16:20:09 +0700
110455
+ Processing by Writefully::SitesController#index as HTML
110456
+ Writefully::Site Exists (0.8ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
110457
+ Writefully::Site Load (0.5ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 [["owner_id", 785112356]]
110458
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/processing/_yes.html.erb (0.2ms)
110459
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/healthy/_no.html.erb (0.2ms)
110460
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/_site.html.erb (3.3ms)
110461
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/index.html.erb within layouts/writefully/application (59.0ms)
110462
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.5ms)
110463
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110464
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (3.1ms)
110465
+ Completed 200 OK in 126ms (Views: 90.8ms | ActiveRecord: 1.3ms)
110466
+ Writefully::Site Load (1.0ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110467
+  (0.4ms) ROLLBACK
110468
+  (0.2ms) BEGIN
110469
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110470
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110471
+ Started GET "/writefully/sites/codemy-net" for 127.0.0.1 at 2014-04-23 16:20:09 +0700
110472
+ Processing by Writefully::SitesController#show as HTML
110473
+ Parameters: {"id"=>"codemy-net"}
110474
+ 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]]
110475
+ Redirected to http://www.example.com/writefully/sites/codemy-net/posts
110476
+ Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
110477
+ Started GET "/writefully/sites/codemy-net/posts" for 127.0.0.1 at 2014-04-23 16:20:09 +0700
110478
+ Processing by Writefully::PostsController#index as HTML
110479
+ Parameters: {"site_id"=>"codemy-net"}
110480
+ 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]]
110481
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_heading.html.erb (0.6ms)
110482
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110483
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110484
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110485
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/sites/show/_tabs.html.erb (2.0ms)
110486
+ Writefully::Post Load (1.1ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC [["site_id", 163715408]]
110487
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_not_published.html.erb (0.2ms)
110488
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/_post.html.erb (2.8ms)
110489
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/posts/index.html.erb within layouts/writefully/application (31.4ms)
110490
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110491
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_activeable_link_to.html.erb (0.1ms)
110492
+ Rendered /Users/zacksiri/Repositories/writefully/app/views/writefully/application/_navigation.html.erb (1.0ms)
110493
+ Completed 200 OK in 40ms (Views: 34.1ms | ActiveRecord: 1.6ms)
110494
+ Writefully::Post Load (0.9ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110495
+  (0.5ms) ROLLBACK
110496
+  (0.1ms) BEGIN
110497
+  (0.2ms) ROLLBACK
110498
+  (0.1ms) BEGIN
110499
+  (0.2ms) ROLLBACK
110500
+  (0.2ms) BEGIN
110501
+  (0.2ms) ROLLBACK
110502
+  (0.2ms) BEGIN
110503
+  (0.2ms) ROLLBACK
110504
+  (0.1ms) BEGIN
110505
+  (0.2ms) ROLLBACK
110506
+  (0.1ms) BEGIN
110507
+ Writefully::Site Load (1.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110508
+  (0.3ms) ROLLBACK
110509
+  (0.2ms) BEGIN
110510
+ 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
110511
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110512
+ Post Load (0.6ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."type" IN ('Post') AND "writefully_posts"."site_id" = 163715408 AND "writefully_posts"."slug" = 'hash-selector-pattern' ORDER BY "writefully_posts"."id" ASC LIMIT 1
110513
+  (0.2ms) BEGIN
110514
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
110515
+ Class Create Many Without Validations Or Callbacks (1.1ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Ruby','ruby',NULL,'2014-04-23 09:20:09.473942','2014-04-23 09:20:09.473964') RETURNING "id"
110516
+  (0.4ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
110517
+ Writefully::Tag Load (0.8ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
110518
+ Writefully::Tag Load (0.8ms) SELECT "writefully_tags".* FROM "writefully_tags" INNER JOIN "writefully_taggings" ON "writefully_tags"."id" = "writefully_taggings"."tag_id" WHERE "writefully_tags"."type" IS NULL AND "writefully_taggings"."post_id" = $1 [["post_id", 93356905]]
110519
+ SQL (2.2ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00], ["post_id", 93356905], ["tag_id", 1], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110520
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
110521
+ 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-04-23 09:20:09.507900','2014-04-23 09:20:09.507915') RETURNING "id"
110522
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
110523
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
110524
+ 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]]
110525
+ SQL (0.5ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00], ["post_id", 93356905], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110526
+ 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", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110527
+  (0.6ms) COMMIT
110528
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110529
+  (0.2ms) ROLLBACK
110530
+  (0.1ms) BEGIN
110531
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
110532
+  (0.2ms) SELECT COUNT(*) FROM "writefully_posts"
110533
+ 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
110534
+  (0.2ms) BEGIN
110535
+  (0.4ms) SELECT "writefully_tags"."name" FROM "writefully_tags"
110536
+ Class Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "writefully_tags" ("id","name","slug","type","created_at","updated_at") VALUES (nextval('writefully_tags_id_seq'),'Rails','rails',NULL,'2014-04-23 09:20:09.580268','2014-04-23 09:20:09.580283') RETURNING "id"
110537
+  (0.2ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
110538
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
110539
+  (0.3ms) SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
110540
+  (0.3ms) SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
110541
+ Writefully::Tag Load (0.3ms) SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
110542
+ 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", Wed, 23 Apr 2014 09:20:09 UTC +00:00], ["details", {}], ["position", 2], ["site_id", 163715408], ["slug", "rails-flash-partials"], ["title", "Rails Flash Partials"], ["type", "Post"], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110543
+ SQL (0.6ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00], ["post_id", 456337814], ["tag_id", 3], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110544
+ SQL (0.4ms) INSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00], ["post_id", 456337814], ["tag_id", 2], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110545
+  (0.5ms) COMMIT
110546
+  (0.3ms) SELECT COUNT(*) FROM "writefully_posts"
110547
+  (0.2ms) ROLLBACK
110548
+  (0.1ms) BEGIN
110549
+ 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
110550
+  (0.2ms) ROLLBACK
110551
+  (0.1ms) BEGIN
110552
+ 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
110553
+  (0.2ms) ROLLBACK
110554
+  (0.1ms) BEGIN
110555
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
110556
+ Processing by Writefully::HooksController#create as HTML
110557
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110558
+  (0.2ms) SELECT COUNT(*) FROM "writefully_authorships"
110559
+  (0.1ms) SAVEPOINT active_record_1
110560
+ SQL (0.7ms) INSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00], ["data", {:uid=>1314654, :user_name=>"nontone", :avatar=>"https://avatars.githubusercontent.com/u/1314654?"}], ["role", "collaborator"], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
110562
+ Completed 200 OK in 6ms (ActiveRecord: 1.6ms)
110563
+  (0.3ms) SELECT COUNT(*) FROM "writefully_authorships"
110564
+  (0.1ms) ROLLBACK
110565
+  (0.1ms) BEGIN
110566
+ Processing by Writefully::HooksController#create as HTML
110567
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
110568
+  (0.2ms) ROLLBACK
110569
+  (0.1ms) BEGIN
110570
+ Processing by Writefully::HooksController#create as HTML
110571
+ Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
110572
+  (0.2ms) ROLLBACK
110573
+  (0.2ms) BEGIN
110574
+  (0.1ms) ROLLBACK
110575
+  (0.1ms) BEGIN
110576
+  (0.1ms) ROLLBACK
110577
+  (0.1ms) BEGIN
110578
+  (0.2ms) ROLLBACK
110579
+  (0.1ms) BEGIN
110580
+  (0.2ms) ROLLBACK
110581
+  (0.1ms) BEGIN
110582
+  (0.2ms) ROLLBACK
110583
+  (0.2ms) BEGIN
110584
+  (0.1ms) ROLLBACK
110585
+  (0.1ms) BEGIN
110586
+  (0.2ms) ROLLBACK
110587
+  (0.1ms) BEGIN
110588
+  (0.2ms) ROLLBACK
110589
+  (0.1ms) BEGIN
110590
+  (0.2ms) ROLLBACK
110591
+  (0.1ms) BEGIN
110592
+  (0.1ms) ROLLBACK
110593
+  (0.1ms) BEGIN
110594
+  (0.2ms) ROLLBACK
110595
+  (0.1ms) BEGIN
110596
+  (0.2ms) ROLLBACK
110597
+  (0.1ms) BEGIN
110598
+  (0.2ms) ROLLBACK
110599
+  (0.1ms) BEGIN
110600
+  (0.2ms) ROLLBACK
110601
+  (0.1ms) BEGIN
110602
+  (0.3ms) ROLLBACK
110603
+  (0.1ms) BEGIN
110604
+  (0.2ms) ROLLBACK
110605
+  (0.1ms) BEGIN
110606
+  (0.1ms) ROLLBACK
110607
+  (0.1ms) BEGIN
110608
+  (0.1ms) ROLLBACK
110609
+  (0.1ms) BEGIN
110610
+  (0.1ms) ROLLBACK
110611
+  (0.1ms) BEGIN
110612
+  (0.2ms) ROLLBACK
110613
+  (0.1ms) BEGIN
110614
+  (0.1ms) ROLLBACK
110615
+  (0.1ms) BEGIN
110616
+  (0.1ms) ROLLBACK
110617
+  (0.1ms) BEGIN
110618
+  (0.2ms) ROLLBACK
110619
+  (0.1ms) BEGIN
110620
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110621
+ Processing by Writefully::SitesController#new as HTML
110622
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110623
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.3ms)
110624
+  (0.2ms) ROLLBACK
110625
+  (0.1ms) BEGIN
110626
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110627
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110628
+ Processing by Writefully::SitesController#edit as HTML
110629
+ Parameters: {"id"=>"codemy-net"}
110630
+ Writefully::Authorship Load (0.5ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110631
+ 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]]
110632
+ Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.8ms)
110633
+  (0.2ms) ROLLBACK
110634
+  (0.1ms) BEGIN
110635
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110636
+  (0.4ms) SELECT COUNT(*) FROM "writefully_sites"
110637
+ Processing by Writefully::SitesController#create as HTML
110638
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
110639
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110640
+  (0.2ms) SAVEPOINT active_record_1
110641
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
110642
+ SQL (0.8ms) INSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["created_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110643
+  (0.2ms) RELEASE SAVEPOINT active_record_1
110644
+ Redirected to http://test.host/writefully/sites
110645
+ Completed 302 Found in 9ms (ActiveRecord: 1.9ms)
110646
+  (0.3ms) SELECT COUNT(*) FROM "writefully_sites"
110647
+  (0.2ms) ROLLBACK
110648
+  (0.1ms) BEGIN
110649
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110650
+ Processing by Writefully::SitesController#create as HTML
110651
+ Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
110652
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110653
+  (0.2ms) SAVEPOINT active_record_1
110654
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
110655
+ 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", Wed, 23 Apr 2014 09:20:09 UTC +00:00], ["domain", "http://www.newsite.com"], ["name", "New Site"], ["owner_id", 785112356], ["slug", "new-site"], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110656
+  (0.3ms) RELEASE SAVEPOINT active_record_1
110657
+ Redirected to http://test.host/writefully/sites
110658
+ Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
110659
+  (0.3ms) ROLLBACK
110660
+  (0.2ms) BEGIN
110661
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110662
+ Processing by Writefully::SitesController#index as HTML
110663
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110664
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
110665
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.6ms)
110666
+  (0.4ms) ROLLBACK
110667
+  (0.1ms) BEGIN
110668
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110669
+ Processing by Writefully::SitesController#index as HTML
110670
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110671
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
110672
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.7ms)
110673
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110674
+ 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]]
110675
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
110676
+ Writefully::Site Exists (0.3ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
110677
+  (0.1ms) ROLLBACK
110678
+  (0.1ms) BEGIN
110679
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
110680
+ Processing by Writefully::SitesController#index as HTML
110681
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110682
+ Writefully::Site Exists (0.2ms) SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 935496864]]
110683
+ Redirected to http://test.host/writefully/sites/new
110684
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
110685
+  (0.2ms) ROLLBACK
110686
+  (0.1ms) BEGIN
110687
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110688
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110689
+ Processing by Writefully::SitesController#show as HTML
110690
+ Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
110691
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110692
+ 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]]
110693
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
110694
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
110695
+  (0.2ms) ROLLBACK
110696
+  (0.1ms) BEGIN
110697
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110698
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110699
+ Processing by Writefully::SitesController#show as HTML
110700
+ Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
110701
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110702
+ 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]]
110703
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.6ms)
110704
+  (0.3ms) ROLLBACK
110705
+  (0.1ms) BEGIN
110706
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110707
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110708
+ Processing by Writefully::SitesController#show as HTML
110709
+ Parameters: {"id"=>"codemy-net"}
110710
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110711
+ 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]]
110712
+ Redirected to http://test.host/writefully/sites/codemy-net/posts
110713
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
110714
+  (0.1ms) ROLLBACK
110715
+  (0.1ms) BEGIN
110716
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110717
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1
110718
+  (0.1ms) BEGIN
110719
+ SQL (0.6ms) UPDATE "writefully_sites" SET "processing" = $1, "healthy" = $2, "repository" = $3, "updated_at" = $4 WHERE "writefully_sites"."id" = 163715408 [["processing", false], ["healthy", true], ["repository", {:name=>"codemy-net", :id=>"1234", :hook_id=>"123"}], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
110720
+  (1.4ms) COMMIT
110721
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110722
+  (0.2ms) ROLLBACK
110723
+  (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
110724
+  (0.2ms) BEGIN
110725
+ Fixture Delete (0.2ms) DELETE FROM "writefully_sites"
110726
+ Fixture Insert (0.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id", "owner_id") VALUES ('Codemy.net', 'codemy-net', 'http://www.codemy.net', '2014-04-23 09:20:09', '2014-04-23 09:20:09', 163715408, 785112356)
110727
+ Fixture Insert (0.2ms) INSERT INTO "writefully_sites" ("name", "slug", "domain", "created_at", "updated_at", "id") VALUES ('Some Site', 'some-site', 'http://www.somesite.com', '2014-04-23 09:20:09', '2014-04-23 09:20:09', 653288584)
110728
+ Fixture Delete (0.2ms) DELETE FROM "writefully_posts"
110729
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id", "site_id") VALUES ('Ruby Hash Selector Pattern', 'hash-selector-pattern', 'Blah', 'Post', '2014-04-23 09:20:09', '2014-04-23 09:20:09', 93356905, 163715408)
110730
+ Fixture Insert (0.2ms) INSERT INTO "writefully_posts" ("title", "slug", "content", "type", "created_at", "updated_at", "id") VALUES ('Blah Post', 'blah-post', 'Blah', 'Post', '2014-04-23 09:20:09', '2014-04-23 09:20:09', 456337813)
110731
+ Fixture Delete (0.2ms) DELETE FROM "writefully_authorships"
110732
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"sakchai@artellectual.com","name"=>"Zack Siri","user_name"=>"zacksiri"', '2014-04-23 09:20:09', '2014-04-23 09:20:09', 785112356)
110733
+ Fixture Insert (0.2ms) INSERT INTO "writefully_authorships" ("data", "created_at", "updated_at", "id") VALUES ('"email"=>"somedude@gmail.com","name"=>"Some Dude","user_name"=>"somedude"', '2014-04-23 09:20:09', '2014-04-23 09:20:09', 935496864)
110734
+  (0.4ms) COMMIT
110735
+  (0.2ms) ALTER TABLE "writefully_authorships" ENABLE TRIGGER ALL;ALTER TABLE "writefully_posts" ENABLE TRIGGER ALL;ALTER TABLE "writefully_sites" ENABLE TRIGGER ALL;ALTER TABLE "writefully_taggings" ENABLE TRIGGER ALL;ALTER TABLE "writefully_tags" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
110736
+  (0.1ms) BEGIN
110737
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110738
+ Writefully::Site Load (0.4ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110739
+ Processing by Writefully::PostsController#index as HTML
110740
+ Parameters: {"site_id"=>"codemy-net"}
110741
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110742
+ 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]]
110743
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.7ms)
110744
+  (0.2ms) ROLLBACK
110745
+  (0.1ms) BEGIN
110746
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110747
+ Writefully::Site Load (0.3ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110748
+ Processing by Writefully::PostsController#index as HTML
110749
+ Parameters: {"site_id"=>"codemy-net"}
110750
+ Writefully::Authorship Load (0.3ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110751
+ 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]]
110752
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.7ms)
110753
+ Writefully::Post Load (0.3ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110754
+ Writefully::Post Exists (0.8ms) SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
110755
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
110756
+ 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]]
110757
+  (0.2ms) ROLLBACK
110758
+  (0.1ms) BEGIN
110759
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110760
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110761
+ Writefully::Post Load (0.4ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110762
+ Processing by Writefully::PostsController#show as HTML
110763
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
110764
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110765
+ 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]]
110766
+ 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]]
110767
+ Writefully::Post Load (0.7ms) 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"]]
110768
+ Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 1.9ms)
110769
+  (0.3ms) ROLLBACK
110770
+  (0.1ms) BEGIN
110771
+ Writefully::Authorship Load (0.2ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
110772
+ Writefully::Site Load (0.2ms) SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
110773
+ Writefully::Post Load (0.2ms) SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
110774
+ Processing by Writefully::PostsController#show as HTML
110775
+ Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
110776
+ Writefully::Authorship Load (0.4ms) SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
110777
+ 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]]
110778
+ 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]]
110779
+ 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"]]
110780
+ Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.6ms)
110781
+  (0.2ms) ROLLBACK
110782
+  (0.1ms) BEGIN
110783
+  (0.1ms) ROLLBACK
110784
+  (0.1ms) BEGIN
110785
+  (0.2ms) ROLLBACK
110786
+  (0.1ms) BEGIN
110787
+  (0.1ms) ROLLBACK
110788
+  (0.1ms) BEGIN
110789
+  (0.1ms) ROLLBACK
110790
+  (0.1ms) BEGIN
110791
+  (0.2ms) ROLLBACK
110792
+  (0.1ms) BEGIN
110793
+  (0.2ms) ROLLBACK
110794
+  (0.1ms) BEGIN
110795
+  (0.2ms) ROLLBACK
110796
+  (0.1ms) BEGIN
110797
+  (0.1ms) ROLLBACK
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: writefully
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zack Siri