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 +4 -4
- data/lib/writefully/process.rb +6 -0
- data/lib/writefully/version.rb +1 -1
- data/spec/dummy/log/test.log +764 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/064b3076e29f54ea572ca43d6c5950cc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/31c84f37a0c92c38be6459f19997c981 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9b9ee2a899dd8b3bfa592fba44ebf8d2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c1208bf8d0e9714161d8e6ae61781efc +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 832656945bc5cc34af638ecae7e0fe4181c7fa77
|
4
|
+
data.tar.gz: a1aea987e095394806e6a0d049ce0fba3c926a2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af637e9fe64da5d7d9e7f327a7c9b8d4202d81ca076152430930582d794bd41a9784988ed47404671acd5420699270e0d083712ffd48fb0f84e2f8f9a4db73fb
|
7
|
+
data.tar.gz: 9bb23d80392b39991430d5a3187e48a42e2071c3723b8e5928c6632cf4fb03dde1ea7da3874e2d94c001cdc154d7dd1d2e171003bb43f5e00d8be3267acd83c2
|
data/lib/writefully/process.rb
CHANGED
@@ -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
|
data/lib/writefully/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -110031,3 +110031,767 @@ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.7ms)
|
|
110031
110031
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110032
110032
|
[1m[35m (0.1ms)[0m BEGIN
|
110033
110033
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110034
|
+
[1m[36m (370.4ms)[0m [1mDROP DATABASE IF EXISTS "writefully_dummy_test"[0m
|
110035
|
+
[1m[35m (345.1ms)[0m CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
|
110036
|
+
[1m[36mSQL (1.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
110037
|
+
[1m[35mSQL (0.1ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
110038
|
+
[1m[36m (6.8ms)[0m [1mCREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
110039
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
|
110040
|
+
[1m[36m (3.3ms)[0m [1mCREATE 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) [0m
|
110041
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
|
110042
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")[0m
|
110043
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
|
110044
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")[0m
|
110045
|
+
[1m[35m (2.8ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")[0m
|
110047
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
|
110048
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")[0m
|
110049
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
|
110050
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")[0m
|
110051
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
|
110052
|
+
[1m[36m (2.4ms)[0m [1mCREATE 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) [0m
|
110053
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
|
110054
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")[0m
|
110055
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
110056
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
110057
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
110058
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140403181629')[0m
|
110059
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
|
110060
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140402091244')[0m
|
110061
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
|
110062
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140402200330')[0m
|
110063
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
110064
|
+
[1m[35m (0.4ms)[0m BEGIN
|
110065
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110066
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110067
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110068
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110069
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110070
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110071
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110072
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110073
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110074
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110075
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110076
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110077
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110078
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110079
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110080
|
+
[1m[35m (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110082
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "writefully_sites"
|
110083
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT 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)[0m
|
110084
|
+
[1m[35mFixture Insert (0.3ms)[0m 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
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "writefully_posts"[0m
|
110086
|
+
[1m[35mFixture Insert (0.8ms)[0m 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
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
|
110088
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "writefully_authorships"
|
110089
|
+
[1m[36mFixture Insert (0.8ms)[0m [1mINSERT 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)[0m
|
110090
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
110092
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110094
|
+
[1m[35mWritefully::Authorship Load (1.5ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110095
|
+
[1m[36mWritefully::Site Load (0.8ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110096
|
+
Processing by Writefully::PostsController#index as HTML
|
110097
|
+
Parameters: {"site_id"=>"codemy-net"}
|
110098
|
+
[1m[35mWritefully::Authorship Load (0.7ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110099
|
+
[1m[36mWritefully::Site Load (1.0ms)[0m [1mSELECT "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[0m [["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
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
110103
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110104
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110105
|
+
[1m[36mWritefully::Site Load (0.2ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110106
|
+
Processing by Writefully::PostsController#index as HTML
|
110107
|
+
Parameters: {"site_id"=>"codemy-net"}
|
110108
|
+
[1m[35mWritefully::Authorship Load (0.4ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110109
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "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[0m [["owner_id", 785112356]]
|
110110
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.8ms)
|
110111
|
+
[1m[35mWritefully::Post Load (0.8ms)[0m SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
|
110112
|
+
[1m[36mWritefully::Post Exists (1.0ms)[0m [1mSELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1[0m [["site_id", 163715408]]
|
110113
|
+
[1m[35mWritefully::Post Load (0.4ms)[0m SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 456337813]]
|
110114
|
+
[1m[36mWritefully::Post Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 456337813 LIMIT 1[0m [["site_id", 163715408]]
|
110115
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110116
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110117
|
+
[1m[35mWritefully::Authorship Load (0.2ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110118
|
+
[1m[36mWritefully::Site Load (0.2ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110119
|
+
[1m[35mWritefully::Post Load (0.2ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110123
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36mWritefully::Post Load (0.9ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1[0m [["site_id", 163715408]]
|
110125
|
+
[1m[35mWritefully::Post Load (0.7ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110128
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110129
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110130
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
|
110131
|
+
[1m[36mWritefully::Post Load (0.3ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1[0m [["id", 93356905]]
|
110132
|
+
Processing by Writefully::PostsController#show as HTML
|
110133
|
+
Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
|
110134
|
+
[1m[35mWritefully::Authorship Load (0.4ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110135
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "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[0m [["owner_id", 785112356]]
|
110136
|
+
[1m[35mWritefully::Post Load (0.3ms)[0m 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
|
+
[1m[36mWritefully::Post Load (0.3ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1[0m [["site_id", 163715408], ["id", "93356905"]]
|
110138
|
+
Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.3ms)
|
110139
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110140
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110141
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
110142
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110143
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110144
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110145
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110146
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110147
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110148
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110149
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110150
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110151
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110152
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110153
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110154
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110155
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110156
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110157
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110158
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110159
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110160
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110161
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
110162
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110163
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110164
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110165
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110166
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110167
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110168
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110169
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110170
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110171
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110172
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110173
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110174
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110175
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110176
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110177
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110178
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110179
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
|
110180
|
+
[1m[36mWritefully::Site Load (1.4ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1[0m
|
110181
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110182
|
+
[1m[36mSQL (3.5ms)[0m [1mUPDATE "writefully_sites" SET "processing" = $1, "healthy" = $2, "repository" = $3, "updated_at" = $4 WHERE "writefully_sites"."id" = 163715408[0m [["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
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110184
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110185
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110186
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110187
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110188
|
+
[1m[36mWritefully::Site Load (0.7ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1[0m
|
110189
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110190
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110191
|
+
[1m[35mWritefully::Site Load (0.4ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
|
110192
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "writefully_posts"[0m
|
110193
|
+
[1m[35mPost Load (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110195
|
+
[1m[35m (0.4ms)[0m SELECT "writefully_tags"."name" FROM "writefully_tags"
|
110196
|
+
[1m[36mClass Create Many Without Validations Or Callbacks (0.7ms)[0m [1mINSERT 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"[0m
|
110197
|
+
[1m[35m (0.2ms)[0m SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')
|
110198
|
+
[1m[36mWritefully::Tag Load (0.5ms)[0m [1mSELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1[0m [["id", 1]]
|
110199
|
+
[1m[35mWritefully::Tag Load (0.8ms)[0m 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
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
|
110202
|
+
[1m[36mClass Create Many Without Validations Or Callbacks (0.4ms)[0m [1mINSERT 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"[0m
|
110203
|
+
[1m[35m (0.3ms)[0m SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
|
110204
|
+
[1m[36mWritefully::Tag Load (0.2ms)[0m [1mSELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1[0m [["id", 2]]
|
110205
|
+
[1m[35mWritefully::Tag Load (0.6ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
110209
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "writefully_posts"
|
110210
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110211
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110212
|
+
[1m[36mWritefully::Site Load (0.4ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1[0m
|
110213
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "writefully_posts"
|
110214
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT "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[0m
|
110215
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110216
|
+
[1m[36m (0.4ms)[0m [1mSELECT "writefully_tags"."name" FROM "writefully_tags"[0m
|
110217
|
+
[1m[35mClass Create Many Without Validations Or Callbacks (0.5ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')[0m
|
110219
|
+
[1m[35mWritefully::Tag Load (0.3ms)[0m SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 3]]
|
110220
|
+
[1m[36m (0.5ms)[0m [1mSELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')[0m
|
110221
|
+
[1m[35m (0.3ms)[0m SELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')
|
110222
|
+
[1m[36mWritefully::Tag Load (0.2ms)[0m [1mSELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1[0m [["id", 2]]
|
110223
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
110227
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "writefully_posts"
|
110228
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110229
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110230
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1[0m
|
110231
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110232
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110233
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
|
110234
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110235
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110236
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["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
|
+
[1m[35mWritefully::Site Exists (0.9ms)[0m SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1 [["owner_id", 785112356]]
|
110240
|
+
[1m[36mWritefully::Site Load (0.7ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1[0m [["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
|
+
[1m[35mWritefully::Site Load (0.4ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
|
110249
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
110250
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110251
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110252
|
+
[1m[35mWritefully::Site Load (0.2ms)[0m 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
|
+
[1m[36mWritefully::Site Load (0.4ms)[0m [1mSELECT "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[0m [["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
|
+
[1m[35mWritefully::Site Load (0.5ms)[0m 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
|
+
[1m[36mWritefully::Post Load (0.9ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 ORDER BY "writefully_posts"."position" ASC[0m [["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
|
+
[1m[35mWritefully::Post Load (0.5ms)[0m SELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1 [["id", 93356905]]
|
110277
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
110278
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110279
|
+
Processing by Writefully::HooksController#create as HTML
|
110280
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.0ms)
|
110281
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
110282
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110283
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "writefully_authorships"[0m
|
110284
|
+
Processing by Writefully::HooksController#create as HTML
|
110285
|
+
[1m[35mWritefully::Authorship Load (0.6ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110286
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "writefully_authorships"[0m
|
110287
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
110288
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "writefully_authorships" ("created_at", "data", "role", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
110290
|
+
Completed 200 OK in 7ms (ActiveRecord: 2.2ms)
|
110291
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "writefully_authorships"[0m
|
110292
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
110293
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110294
|
+
Processing by Writefully::HooksController#create as HTML
|
110295
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
110296
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
110297
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110298
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110299
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110300
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110302
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110303
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110304
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110305
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110306
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110307
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110308
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
110309
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110310
|
+
[1m[35mWritefully::Authorship Load (0.4ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110311
|
+
Processing by Writefully::SitesController#index as HTML
|
110312
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110313
|
+
[1m[35mWritefully::Site Exists (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110316
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110317
|
+
[1m[36mWritefully::Authorship Load (0.2ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110318
|
+
Processing by Writefully::SitesController#index as HTML
|
110319
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110320
|
+
[1m[36mWritefully::Site Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1[0m [["owner_id", 785112356]]
|
110321
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.6ms)
|
110322
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
|
110323
|
+
[1m[36mWritefully::Site Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 163715408 LIMIT 1[0m [["owner_id", 785112356]]
|
110324
|
+
[1m[35mWritefully::Site Load (0.2ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 653288584]]
|
110325
|
+
[1m[36mWritefully::Site Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1[0m [["owner_id", 785112356]]
|
110326
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110328
|
+
[1m[35mWritefully::Authorship Load (0.2ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 935496864]]
|
110329
|
+
Processing by Writefully::SitesController#index as HTML
|
110330
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110331
|
+
[1m[35mWritefully::Site Exists (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110335
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110336
|
+
[1m[36mWritefully::Authorship Load (0.2ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110337
|
+
[1m[35mWritefully::Site Load (0.2ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.5ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110341
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
110345
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110346
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110347
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110351
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110355
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110356
|
+
[1m[36mWritefully::Authorship Load (0.2ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110357
|
+
[1m[35mWritefully::Site Load (0.2ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110361
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110364
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110365
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110366
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110370
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
110371
|
+
[1m[36mWritefully::Site Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1[0m
|
110372
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
110374
|
+
Redirected to http://test.host/writefully/sites
|
110375
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.6ms)
|
110376
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "writefully_sites"
|
110377
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110378
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110379
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110380
|
+
Processing by Writefully::SitesController#create as HTML
|
110381
|
+
Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
|
110382
|
+
[1m[35mWritefully::Authorship Load (0.4ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110383
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
110384
|
+
[1m[35mWritefully::Site Exists (0.3ms)[0m SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
|
110385
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
110387
|
+
Redirected to http://test.host/writefully/sites
|
110388
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
|
110389
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110390
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110391
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110392
|
+
[1m[35mWritefully::Site Load (0.2ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110396
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110399
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110400
|
+
[1m[36mWritefully::Authorship Load (0.2ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110401
|
+
Processing by Writefully::SitesController#new as HTML
|
110402
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110405
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110406
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110407
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110408
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110409
|
+
[1m[36m (118.6ms)[0m [1mDROP DATABASE IF EXISTS "writefully_dummy_test"[0m
|
110410
|
+
[1m[35m (233.0ms)[0m CREATE DATABASE "writefully_dummy_test" ENCODING = 'utf8'
|
110411
|
+
[1m[36mSQL (1.6ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
110412
|
+
[1m[35mSQL (0.2ms)[0m CREATE EXTENSION IF NOT EXISTS "hstore"
|
110413
|
+
[1m[36m (8.2ms)[0m [1mCREATE TABLE "writefully_authorships" ("id" serial primary key, "user_id" integer, "data" hstore, "role" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
110414
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_writefully_authorships_on_user_id" ON "writefully_authorships" USING btree ("user_id")
|
110415
|
+
[1m[36m (3.1ms)[0m [1mCREATE 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) [0m
|
110416
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_writefully_posts_on_authorship_id" ON "writefully_posts" USING btree ("authorship_id")
|
110417
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_writefully_posts_on_site_id" ON "writefully_posts" USING btree ("site_id")[0m
|
110418
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_writefully_posts_on_slug" ON "writefully_posts" USING btree ("slug")
|
110419
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_writefully_posts_on_translation_source_id" ON "writefully_posts" USING btree ("translation_source_id")[0m
|
110420
|
+
[1m[35m (2.8ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_writefully_sites_on_owner_id" ON "writefully_sites" USING btree ("owner_id")[0m
|
110422
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_writefully_sites_on_repository" ON "writefully_sites" USING gin ("repository")
|
110423
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_writefully_sites_on_slug" ON "writefully_sites" USING btree ("slug")[0m
|
110424
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "writefully_taggings" ("id" serial primary key, "tag_id" integer, "post_id" integer, "created_at" timestamp, "updated_at" timestamp)
|
110425
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_writefully_taggings_on_post_id" ON "writefully_taggings" USING btree ("post_id")[0m
|
110426
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_writefully_taggings_on_tag_id" ON "writefully_taggings" USING btree ("tag_id")
|
110427
|
+
[1m[36m (2.4ms)[0m [1mCREATE 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) [0m
|
110428
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_writefully_tags_on_slug" ON "writefully_tags" USING btree ("slug")
|
110429
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_writefully_tags_on_type" ON "writefully_tags" USING btree ("type")[0m
|
110430
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
110431
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
110432
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
110433
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140403181629')[0m
|
110434
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140402091204')
|
110435
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140402091244')[0m
|
110436
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140402091415')
|
110437
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140402200330')[0m
|
110438
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
110439
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110441
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "writefully_sites"
|
110442
|
+
[1m[36mFixture Insert (1.4ms)[0m [1mINSERT 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)[0m
|
110443
|
+
[1m[35mFixture Insert (0.3ms)[0m 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
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "writefully_posts"[0m
|
110445
|
+
[1m[35mFixture Insert (0.8ms)[0m 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
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT 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)[0m
|
110447
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "writefully_authorships"
|
110448
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
110449
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
110451
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110453
|
+
[1m[35mWritefully::Authorship Load (1.0ms)[0m 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
|
+
[1m[36mWritefully::Site Exists (0.8ms)[0m [1mSELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1[0m [["owner_id", 785112356]]
|
110457
|
+
[1m[35mWritefully::Site Load (0.5ms)[0m 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
|
+
[1m[36mWritefully::Site Load (1.0ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110467
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
110468
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110469
|
+
[1m[35mWritefully::Authorship Load (0.4ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110470
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["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
|
+
[1m[35mWritefully::Site Load (1.1ms)[0m 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
|
+
[1m[36mWritefully::Site Load (0.5ms)[0m [1mSELECT "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[0m [["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
|
+
[1m[35mWritefully::Post Load (1.1ms)[0m 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
|
+
[1m[36mWritefully::Post Load (0.9ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1[0m [["id", 93356905]]
|
110495
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
110496
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110497
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110498
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110499
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110500
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110501
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110502
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110503
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110504
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110505
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110506
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110507
|
+
[1m[35mWritefully::Site Load (1.2ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
|
110508
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
110509
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110510
|
+
[1m[36mWritefully::Site Load (0.4ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1[0m
|
110511
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "writefully_posts"
|
110512
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "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[0m
|
110513
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110514
|
+
[1m[36m (0.4ms)[0m [1mSELECT "writefully_tags"."name" FROM "writefully_tags"[0m
|
110515
|
+
[1m[35mClass Create Many Without Validations Or Callbacks (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mSELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('ruby')[0m
|
110517
|
+
[1m[35mWritefully::Tag Load (0.8ms)[0m SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 1]]
|
110518
|
+
[1m[36mWritefully::Tag Load (0.8ms)[0m [1mSELECT "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[0m [["post_id", 93356905]]
|
110519
|
+
[1m[35mSQL (2.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mSELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')[0m
|
110521
|
+
[1m[35mClass Create Many Without Validations Or Callbacks (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mSELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')[0m
|
110523
|
+
[1m[35mWritefully::Tag Load (0.3ms)[0m SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
|
110524
|
+
[1m[36mWritefully::Tag Load (0.9ms)[0m [1mSELECT "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[0m [["post_id", 93356905]]
|
110525
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "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[0m [["slug", "ruby-hash-selector-pattern"], ["details", {}], ["position", 1], ["content", "converted stuff"], ["updated_at", Wed, 23 Apr 2014 09:20:09 UTC +00:00]]
|
110527
|
+
[1m[35m (0.6ms)[0m COMMIT
|
110528
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "writefully_posts"[0m
|
110529
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110530
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110531
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
|
110532
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "writefully_posts"[0m
|
110533
|
+
[1m[35mPost Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
110535
|
+
[1m[35m (0.4ms)[0m SELECT "writefully_tags"."name" FROM "writefully_tags"
|
110536
|
+
[1m[36mClass Create Many Without Validations Or Callbacks (0.4ms)[0m [1mINSERT 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"[0m
|
110537
|
+
[1m[35m (0.2ms)[0m SELECT id FROM "writefully_tags" WHERE "writefully_tags"."slug" IN ('rails')
|
110538
|
+
[1m[36mWritefully::Tag Load (0.3ms)[0m [1mSELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1[0m [["id", 3]]
|
110539
|
+
[1m[35m (0.3ms)[0m SELECT "writefully_tags"."name" FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist')
|
110540
|
+
[1m[36m (0.3ms)[0m [1mSELECT id FROM "writefully_tags" WHERE "writefully_tags"."type" IN ('Playlist') AND "writefully_tags"."slug" IN ('a-shot-of-ruby')[0m
|
110541
|
+
[1m[35mWritefully::Tag Load (0.3ms)[0m SELECT "writefully_tags".* FROM "writefully_tags" WHERE "writefully_tags"."id" = $1 LIMIT 1 [["id", 2]]
|
110542
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "writefully_taggings" ("created_at", "post_id", "tag_id", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.5ms)[0m COMMIT
|
110546
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "writefully_posts"[0m
|
110547
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110548
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110549
|
+
[1m[35mWritefully::Site Load (0.4ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1
|
110550
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110551
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110552
|
+
[1m[36mWritefully::Site Load (0.4ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'codemy-net' ORDER BY "writefully_sites"."id" ASC LIMIT 1[0m
|
110553
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110554
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110555
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "writefully_authorships"
|
110556
|
+
Processing by Writefully::HooksController#create as HTML
|
110557
|
+
[1m[36mWritefully::Authorship Load (0.5ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE (data -> 'uid' = '1314654') ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110558
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "writefully_authorships"
|
110559
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
110560
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
110562
|
+
Completed 200 OK in 6ms (ActiveRecord: 1.6ms)
|
110563
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "writefully_authorships"
|
110564
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110565
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110566
|
+
Processing by Writefully::HooksController#create as HTML
|
110567
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
110568
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110569
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110570
|
+
Processing by Writefully::HooksController#create as HTML
|
110571
|
+
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)
|
110572
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110573
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110574
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110575
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110576
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110577
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110578
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110579
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110580
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110581
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110582
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110583
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110584
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110585
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110586
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110587
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110588
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110589
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110590
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110591
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110592
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110593
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110594
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110595
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110596
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110597
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110598
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110599
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110600
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110601
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110602
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
110603
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110604
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110605
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110606
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110607
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110608
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110609
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110610
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110611
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110612
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110613
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110614
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110615
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110616
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110617
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110618
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110619
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110620
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110621
|
+
Processing by Writefully::SitesController#new as HTML
|
110622
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110625
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110626
|
+
[1m[36mWritefully::Authorship Load (0.4ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110627
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.5ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110631
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110634
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110635
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110636
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.4ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110640
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
110641
|
+
[1m[36mWritefully::Site Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1[0m
|
110642
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
110644
|
+
Redirected to http://test.host/writefully/sites
|
110645
|
+
Completed 302 Found in 9ms (ActiveRecord: 1.9ms)
|
110646
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "writefully_sites"
|
110647
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110648
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110649
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110650
|
+
Processing by Writefully::SitesController#create as HTML
|
110651
|
+
Parameters: {"site"=>{"name"=>"New Site", "domain"=>"http://www.newsite.com"}}
|
110652
|
+
[1m[35mWritefully::Authorship Load (0.4ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110653
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
110654
|
+
[1m[35mWritefully::Site Exists (0.3ms)[0m SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."slug" = 'new-site' LIMIT 1
|
110655
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "writefully_sites" ("created_at", "domain", "name", "owner_id", "slug", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
|
110657
|
+
Redirected to http://test.host/writefully/sites
|
110658
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.5ms)
|
110659
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
110660
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110661
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110662
|
+
Processing by Writefully::SitesController#index as HTML
|
110663
|
+
[1m[35mWritefully::Authorship Load (0.4ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110664
|
+
[1m[36mWritefully::Site Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1[0m [["owner_id", 785112356]]
|
110665
|
+
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.6ms)
|
110666
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
110667
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110668
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110669
|
+
Processing by Writefully::SitesController#index as HTML
|
110670
|
+
[1m[36mWritefully::Authorship Load (0.4ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110671
|
+
[1m[35mWritefully::Site Exists (0.3ms)[0m 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
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110674
|
+
[1m[35mWritefully::Site Exists (0.5ms)[0m SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 163715408 LIMIT 1 [["owner_id", 785112356]]
|
110675
|
+
[1m[36mWritefully::Site Load (0.2ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 653288584]]
|
110676
|
+
[1m[35mWritefully::Site Exists (0.3ms)[0m SELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 AND "writefully_sites"."id" = 653288584 LIMIT 1 [["owner_id", 785112356]]
|
110677
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110678
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110679
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 935496864]]
|
110680
|
+
Processing by Writefully::SitesController#index as HTML
|
110681
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 935496864 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110682
|
+
[1m[36mWritefully::Site Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "writefully_sites" WHERE "writefully_sites"."owner_id" = $1 LIMIT 1[0m [["owner_id", 935496864]]
|
110683
|
+
Redirected to http://test.host/writefully/sites/new
|
110684
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
110685
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110686
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110687
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110688
|
+
[1m[36mWritefully::Site Load (0.2ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110689
|
+
Processing by Writefully::SitesController#show as HTML
|
110690
|
+
Parameters: {"id"=>"codemy-net", "tab"=>"weird"}
|
110691
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110692
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "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[0m [["owner_id", 785112356]]
|
110693
|
+
Redirected to http://test.host/writefully/sites/codemy-net/posts
|
110694
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
110695
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110696
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110697
|
+
[1m[35mWritefully::Authorship Load (0.2ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110698
|
+
[1m[36mWritefully::Site Load (0.2ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110699
|
+
Processing by Writefully::SitesController#show as HTML
|
110700
|
+
Parameters: {"id"=>"codemy-net", "tab"=>"processing"}
|
110701
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110702
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "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[0m [["owner_id", 785112356]]
|
110703
|
+
Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.6ms)
|
110704
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
110705
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110706
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110707
|
+
[1m[36mWritefully::Site Load (0.2ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110708
|
+
Processing by Writefully::SitesController#show as HTML
|
110709
|
+
Parameters: {"id"=>"codemy-net"}
|
110710
|
+
[1m[35mWritefully::Authorship Load (0.3ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110711
|
+
[1m[36mWritefully::Site Load (0.2ms)[0m [1mSELECT "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[0m [["owner_id", 785112356]]
|
110712
|
+
Redirected to http://test.host/writefully/sites/codemy-net/posts
|
110713
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
110714
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110715
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110716
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
|
110717
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = 163715408 ORDER BY "writefully_sites"."id" ASC LIMIT 1[0m
|
110718
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110719
|
+
[1m[36mSQL (0.6ms)[0m [1mUPDATE "writefully_sites" SET "processing" = $1, "healthy" = $2, "repository" = $3, "updated_at" = $4 WHERE "writefully_sites"."id" = 163715408[0m [["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
|
+
[1m[35m (1.4ms)[0m COMMIT
|
110721
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110722
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
110723
|
+
[1m[36m (0.3ms)[0m [1mALTER 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[0m
|
110724
|
+
[1m[35m (0.2ms)[0m BEGIN
|
110725
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "writefully_sites"[0m
|
110726
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
110728
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "writefully_posts"
|
110729
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
110730
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "writefully_authorships"[0m
|
110732
|
+
[1m[35mFixture Insert (0.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
110734
|
+
[1m[35m (0.4ms)[0m COMMIT
|
110735
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
110736
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110737
|
+
[1m[36mWritefully::Authorship Load (0.4ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110738
|
+
[1m[35mWritefully::Site Load (0.4ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110742
|
+
[1m[35mWritefully::Site Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110745
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110746
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110747
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.3ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110751
|
+
[1m[35mWritefully::Site Load (0.4ms)[0m 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
|
+
[1m[36mWritefully::Post Load (0.3ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1[0m [["id", 93356905]]
|
110754
|
+
[1m[35mWritefully::Post Exists (0.8ms)[0m SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 93356905 LIMIT 1 [["site_id", 163715408]]
|
110755
|
+
[1m[36mWritefully::Post Load (0.2ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1[0m [["id", 456337813]]
|
110756
|
+
[1m[35mWritefully::Post Exists (0.4ms)[0m SELECT 1 AS one FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = 456337813 LIMIT 1 [["site_id", 163715408]]
|
110757
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110758
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110759
|
+
[1m[36mWritefully::Authorship Load (0.2ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1[0m [["id", 785112356]]
|
110760
|
+
[1m[35mWritefully::Site Load (0.2ms)[0m SELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1 [["id", 163715408]]
|
110761
|
+
[1m[36mWritefully::Post Load (0.4ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."id" = $1 LIMIT 1[0m [["id", 93356905]]
|
110762
|
+
Processing by Writefully::PostsController#show as HTML
|
110763
|
+
Parameters: {"site_id"=>"codemy-net", "id"=>"93356905"}
|
110764
|
+
[1m[35mWritefully::Authorship Load (0.4ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1
|
110765
|
+
[1m[36mWritefully::Site Load (0.3ms)[0m [1mSELECT "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[0m [["owner_id", 785112356]]
|
110766
|
+
[1m[35mWritefully::Post Load (0.5ms)[0m 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
|
+
[1m[36mWritefully::Post Load (0.7ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."id" = $2 ORDER BY "writefully_posts"."position" ASC LIMIT 1[0m [["site_id", 163715408], ["id", "93356905"]]
|
110768
|
+
Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 1.9ms)
|
110769
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
110770
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
110771
|
+
[1m[35mWritefully::Authorship Load (0.2ms)[0m SELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = $1 LIMIT 1 [["id", 785112356]]
|
110772
|
+
[1m[36mWritefully::Site Load (0.2ms)[0m [1mSELECT "writefully_sites".* FROM "writefully_sites" WHERE "writefully_sites"."id" = $1 LIMIT 1[0m [["id", 163715408]]
|
110773
|
+
[1m[35mWritefully::Post Load (0.2ms)[0m 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
|
+
[1m[36mWritefully::Authorship Load (0.4ms)[0m [1mSELECT "writefully_authorships".* FROM "writefully_authorships" WHERE "writefully_authorships"."id" = 785112356 ORDER BY "writefully_authorships"."id" ASC LIMIT 1[0m
|
110777
|
+
[1m[35mWritefully::Site Load (0.3ms)[0m 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
|
+
[1m[36mWritefully::Post Load (0.5ms)[0m [1mSELECT "writefully_posts".* FROM "writefully_posts" WHERE "writefully_posts"."site_id" = $1 AND "writefully_posts"."slug" = '93356905' ORDER BY "writefully_posts"."position" ASC LIMIT 1[0m [["site_id", 163715408]]
|
110779
|
+
[1m[35mWritefully::Post Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110782
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110783
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110784
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110785
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110786
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110787
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110788
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110789
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
110790
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110791
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110792
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110793
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110794
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110795
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
110796
|
+
[1m[35m (0.1ms)[0m BEGIN
|
110797
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|