blogit 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -20
- data/app/controllers/blogit/posts_controller.rb +22 -0
- data/app/models/blogit/post.rb +1 -1
- data/app/views/blogit/posts/_form.html.erb +1 -1
- data/app/views/blogit/posts/index.rss.builder +10 -10
- data/config/routes.rb +4 -4
- data/lib/blogit.rb +1 -0
- data/lib/blogit/configuration.rb +10 -5
- data/lib/blogit/version.rb +1 -1
- data/lib/generators/templates/blogit.rb +9 -3
- data/spec/controllers/blogit/posts_controller_spec.rb +72 -0
- data/spec/dummy/app/views/layouts/application.html.erb +1 -1
- data/spec/dummy/config/initializers/blogit.rb +49 -20
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +9 -9
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1094 -804
- data/spec/dummy/log/test.log +24187 -2415
- data/spec/dummy/tmp/cache/assets/CB5/DD0/sprockets%2F346324d2a51df58457807bee661c449c +0 -0
- data/spec/dummy/tmp/cache/assets/CB6/ED0/sprockets%2F4390d06699f3ad4262e342be530f9f91 +0 -0
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/CE7/230/sprockets%2F6f493a817d97133a8dbf674bcd322670 +0 -0
- data/spec/dummy/tmp/cache/assets/CEE/310/sprockets%2F89642af8492e579dcd7162a0e2b7f155 +0 -0
- data/spec/dummy/tmp/cache/assets/D01/8C0/sprockets%2F332d5a9ce3e800c6c4a7a99058023ba2 +0 -0
- data/spec/dummy/tmp/cache/assets/{D5B/660/sprockets%2F4bb4e11ca3769b37bdac230e17180f2f → D09/740/sprockets%2F7a82d51e72434ef73fabb4a26131d945} +0 -0
- data/spec/dummy/tmp/cache/assets/D11/CC0/sprockets%2F3a12dfa6665b5318fa99d097203ac7e7 +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/D61/6F0/sprockets%2F02da53eeca228bcef0c49278517111fe +0 -0
- data/spec/dummy/tmp/cache/assets/{D12/8E0/sprockets%2F589dd1f5f312060f7ea7179ed0d1b690 → D66/900/sprockets%2F52de1b25e110e8a937b9e30b0a9e8da7} +0 -0
- data/spec/dummy/tmp/cache/assets/{D60/F70/sprockets%2F336e00e00f731efa2546eeae7691ba1e → DA7/D70/sprockets%2Fc627f052aaee94e9b24815d5aee4ff38} +0 -0
- data/spec/dummy/tmp/cache/assets/DCA/9B0/sprockets%2Fdf0e8f8a85e5d4056b3fe1cec3b7131a +0 -0
- data/spec/dummy/tmp/cache/assets/{C5B/630/sprockets%2F8a34981857e0826772a246e2d7215ce5 → DD2/6F0/sprockets%2Ffbe80717facec3dd9ea7ac008719c843} +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/lib/configuration_spec.rb +5 -5
- metadata +28 -20
- data/spec/dummy/db/migrate/20111118222920_create_blog_posts.rb +0 -12
- data/spec/dummy/db/migrate/20111118222921_create_blog_comments.rb +0 -15
- data/spec/dummy/db/migrate/20111118222922_acts_as_taggable_on_migration.rb +0 -28
- data/spec/dummy/tmp/pids/server.pid +0 -1
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(:version =>
|
14
|
+
ActiveRecord::Schema.define(:version => 20110819103335) do
|
15
15
|
|
16
16
|
create_table "blog_comments", :force => true do |t|
|
17
17
|
t.string "name", :null => false
|
@@ -20,8 +20,8 @@ ActiveRecord::Schema.define(:version => 20111118222922) do
|
|
20
20
|
t.text "body", :null => false
|
21
21
|
t.integer "post_id", :null => false
|
22
22
|
t.string "state"
|
23
|
-
t.datetime "created_at"
|
24
|
-
t.datetime "updated_at"
|
23
|
+
t.datetime "created_at", :null => false
|
24
|
+
t.datetime "updated_at", :null => false
|
25
25
|
end
|
26
26
|
|
27
27
|
add_index "blog_comments", ["post_id"], :name => "index_blog_comments_on_post_id"
|
@@ -32,16 +32,16 @@ ActiveRecord::Schema.define(:version => 20111118222922) do
|
|
32
32
|
t.integer "blogger_id"
|
33
33
|
t.string "blogger_type"
|
34
34
|
t.integer "comments_count", :default => 0, :null => false
|
35
|
-
t.datetime "created_at"
|
36
|
-
t.datetime "updated_at"
|
35
|
+
t.datetime "created_at", :null => false
|
36
|
+
t.datetime "updated_at", :null => false
|
37
37
|
end
|
38
38
|
|
39
39
|
add_index "blog_posts", ["blogger_type", "blogger_id"], :name => "index_blog_posts_on_blogger_type_and_blogger_id"
|
40
40
|
|
41
41
|
create_table "people", :force => true do |t|
|
42
42
|
t.string "name"
|
43
|
-
t.datetime "created_at"
|
44
|
-
t.datetime "updated_at"
|
43
|
+
t.datetime "created_at", :null => false
|
44
|
+
t.datetime "updated_at", :null => false
|
45
45
|
end
|
46
46
|
|
47
47
|
create_table "taggings", :force => true do |t|
|
@@ -64,8 +64,8 @@ ActiveRecord::Schema.define(:version => 20111118222922) do
|
|
64
64
|
create_table "users", :force => true do |t|
|
65
65
|
t.string "username"
|
66
66
|
t.string "password"
|
67
|
-
t.datetime "created_at"
|
68
|
-
t.datetime "updated_at"
|
67
|
+
t.datetime "created_at", :null => false
|
68
|
+
t.datetime "updated_at", :null => false
|
69
69
|
end
|
70
70
|
|
71
71
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,1069 +1,1359 @@
|
|
1
1
|
Connecting to database specified by database.yml
|
2
|
-
|
3
|
-
|
4
|
-
Started GET "/" for 127.0.0.1 at 2013-01-17 21:19:25 +0000
|
5
|
-
Processing by Blogit::PostsController#index as HTML
|
6
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (20.9ms)
|
7
|
-
Completed 500 Internal Server Error in 33ms
|
8
|
-
|
9
|
-
ActionView::Template::Error (Could not find table 'users'):
|
10
|
-
1: <%= login_required class: "actions", id: "new_blog_post_link" do %>
|
11
|
-
2: <%= link_to t(:new_blog_post, scope: 'blogit.posts'), new_post_path %>
|
12
|
-
3: <% end %>
|
13
|
-
4:
|
14
|
-
app/controllers/application_controller.rb:9:in `current_user'
|
15
|
-
|
16
|
-
|
17
|
-
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@KatanaCode/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
18
|
-
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@KatanaCode/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
19
|
-
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@KatanaCode/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.2ms)
|
20
|
-
Connecting to database specified by database.yml
|
21
2
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
22
|
-
[1m[35m (
|
23
|
-
[1m[36m (
|
24
|
-
[1m[35m (
|
3
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
4
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
5
|
+
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6
|
+
Connecting to database specified by database.yml
|
7
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
25
8
|
Migrating to CreateUsers (20110814091304)
|
9
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
26
10
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27
11
|
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
28
12
|
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')[0m
|
29
|
-
[1m[35m (
|
30
|
-
Migrating to
|
13
|
+
[1m[35m (51.1ms)[0m commit transaction
|
14
|
+
Migrating to CreatePeople (20110819103335)
|
31
15
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
16
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
17
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')[0m
|
18
|
+
[1m[35m (4.2ms)[0m commit transaction
|
19
|
+
Migrating to CreateBlogPosts (20111118222920)
|
20
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
32
21
|
[1m[35m (0.4ms)[0m CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
22
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("blog_posts")[0m
|
23
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")
|
24
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111118222920')[0m
|
25
|
+
[1m[35m (5.7ms)[0m commit transaction
|
26
|
+
Migrating to CreateBlogComments (20111118222921)
|
27
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
28
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "blog_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "website" varchar(255), "body" text NOT NULL, "post_id" integer NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
29
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("blog_comments")[0m
|
30
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
|
31
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111118222921')[0m
|
32
|
+
[1m[35m (4.1ms)[0m commit transaction
|
33
|
+
Migrating to ActsAsTaggableOnMigration (20111118222922)
|
34
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
35
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
|
36
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime) [0m
|
37
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("taggings")
|
38
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
|
39
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("taggings")
|
40
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_tag_id')[0m
|
41
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
42
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111118222922')[0m
|
43
|
+
[1m[35m (4.7ms)[0m commit transaction
|
44
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
45
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
46
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("blog_comments")[0m
|
47
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_blog_comments_on_post_id')
|
48
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("blog_posts")[0m
|
49
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
|
50
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("people")[0m
|
51
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("taggings")
|
52
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')[0m
|
53
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_taggings_on_tag_id')
|
54
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("tags")[0m
|
55
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
56
|
+
Connecting to database specified by database.yml
|
57
|
+
Connecting to database specified by database.yml
|
58
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
59
|
+
Migrating to CreateUsers (20110814091304)
|
60
|
+
Migrating to CreateBlogPosts (20110814091434)
|
61
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
62
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
64
|
+
SQLite3::SQLException: table "blog_posts" already exists: CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
65
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
66
|
+
Connecting to database specified by database.yml
|
67
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
68
|
+
[1m[35m (53.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
69
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
70
|
+
[1m[35m (3.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
71
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
72
|
+
Migrating to CreateUsers (20110814091304)
|
73
|
+
[1m[35m (0.0ms)[0m begin transaction
|
74
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
75
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')
|
76
|
+
[1m[36m (4.6ms)[0m [1mcommit transaction[0m
|
77
|
+
Migrating to CreateBlogPosts (20110814091434)
|
78
|
+
[1m[35m (0.0ms)[0m begin transaction
|
79
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
80
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("blog_posts")
|
33
81
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")[0m
|
34
82
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110814091434')
|
35
|
-
[1m[36m (
|
83
|
+
[1m[36m (5.5ms)[0m [1mcommit transaction[0m
|
36
84
|
Migrating to CreateBlogComments (20110814093229)
|
37
85
|
[1m[35m (0.0ms)[0m begin transaction
|
38
|
-
[1m[36m (0.
|
39
|
-
[1m[35m (0.
|
40
|
-
[1m[36m (0.1ms)[0m [
|
41
|
-
[1m[35m (
|
86
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "blog_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "website" varchar(255), "body" text NOT NULL, "post_id" integer NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
87
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("blog_comments")
|
88
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")[0m
|
89
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')
|
90
|
+
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
42
91
|
Migrating to ActsAsTaggableOnMigration (20110814103306)
|
43
|
-
[1m[
|
44
|
-
[1m[
|
45
|
-
[1m[
|
92
|
+
[1m[35m (0.0ms)[0m begin transaction
|
93
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) [0m
|
94
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime)
|
95
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("taggings")[0m
|
46
96
|
[1m[35m (0.1ms)[0m CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
|
97
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("taggings")[0m
|
98
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_taggings_on_tag_id')
|
47
99
|
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")[0m
|
48
100
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110814103306')
|
49
|
-
[1m[36m (
|
101
|
+
[1m[36m (4.0ms)[0m [1mcommit transaction[0m
|
50
102
|
Migrating to CreatePeople (20110819103335)
|
51
103
|
[1m[35m (0.0ms)[0m begin transaction
|
52
|
-
[1m[36m (0.
|
104
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
53
105
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')
|
54
|
-
[1m[36m (
|
55
|
-
[1m[35m (0.
|
106
|
+
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
107
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
108
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
109
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("blog_comments")
|
110
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_blog_comments_on_post_id')[0m
|
111
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("blog_posts")
|
112
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')[0m
|
113
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("people")
|
114
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("taggings")[0m
|
115
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
|
116
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_tag_id')[0m
|
117
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("tags")
|
118
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
119
|
+
Connecting to database specified by database.yml
|
120
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
121
|
+
Migrating to CreateUsers (20110814091304)
|
122
|
+
Migrating to CreatePeople (20110819103335)
|
123
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
124
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
125
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("blog_comments")
|
126
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_blog_comments_on_post_id')[0m
|
127
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("blog_posts")
|
128
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')[0m
|
129
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("people")
|
130
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("taggings")[0m
|
131
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
|
132
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_tag_id')[0m
|
133
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("tags")
|
134
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
135
|
+
Connecting to database specified by database.yml
|
136
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
137
|
+
Migrating to CreateUsers (20110814091304)
|
138
|
+
Migrating to CreateBlogPosts (20110814091434)
|
139
|
+
Migrating to CreateBlogComments (20110814093229)
|
140
|
+
Migrating to ActsAsTaggableOnMigration (20110814103306)
|
141
|
+
Migrating to CreatePeople (20110819103335)
|
142
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
143
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
144
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("blog_comments")
|
145
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_blog_comments_on_post_id')[0m
|
146
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("blog_posts")
|
147
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')[0m
|
148
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("people")
|
149
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("taggings")[0m
|
150
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
|
151
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_tag_id')[0m
|
152
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("tags")
|
153
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
154
|
+
Connecting to database specified by database.yml
|
155
|
+
Connecting to database specified by database.yml
|
156
|
+
Connecting to database specified by database.yml
|
157
|
+
Connecting to database specified by database.yml
|
158
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
159
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
160
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
161
|
+
[1m[35m (3.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
162
|
+
Connecting to database specified by database.yml
|
163
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
164
|
+
Migrating to CreateUsers (20110814091304)
|
165
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
166
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
167
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
168
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')[0m
|
169
|
+
[1m[35m (54.1ms)[0m commit transaction
|
170
|
+
Migrating to CreateBlogPosts (20110814091434)
|
171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
172
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
173
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("blog_posts")[0m
|
174
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")
|
175
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110814091434')[0m
|
176
|
+
[1m[35m (4.6ms)[0m commit transaction
|
177
|
+
Migrating to CreateBlogComments (20110814093229)
|
178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
179
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "blog_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "website" varchar(255), "body" text NOT NULL, "post_id" integer NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
180
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("blog_comments")[0m
|
181
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
|
182
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')[0m
|
183
|
+
[1m[35m (4.8ms)[0m commit transaction
|
184
|
+
Migrating to ActsAsTaggableOnMigration (20110814103306)
|
185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
186
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
|
187
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime) [0m
|
188
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("taggings")
|
189
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")[0m
|
190
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("taggings")
|
191
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_tag_id')[0m
|
192
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
193
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110814103306')[0m
|
194
|
+
[1m[35m (4.5ms)[0m commit transaction
|
195
|
+
Migrating to CreatePeople (20110819103335)
|
196
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
197
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
198
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')[0m
|
199
|
+
[1m[35m (4.2ms)[0m commit transaction
|
200
|
+
[1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
|
201
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
202
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("blog_comments")[0m
|
203
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_blog_comments_on_post_id')
|
204
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("blog_posts")[0m
|
205
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
|
206
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("people")[0m
|
207
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("taggings")
|
208
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')[0m
|
209
|
+
[1m[35m (0.1ms)[0m PRAGMA index_info('index_taggings_on_tag_id')
|
210
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("tags")[0m
|
211
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("users")
|
212
|
+
Connecting to database specified by database.yml
|
56
213
|
Connecting to database specified by database.yml
|
57
214
|
|
58
215
|
|
59
|
-
Started GET "/" for 127.0.0.1 at 2013-
|
216
|
+
Started GET "/" for 127.0.0.1 at 2013-02-27 15:01:54 +0000
|
60
217
|
Processing by Blogit::PostsController#index as HTML
|
61
218
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
62
|
-
[1m[35m (0.
|
63
|
-
|
64
|
-
|
65
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
66
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (90.9ms)
|
67
|
-
Compiled blogit/index.css (0ms) (pid 36676)
|
68
|
-
Compiled application.css (0ms) (pid 36676)
|
219
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
|
220
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0[0m
|
221
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (101.3ms)
|
222
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.8ms)
|
69
223
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
224
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
|
225
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
226
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (24.5ms)
|
227
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (170.0ms)
|
228
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blog_posts"
|
229
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (17.1ms)
|
230
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (255.7ms)
|
231
|
+
Compiled blogit/index.css (0ms) (pid 9812)
|
232
|
+
Compiled application.css (0ms) (pid 9812)
|
233
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
234
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
235
|
+
Compiled jquery.js (4ms) (pid 9812)
|
236
|
+
Compiled jquery_ujs.js (0ms) (pid 9812)
|
237
|
+
Compiled application.js (90ms) (pid 9812)
|
238
|
+
Compiled blogit/archive.js (0ms) (pid 9812)
|
239
|
+
Compiled blogit/index.js (29ms) (pid 9812)
|
240
|
+
Completed 200 OK in 567ms (Views: 564.2ms | ActiveRecord: 1.7ms)
|
77
241
|
|
78
242
|
|
79
|
-
Started GET "/assets/
|
80
|
-
Served asset /
|
243
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000
|
244
|
+
Served asset /jquery_ujs.js - 200 OK (7ms)
|
81
245
|
|
82
246
|
|
83
|
-
Started GET "/assets/
|
84
|
-
Served asset /
|
247
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000
|
248
|
+
Served asset /blogit/index.css - 200 OK (9ms)
|
85
249
|
|
86
250
|
|
87
|
-
Started GET "/assets/
|
88
|
-
Served asset /
|
251
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000
|
252
|
+
Served asset /application.js - 200 OK (10ms)
|
253
|
+
|
89
254
|
|
255
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000
|
256
|
+
Served asset /jquery.js - 200 OK (5ms)
|
90
257
|
|
91
|
-
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
|
92
|
-
Served asset /blogit/index.css - 200 OK (2ms)
|
93
258
|
|
259
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000
|
260
|
+
Served asset /blogit/archive.js - 200 OK (3ms)
|
94
261
|
|
95
|
-
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
|
96
|
-
Served asset /application.css - 200 OK (3ms)
|
97
262
|
|
263
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000
|
264
|
+
Served asset /application.css - 200 OK (2ms)
|
98
265
|
|
99
|
-
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
|
100
|
-
Served asset /blogit/archive.js - 200 OK (8ms)
|
101
266
|
|
267
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000
|
268
|
+
Served asset /blogit/index.js - 200 OK (5ms)
|
102
269
|
|
103
|
-
|
104
|
-
|
270
|
+
|
271
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-02-27 15:01:57 +0000
|
272
|
+
Processing by Blogit::PostsController#show as HTML
|
273
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
274
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "1-test-postasdfa-sdf-afas-d"]]
|
275
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
|
276
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
277
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
278
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.1ms)
|
279
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
280
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
281
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (9.0ms)
|
282
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.8ms)
|
283
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
284
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
285
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC
|
286
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (64.4ms)
|
287
|
+
Rendered blogit/posts/_post_footer.html.erb (79.7ms)
|
288
|
+
[1m[36mBlogit::Comment Load (0.3ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1[0m
|
289
|
+
Rendered collection (0.0ms)
|
290
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (6.1ms)
|
291
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (16.3ms)
|
292
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (201.5ms)
|
293
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
294
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
295
|
+
Completed 200 OK in 212ms (Views: 208.4ms | ActiveRecord: 2.0ms)
|
105
296
|
|
106
297
|
|
107
|
-
Started GET "/session/new" for 127.0.0.1 at 2013-
|
298
|
+
Started GET "/session/new" for 127.0.0.1 at 2013-02-27 15:01:59 +0000
|
108
299
|
Processing by SessionsController#new as HTML
|
109
|
-
Rendered sessions/new.html.erb within layouts/application (
|
300
|
+
Rendered sessions/new.html.erb within layouts/application (1.8ms)
|
301
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
302
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
303
|
+
Completed 200 OK in 25ms (Views: 24.7ms | ActiveRecord: 0.2ms)
|
304
|
+
|
305
|
+
|
306
|
+
Started POST "/session" for 127.0.0.1 at 2013-02-27 15:02:06 +0000
|
307
|
+
Processing by SessionsController#create as HTML
|
308
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "session"=>{"username"=>"bodacious", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
|
309
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."username" = 'bodacious' AND "users"."password" = 'password' LIMIT 1
|
310
|
+
Rendered sessions/new.html.erb within layouts/application (1.6ms)
|
311
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
312
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
313
|
+
Completed 200 OK in 31ms (Views: 28.9ms | ActiveRecord: 0.5ms)
|
314
|
+
Connecting to database specified by database.yml
|
315
|
+
|
316
|
+
|
317
|
+
Started POST "/session" for 127.0.0.1 at 2013-02-27 15:02:39 +0000
|
318
|
+
Processing by SessionsController#create as HTML
|
319
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "session"=>{"username"=>"gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
|
320
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."username" = 'gavin' AND "users"."password" = '' LIMIT 1[0m
|
321
|
+
Rendered sessions/new.html.erb within layouts/application (13.3ms)
|
110
322
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
323
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
324
|
+
Completed 200 OK in 33ms (Views: 31.1ms | ActiveRecord: 0.6ms)
|
325
|
+
|
326
|
+
|
327
|
+
Started POST "/session" for 127.0.0.1 at 2013-02-27 15:03:09 +0000
|
328
|
+
Processing by SessionsController#create as HTML
|
329
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "session"=>{"username"=>"Gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
|
330
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."username" = 'Gavin' AND "users"."password" = 'password' LIMIT 1
|
331
|
+
Redirected to http://localhost:3000/
|
332
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
333
|
+
|
334
|
+
|
335
|
+
Started GET "/" for 127.0.0.1 at 2013-02-27 15:03:09 +0000
|
336
|
+
Processing by Blogit::PostsController#index as HTML
|
337
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
338
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
|
339
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0[0m
|
340
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms)
|
341
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
342
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
|
343
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
344
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms)
|
345
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.0ms)
|
346
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "blog_posts" [0m
|
347
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.3ms)
|
348
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (14.5ms)
|
349
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
350
|
+
Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.8ms)
|
351
|
+
|
352
|
+
|
353
|
+
Started GET "/blog/posts/new" for 127.0.0.1 at 2013-02-27 15:03:12 +0000
|
354
|
+
Processing by Blogit::PostsController#new as HTML
|
355
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
356
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
357
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.9ms)
|
358
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (85.7ms)
|
111
359
|
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
112
|
-
Completed 200 OK in
|
360
|
+
Completed 200 OK in 96ms (Views: 92.8ms | ActiveRecord: 0.5ms)
|
113
361
|
|
114
362
|
|
115
|
-
Started
|
116
|
-
|
363
|
+
Started POST "/blog/posts" for 127.0.0.1 at 2013-02-27 15:03:26 +0000
|
364
|
+
Processing by Blogit::PostsController#create as HTML
|
365
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
|
366
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
367
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
368
|
+
[1m[35m (0.1ms)[0m begin transaction
|
369
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["blogger_id", 1], ["blogger_type", "User"], ["body", "Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij"], ["comments_count", 0], ["created_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00], ["title", "This is a new blog post"], ["updated_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00]]
|
370
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
|
371
|
+
[1m[36mActsAsTaggableOn::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'one' LIMIT 1[0m
|
372
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "one"]]
|
373
|
+
[1m[36mActsAsTaggableOn::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'two' LIMIT 1[0m
|
374
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "two"]]
|
375
|
+
[1m[36mActsAsTaggableOn::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'three' LIMIT 1[0m
|
376
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "three"]]
|
377
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
378
|
+
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
379
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00], ["tag_id", 1], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
380
|
+
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
381
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00], ["tag_id", 2], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
382
|
+
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
383
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00], ["tag_id", 3], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
384
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts"
|
385
|
+
[1m[36m (56.6ms)[0m [1mcommit transaction[0m
|
386
|
+
Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post
|
387
|
+
Completed 302 Found in 126ms (ActiveRecord: 59.8ms)
|
117
388
|
|
118
389
|
|
119
|
-
Started GET "/
|
120
|
-
|
390
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:03:26 +0000
|
391
|
+
Processing by Blogit::PostsController#show as HTML
|
392
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
393
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
394
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
|
395
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
396
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
397
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
|
398
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
399
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms)
|
400
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.7ms)
|
401
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.1ms)
|
402
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
403
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
404
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
405
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.2ms)
|
406
|
+
Rendered blogit/posts/_post_footer.html.erb (6.9ms)
|
407
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
408
|
+
Rendered collection (0.0ms)
|
409
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.9ms)
|
410
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.6ms)
|
411
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (22.9ms)
|
412
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
413
|
+
Completed 200 OK in 33ms (Views: 31.6ms | ActiveRecord: 1.0ms)
|
121
414
|
Connecting to database specified by database.yml
|
122
415
|
Connecting to database specified by database.yml
|
123
416
|
|
124
417
|
|
125
|
-
Started GET "/
|
418
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:05:46 +0000
|
419
|
+
Processing by Blogit::PostsController#show as HTML
|
420
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
421
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
422
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (75.2ms)
|
423
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms)
|
424
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
425
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (19.1ms)
|
426
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
427
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (15.5ms)
|
428
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (114.8ms)
|
429
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
430
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
431
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
432
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (26.8ms)
|
433
|
+
Rendered blogit/posts/_post_footer.html.erb (27.7ms)
|
434
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
435
|
+
Rendered collection (0.0ms)
|
436
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (6.8ms)
|
437
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (10.4ms)
|
438
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (192.0ms)
|
439
|
+
Completed 500 Internal Server Error in 310ms
|
126
440
|
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
|
137
|
-
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
138
|
-
rack (1.4.4) lib/rack/lock.rb:15:in `call'
|
139
|
-
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
|
140
|
-
railties (3.2.11) lib/rails/engine.rb:479:in `call'
|
141
|
-
railties (3.2.11) lib/rails/application.rb:223:in `call'
|
142
|
-
rack (1.4.4) lib/rack/content_length.rb:14:in `call'
|
143
|
-
railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
|
144
|
-
rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
|
145
|
-
/Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
146
|
-
/Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
147
|
-
/Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
441
|
+
ActionView::Template::Error (undefined local variable or method `root_path' for #<#<Class:0x007ff1346da3a8>:0x007ff1346c6290>):
|
442
|
+
15: <%= link_to("log in", main_app.new_session_path) %>
|
443
|
+
16: <% end %>
|
444
|
+
17:
|
445
|
+
18: <h1><%= link_to("My Awesome Blog", root_path) %></h1>
|
446
|
+
19:
|
447
|
+
20: <%= yield %>
|
448
|
+
21: </div>
|
449
|
+
app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb___3211448699255320262_70336983835780'
|
148
450
|
|
149
451
|
|
150
|
-
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@
|
452
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
453
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
454
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.5ms)
|
151
455
|
|
152
456
|
|
153
|
-
Started GET "/" for 127.0.0.1 at 2013-
|
154
|
-
Processing by Blogit::PostsController#
|
155
|
-
|
156
|
-
[1m[
|
157
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
158
|
-
|
159
|
-
|
160
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
161
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id"
|
162
|
-
|
163
|
-
|
457
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:06:10 +0000
|
458
|
+
Processing by Blogit::PostsController#show as HTML
|
459
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
460
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
461
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
|
462
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
463
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
464
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.3ms)
|
465
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
466
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
467
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (9.4ms)
|
468
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
469
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
470
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
471
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.8ms)
|
472
|
+
Rendered blogit/posts/_post_footer.html.erb (6.8ms)
|
473
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
474
|
+
Rendered collection (0.0ms)
|
475
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.4ms)
|
476
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.5ms)
|
477
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.8ms)
|
478
|
+
Completed 500 Internal Server Error in 44ms
|
164
479
|
|
480
|
+
ActionView::Template::Error (undefined local variable or method `blogit_root_path' for #<#<Class:0x007ff1346da3a8>:0x007ff136c94670>):
|
481
|
+
15: <%= link_to("log in", main_app.new_session_path) %>
|
482
|
+
16: <% end %>
|
483
|
+
17:
|
484
|
+
18: <h1><%= link_to("My Awesome Blog", blogit_root_path) %></h1>
|
485
|
+
19:
|
486
|
+
20: <%= yield %>
|
487
|
+
21: </div>
|
488
|
+
app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb___3211448699255320262_70336991484120'
|
165
489
|
|
166
|
-
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:13 +0000
|
167
|
-
Served asset /jquery_ujs.js - 304 Not Modified (3ms)
|
168
490
|
|
491
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
492
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
|
493
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.3ms)
|
169
494
|
|
170
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:13 +0000
|
171
|
-
Served asset /jquery.js - 304 Not Modified (2ms)
|
172
495
|
|
496
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:06:16 +0000
|
497
|
+
Processing by Blogit::PostsController#show as HTML
|
498
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
499
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
500
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
501
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
502
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
503
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
|
504
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
505
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.1ms)
|
506
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (6.6ms)
|
507
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
508
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
509
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
510
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.5ms)
|
511
|
+
Rendered blogit/posts/_post_footer.html.erb (6.4ms)
|
512
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
513
|
+
Rendered collection (0.0ms)
|
514
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.7ms)
|
515
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.6ms)
|
516
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (20.4ms)
|
517
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
518
|
+
Completed 200 OK in 45ms (Views: 42.2ms | ActiveRecord: 1.2ms)
|
173
519
|
|
174
|
-
Started GET "/session/new" for 127.0.0.1 at 2013-01-17 21:21:15 +0000
|
175
|
-
Processing by SessionsController#new as HTML
|
176
|
-
Rendered sessions/new.html.erb within layouts/application (2.7ms)
|
177
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
178
|
-
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
179
|
-
Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.3ms)
|
180
520
|
|
521
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000
|
522
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
181
523
|
|
182
|
-
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:15 +0000
|
183
|
-
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
184
524
|
|
525
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000
|
526
|
+
Served asset /jquery_ujs.js - 304 Not Modified (6ms)
|
185
527
|
|
186
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:15 +0000
|
187
|
-
Served asset /jquery.js - 304 Not Modified (0ms)
|
188
528
|
|
529
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000
|
530
|
+
Served asset /jquery.js - 304 Not Modified (14ms)
|
189
531
|
|
190
|
-
Started POST "/session" for 127.0.0.1 at 2013-01-17 21:21:18 +0000
|
191
|
-
Processing by SessionsController#create as HTML
|
192
|
-
Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "session"=>{"username"=>"gavinmorrice", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
|
193
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."username" = 'gavinmorrice' AND "users"."password" = 'password' LIMIT 1
|
194
|
-
Redirected to http://localhost:3000/
|
195
|
-
Completed 302 Found in 10ms (ActiveRecord: 0.2ms)
|
196
532
|
|
533
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000
|
534
|
+
Served asset /blogit/archive.js - 304 Not Modified (2ms)
|
197
535
|
|
198
|
-
|
199
|
-
|
536
|
+
|
537
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000
|
538
|
+
Served asset /application.js - 304 Not Modified (6ms)
|
539
|
+
|
540
|
+
|
541
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000
|
542
|
+
Served asset /blogit/index.js - 304 Not Modified (24ms)
|
543
|
+
|
544
|
+
|
545
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000
|
546
|
+
Served asset /blogit/index.css - 304 Not Modified (2ms)
|
547
|
+
|
548
|
+
|
549
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:06:21 +0000
|
550
|
+
Processing by Blogit::PostsController#edit as HTML
|
551
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
200
552
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
201
|
-
[1m[
|
202
|
-
|
203
|
-
|
204
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
205
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (29.1ms)
|
553
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
554
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
555
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.3ms)
|
556
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (9.0ms)
|
206
557
|
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
207
|
-
Completed 200 OK in
|
558
|
+
Completed 200 OK in 21ms (Views: 17.0ms | ActiveRecord: 0.8ms)
|
208
559
|
|
209
560
|
|
210
|
-
Started GET "/assets/
|
211
|
-
Served asset /
|
561
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000
|
562
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
563
|
+
|
564
|
+
|
565
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000
|
566
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
212
567
|
|
213
568
|
|
214
|
-
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-
|
569
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000
|
215
570
|
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
216
571
|
|
217
572
|
|
218
|
-
Started GET "/
|
219
|
-
|
220
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
221
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
222
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (69.6ms)
|
223
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (84.2ms)
|
224
|
-
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
225
|
-
Completed 200 OK in 170ms (Views: 91.0ms | ActiveRecord: 1.0ms)
|
573
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000
|
574
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
226
575
|
|
227
576
|
|
228
|
-
Started GET "/assets/
|
229
|
-
Served asset /
|
577
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000
|
578
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
230
579
|
|
231
580
|
|
232
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-
|
581
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000
|
233
582
|
Served asset /jquery.js - 304 Not Modified (0ms)
|
234
583
|
|
235
584
|
|
236
|
-
Started
|
237
|
-
|
238
|
-
Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"Test Blog Post", "body"=>"osfjaos fjasofdja osfjd aosidfj aosidfj aoisj", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
|
239
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
240
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
241
|
-
[1m[35m (0.0ms)[0m begin transaction
|
242
|
-
[1m[36mSQL (10.1ms)[0m [1mINSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["blogger_id", 1], ["blogger_type", "User"], ["body", "osfjaos fjasofdja osfjd aosidfj aosidfj aoisj"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00], ["title", "Test Blog Post"], ["updated_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00]]
|
243
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
|
244
|
-
[1m[36mActsAsTaggableOn::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'one' LIMIT 1[0m
|
245
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "one"]]
|
246
|
-
[1m[36mActsAsTaggableOn::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'two' LIMIT 1[0m
|
247
|
-
[1m[35mSQL (0.0ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "two"]]
|
248
|
-
[1m[36mActsAsTaggableOn::Tag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'three' LIMIT 1[0m
|
249
|
-
[1m[35mSQL (0.0ms)[0m INSERT INTO "tags" ("name") VALUES (?) [["name", "three"]]
|
250
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
251
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
252
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00], ["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
253
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
254
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00], ["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
255
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
256
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00], ["tag_id", 3], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
257
|
-
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts"
|
258
|
-
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
259
|
-
Redirected to http://localhost:3000/blog/posts/1-test-blog-post
|
260
|
-
Completed 302 Found in 183ms (ActiveRecord: 15.3ms)
|
585
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000
|
586
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
261
587
|
|
262
588
|
|
263
|
-
Started
|
589
|
+
Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
590
|
+
Processing by Blogit::PostsController#update as HTML
|
591
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"}
|
592
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
593
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
594
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
595
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
596
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')[0m
|
597
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
598
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
599
|
+
Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post
|
600
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.7ms)
|
601
|
+
|
602
|
+
|
603
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
264
604
|
Processing by Blogit::PostsController#show as HTML
|
265
|
-
Parameters: {"id"=>"
|
266
|
-
[1m[35mBlogit::Post Load (0.
|
267
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (
|
268
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (
|
269
|
-
[1m[36mUser Load (0.
|
270
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (
|
605
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
606
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
607
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
608
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
609
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
610
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
|
271
611
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
272
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (
|
273
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (
|
274
|
-
|
275
|
-
[1m[
|
276
|
-
[1m[
|
277
|
-
|
278
|
-
Rendered
|
279
|
-
|
280
|
-
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
612
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.1ms)
|
613
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (6.8ms)
|
614
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
615
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
616
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
617
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.6ms)
|
618
|
+
Rendered blogit/posts/_post_footer.html.erb (5.2ms)
|
619
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
281
620
|
Rendered collection (0.0ms)
|
282
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (
|
283
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (
|
284
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (
|
621
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.9ms)
|
622
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.8ms)
|
623
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (19.9ms)
|
624
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
625
|
+
Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 0.9ms)
|
626
|
+
|
627
|
+
|
628
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
629
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
630
|
+
|
631
|
+
|
632
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
633
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
634
|
+
|
635
|
+
|
636
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
637
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
638
|
+
|
639
|
+
|
640
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
641
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
642
|
+
|
643
|
+
|
644
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
645
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
646
|
+
|
647
|
+
|
648
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
649
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
650
|
+
|
651
|
+
|
652
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000
|
653
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
654
|
+
|
655
|
+
|
656
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:07:04 +0000
|
657
|
+
Processing by Blogit::PostsController#edit as HTML
|
658
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
659
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
660
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
661
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
662
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (13.3ms)
|
663
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (14.4ms)
|
285
664
|
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
286
|
-
Completed 200 OK in
|
665
|
+
Completed 200 OK in 46ms (Views: 22.5ms | ActiveRecord: 1.4ms)
|
287
666
|
|
288
667
|
|
289
|
-
Started GET "/assets/
|
668
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000
|
669
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
670
|
+
|
671
|
+
|
672
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000
|
290
673
|
Served asset /jquery.js - 304 Not Modified (0ms)
|
291
674
|
|
292
675
|
|
293
|
-
Started GET "/assets/
|
676
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000
|
677
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
678
|
+
|
679
|
+
|
680
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000
|
294
681
|
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
295
682
|
|
296
683
|
|
297
|
-
Started GET "/
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
684
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000
|
685
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
686
|
+
|
687
|
+
|
688
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000
|
689
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
690
|
+
|
691
|
+
|
692
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000
|
693
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
694
|
+
|
695
|
+
|
696
|
+
Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:07:06 +0000
|
697
|
+
Processing by Blogit::PostsController#update as HTML
|
698
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"}
|
699
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
700
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
701
|
+
[1m[35m (0.1ms)[0m begin transaction
|
702
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
703
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.3ms)[0m SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
|
704
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
705
|
+
[1m[35m (0.1ms)[0m commit transaction
|
706
|
+
Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post
|
707
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.1ms)
|
708
|
+
|
709
|
+
|
710
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:07:06 +0000
|
711
|
+
Processing by Blogit::PostsController#show as HTML
|
712
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
713
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
304
714
|
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms)
|
305
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
310
|
-
|
311
|
-
|
312
|
-
|
715
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
716
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
717
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
|
718
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
719
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.4ms)
|
720
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.8ms)
|
721
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
722
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
723
|
+
[1m[35mBlogit::Post Load (0.3ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
724
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.8ms)
|
725
|
+
Rendered blogit/posts/_post_footer.html.erb (5.5ms)
|
726
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
727
|
+
Rendered collection (0.0ms)
|
728
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.4ms)
|
729
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (7.7ms)
|
730
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (60.9ms)
|
313
731
|
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
314
|
-
Completed 200 OK in
|
732
|
+
Completed 200 OK in 70ms (Views: 67.1ms | ActiveRecord: 1.3ms)
|
733
|
+
|
734
|
+
|
735
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000
|
736
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
737
|
+
|
738
|
+
|
739
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000
|
740
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
315
741
|
|
316
742
|
|
317
|
-
Started GET "/assets/
|
743
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000
|
744
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
745
|
+
|
746
|
+
|
747
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000
|
748
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
749
|
+
|
750
|
+
|
751
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000
|
318
752
|
Served asset /jquery.js - 304 Not Modified (0ms)
|
319
753
|
|
320
754
|
|
321
|
-
Started GET "/assets/
|
755
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000
|
756
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
757
|
+
|
758
|
+
|
759
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000
|
760
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
761
|
+
Connecting to database specified by database.yml
|
762
|
+
|
763
|
+
|
764
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:07:56 +0000
|
765
|
+
Processing by Blogit::PostsController#edit as HTML
|
766
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
767
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
768
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
769
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
770
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (95.1ms)
|
771
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (108.4ms)
|
772
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
773
|
+
Completed 200 OK in 198ms (Views: 145.8ms | ActiveRecord: 1.6ms)
|
774
|
+
|
775
|
+
|
776
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000
|
777
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
778
|
+
|
779
|
+
|
780
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000
|
781
|
+
Served asset /blogit/index.css - 304 Not Modified (2ms)
|
782
|
+
|
783
|
+
|
784
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000
|
785
|
+
Served asset /jquery.js - 304 Not Modified (4ms)
|
786
|
+
|
787
|
+
|
788
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000
|
789
|
+
Served asset /application.js - 304 Not Modified (4ms)
|
790
|
+
|
791
|
+
|
792
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000
|
793
|
+
Served asset /blogit/archive.js - 304 Not Modified (2ms)
|
794
|
+
|
795
|
+
|
796
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:57 +0000
|
797
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
798
|
+
|
799
|
+
|
800
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:57 +0000
|
801
|
+
Served asset /blogit/index.js - 304 Not Modified (2ms)
|
802
|
+
|
803
|
+
|
804
|
+
Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
805
|
+
Processing by Blogit::PostsController#update as HTML
|
806
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"}
|
807
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
808
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
810
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
811
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')[0m
|
812
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
813
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
814
|
+
Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post
|
815
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.8ms)
|
816
|
+
|
817
|
+
|
818
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
819
|
+
Processing by Blogit::PostsController#show as HTML
|
820
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
821
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
822
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
|
823
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms)
|
824
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
825
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.3ms)
|
826
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
827
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.6ms)
|
828
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (14.0ms)
|
829
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
830
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
831
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
832
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.1ms)
|
833
|
+
Rendered blogit/posts/_post_footer.html.erb (6.6ms)
|
834
|
+
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
835
|
+
Rendered collection (0.0ms)
|
836
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (4.3ms)
|
837
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (7.6ms)
|
838
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (47.6ms)
|
839
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
840
|
+
Completed 200 OK in 56ms (Views: 53.3ms | ActiveRecord: 1.3ms)
|
841
|
+
|
842
|
+
|
843
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
844
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
845
|
+
|
846
|
+
|
847
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
848
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
849
|
+
|
850
|
+
|
851
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
322
852
|
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
853
|
+
|
854
|
+
|
855
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
856
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
857
|
+
|
858
|
+
|
859
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
860
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
861
|
+
|
862
|
+
|
863
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
864
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
865
|
+
|
866
|
+
|
867
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000
|
868
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
323
869
|
Connecting to database specified by database.yml
|
324
870
|
|
325
871
|
|
326
|
-
Started GET "/blog/posts/
|
327
|
-
Processing by Blogit::PostsController#
|
328
|
-
Parameters: {"
|
329
|
-
[1m[
|
872
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:06 +0000
|
873
|
+
Processing by Blogit::PostsController#show as HTML
|
874
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
875
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
876
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (83.6ms)
|
877
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms)
|
330
878
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
331
|
-
|
332
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" JOIN taggings posts_taggings_95370d8 ON posts_taggings_95370d8.taggable_id = blog_posts.id AND posts_taggings_95370d8.taggable_type = 'Blogit::Post' AND posts_taggings_95370d8.tag_id = 1 ORDER BY created_at DESC LIMIT 5 OFFSET 0
|
333
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (2.4ms)
|
334
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.9ms)
|
335
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
|
879
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (20.8ms)
|
336
880
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
337
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (
|
338
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (
|
339
|
-
[1m[
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
881
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (17.0ms)
|
882
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (126.9ms)
|
883
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
884
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
885
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
886
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (33.6ms)
|
887
|
+
Rendered blogit/posts/_post_footer.html.erb (34.5ms)
|
888
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
889
|
+
Rendered collection (0.0ms)
|
890
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (7.7ms)
|
891
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (11.1ms)
|
892
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (194.1ms)
|
893
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
894
|
+
Completed 200 OK in 258ms (Views: 245.9ms | ActiveRecord: 2.3ms)
|
895
|
+
|
896
|
+
|
897
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000
|
898
|
+
Served asset /blogit/index.css - 304 Not Modified (3ms)
|
899
|
+
|
900
|
+
|
901
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000
|
902
|
+
Served asset /application.js - 304 Not Modified (12ms)
|
903
|
+
|
904
|
+
|
905
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000
|
906
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
907
|
+
|
908
|
+
|
909
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000
|
910
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
911
|
+
|
912
|
+
|
913
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000
|
914
|
+
Served asset /blogit/archive.js - 304 Not Modified (1ms)
|
915
|
+
|
916
|
+
|
917
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000
|
918
|
+
Served asset /application.css - 304 Not Modified (1ms)
|
919
|
+
|
920
|
+
|
921
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000
|
922
|
+
Served asset /blogit/index.js - 304 Not Modified (4ms)
|
923
|
+
|
924
|
+
|
925
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:09:07 +0000
|
926
|
+
Processing by Blogit::PostsController#edit as HTML
|
927
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
928
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
929
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
930
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
931
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (6.7ms)
|
932
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (8.6ms)
|
933
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
934
|
+
Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 0.8ms)
|
935
|
+
|
936
|
+
|
937
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000
|
938
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
939
|
+
|
940
|
+
|
941
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000
|
942
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
943
|
+
|
944
|
+
|
945
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000
|
946
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
947
|
+
|
948
|
+
|
949
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000
|
950
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
951
|
+
|
952
|
+
|
953
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000
|
954
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
955
|
+
|
956
|
+
|
957
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000
|
958
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
344
959
|
|
345
960
|
|
346
|
-
Started GET "/assets/
|
347
|
-
Served asset /
|
961
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000
|
962
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
348
963
|
|
349
964
|
|
350
|
-
Started
|
351
|
-
|
965
|
+
Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
966
|
+
Processing by Blogit::PostsController#update as HTML
|
967
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"}
|
968
|
+
[1m[36mUser Load (0.9ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
969
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
971
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.4ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
972
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')[0m
|
973
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
974
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
975
|
+
Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post
|
976
|
+
Completed 302 Found in 37ms (ActiveRecord: 1.8ms)
|
352
977
|
|
353
978
|
|
354
|
-
Started GET "/blog/posts/
|
979
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
355
980
|
Processing by Blogit::PostsController#show as HTML
|
356
|
-
Parameters: {"id"=>"
|
357
|
-
[1m[35mBlogit::Post Load (0.
|
358
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.
|
359
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (
|
981
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
982
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
983
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
984
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
360
985
|
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
361
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (
|
986
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.9ms)
|
362
987
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
363
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (
|
364
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (
|
365
|
-
|
366
|
-
[1m[
|
367
|
-
[1m[
|
368
|
-
|
369
|
-
Rendered
|
370
|
-
|
371
|
-
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
988
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms)
|
989
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.5ms)
|
990
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
991
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
992
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
993
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.7ms)
|
994
|
+
Rendered blogit/posts/_post_footer.html.erb (4.4ms)
|
995
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
372
996
|
Rendered collection (0.0ms)
|
373
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (
|
374
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (
|
375
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (
|
997
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (4.2ms)
|
998
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.6ms)
|
999
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (21.0ms)
|
376
1000
|
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
377
|
-
Completed 200 OK in
|
378
|
-
|
379
|
-
|
380
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:05 +0000
|
381
|
-
Served asset /jquery.js - 304 Not Modified (0ms)
|
1001
|
+
Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.9ms)
|
382
1002
|
|
383
1003
|
|
384
|
-
Started GET "/assets/
|
385
|
-
Served asset /
|
1004
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
1005
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
386
1006
|
|
387
1007
|
|
388
|
-
Started GET "/
|
389
|
-
|
390
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
391
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count [0m
|
392
|
-
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
|
393
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
394
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
395
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
|
396
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
397
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.7ms)
|
398
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.9ms)
|
399
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blog_posts"
|
400
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.7ms)
|
401
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (31.8ms)
|
402
|
-
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
403
|
-
Completed 200 OK in 48ms (Views: 43.5ms | ActiveRecord: 0.8ms)
|
1008
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
1009
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
404
1010
|
|
405
1011
|
|
406
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-
|
1012
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
407
1013
|
Served asset /jquery.js - 304 Not Modified (0ms)
|
408
1014
|
|
409
1015
|
|
410
|
-
Started GET "/assets/
|
411
|
-
Served asset /
|
1016
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
1017
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
412
1018
|
|
413
1019
|
|
414
|
-
Started GET "/
|
415
|
-
|
416
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
417
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
418
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (12.2ms)
|
419
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (29.1ms)
|
420
|
-
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
421
|
-
Completed 200 OK in 42ms (Views: 38.1ms | ActiveRecord: 0.6ms)
|
1020
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
1021
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
422
1022
|
|
423
1023
|
|
424
|
-
Started GET "/assets/
|
425
|
-
Served asset /
|
1024
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
1025
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
426
1026
|
|
427
1027
|
|
428
|
-
Started GET "/assets/
|
429
|
-
Served asset /
|
1028
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000
|
1029
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1030
|
+
Connecting to database specified by database.yml
|
430
1031
|
|
431
1032
|
|
432
|
-
Started
|
433
|
-
Processing by Blogit::PostsController#create as HTML
|
434
|
-
Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"sadfiasjf oasijfd", "body"=>"oijsafo iajsodf ijaosidfj", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
|
435
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
436
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
437
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
438
|
-
[1m[35mSQL (0.8ms)[0m INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "oijsafo iajsodf ijaosidfj"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00], ["title", "sadfiasjf oasijfd"], ["updated_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00]]
|
439
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')[0m
|
440
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
441
|
-
[1m[36mActsAsTaggableOn::Tagging Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
|
442
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00], ["tag_id", 1], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
443
|
-
[1m[36mActsAsTaggableOn::Tagging Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
|
444
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00], ["tag_id", 2], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
445
|
-
[1m[36mActsAsTaggableOn::Tagging Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
|
446
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00], ["tag_id", 3], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
447
|
-
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" [0m
|
448
|
-
[1m[35m (4.9ms)[0m commit transaction
|
449
|
-
Redirected to http://localhost:3000/blog/posts/2-sadfiasjf-oasijfd
|
450
|
-
Completed 302 Found in 90ms (ActiveRecord: 7.3ms)
|
451
|
-
|
452
|
-
|
453
|
-
Started GET "/blog/posts/2-sadfiasjf-oasijfd" for 127.0.0.1 at 2013-01-17 21:24:45 +0000
|
1033
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:42 +0000
|
454
1034
|
Processing by Blogit::PostsController#show as HTML
|
455
|
-
Parameters: {"id"=>"2-
|
456
|
-
[1m[36mBlogit::Post Load (0.
|
457
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (
|
458
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.
|
1035
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
1036
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
1037
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (90.9ms)
|
1038
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms)
|
459
1039
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
460
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (
|
1040
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (25.4ms)
|
461
1041
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
462
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (
|
463
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (
|
464
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
|
1042
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (18.0ms)
|
1043
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (139.7ms)
|
465
1044
|
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
466
1045
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
467
|
-
[1m[35mBlogit::Post Load (0.
|
468
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (
|
469
|
-
Rendered blogit/posts/_post_footer.html.erb (
|
470
|
-
[1m[36mBlogit::Comment Load (0.
|
1046
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
1047
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (34.2ms)
|
1048
|
+
Rendered blogit/posts/_post_footer.html.erb (35.5ms)
|
1049
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
471
1050
|
Rendered collection (0.0ms)
|
472
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (
|
473
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (
|
474
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (
|
1051
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (8.1ms)
|
1052
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (12.0ms)
|
1053
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (212.8ms)
|
475
1054
|
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
476
|
-
Completed 200 OK in
|
477
|
-
|
478
|
-
|
479
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:45 +0000
|
480
|
-
Served asset /jquery.js - 304 Not Modified (0ms)
|
1055
|
+
Completed 200 OK in 286ms (Views: 272.0ms | ActiveRecord: 2.4ms)
|
481
1056
|
|
482
1057
|
|
483
|
-
Started GET "/assets/
|
484
|
-
Served asset /
|
1058
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000
|
1059
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
485
1060
|
|
486
1061
|
|
487
|
-
Started GET "/
|
488
|
-
|
489
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
490
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
|
491
|
-
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0[0m
|
492
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.4ms)
|
493
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
|
494
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.9ms)
|
495
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
496
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
|
497
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
498
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.6ms)
|
499
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.4ms)
|
500
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
501
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.1ms)
|
502
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (25.2ms)
|
503
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "blog_posts"
|
504
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (5.0ms)
|
505
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (35.7ms)
|
506
|
-
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
507
|
-
Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.9ms)
|
1062
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000
|
1063
|
+
Served asset /blogit/index.css - 304 Not Modified (2ms)
|
508
1064
|
|
509
1065
|
|
510
|
-
Started GET "/assets/
|
511
|
-
Served asset /
|
1066
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000
|
1067
|
+
Served asset /blogit/archive.js - 304 Not Modified (2ms)
|
512
1068
|
|
513
1069
|
|
514
|
-
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-
|
515
|
-
Served asset /jquery_ujs.js - 304 Not Modified (
|
1070
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000
|
1071
|
+
Served asset /jquery_ujs.js - 304 Not Modified (2ms)
|
516
1072
|
|
517
1073
|
|
518
|
-
Started GET "/
|
519
|
-
|
520
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
521
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
522
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (5.6ms)
|
523
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (9.4ms)
|
524
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
525
|
-
Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.6ms)
|
1074
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000
|
1075
|
+
Served asset /application.js - 304 Not Modified (6ms)
|
526
1076
|
|
527
1077
|
|
528
|
-
Started GET "/assets/
|
529
|
-
Served asset /
|
1078
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000
|
1079
|
+
Served asset /blogit/index.js - 304 Not Modified (3ms)
|
530
1080
|
|
531
1081
|
|
532
|
-
Started GET "/assets/
|
533
|
-
Served asset /
|
1082
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000
|
1083
|
+
Served asset /jquery.js - 304 Not Modified (3ms)
|
534
1084
|
|
535
1085
|
|
536
|
-
Started
|
537
|
-
Processing by Blogit::PostsController#
|
538
|
-
Parameters: {"
|
539
|
-
[1m[36mUser Load (0.
|
540
|
-
[1m[
|
541
|
-
[1m[
|
542
|
-
|
543
|
-
|
544
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
545
|
-
[1m[36mActsAsTaggableOn::Tagging Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 3 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
|
546
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00], ["tag_id", 1], ["taggable_id", 3], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
547
|
-
[1m[36mActsAsTaggableOn::Tagging Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 3 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
|
548
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00], ["tag_id", 2], ["taggable_id", 3], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
549
|
-
[1m[36mActsAsTaggableOn::Tagging Exists (2.8ms)[0m [1mSELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 3 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1[0m
|
550
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00], ["tag_id", 3], ["taggable_id", 3], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
551
|
-
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" [0m
|
552
|
-
[1m[35m (62.0ms)[0m commit transaction
|
553
|
-
Redirected to http://localhost:3000/blog/posts/3-asdfpasf-kapsodfk-apsodfka
|
554
|
-
Completed 302 Found in 100ms (ActiveRecord: 68.7ms)
|
555
|
-
|
556
|
-
|
557
|
-
Started GET "/blog/posts/3-asdfpasf-kapsodfk-apsodfka" for 127.0.0.1 at 2013-01-17 21:24:59 +0000
|
558
|
-
Processing by Blogit::PostsController#show as HTML
|
559
|
-
Parameters: {"id"=>"3-asdfpasf-kapsodfk-apsodfka"}
|
560
|
-
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "3-asdfpasf-kapsodfk-apsodfka"]]
|
561
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
562
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
563
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
564
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.3ms)
|
565
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
566
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms)
|
567
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.0ms)
|
568
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
|
569
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
570
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
571
|
-
[1m[35mBlogit::Post Load (0.3ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 3 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
572
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.3ms)
|
573
|
-
Rendered blogit/posts/_post_footer.html.erb (6.1ms)
|
574
|
-
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 3[0m
|
575
|
-
Rendered collection (0.0ms)
|
576
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.1ms)
|
577
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.0ms)
|
578
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (22.8ms)
|
1086
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:09:43 +0000
|
1087
|
+
Processing by Blogit::PostsController#edit as HTML
|
1088
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
1089
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1090
|
+
[1m[35mBlogit::Post Load (0.3ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
1091
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1092
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.7ms)
|
1093
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (9.5ms)
|
579
1094
|
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
580
|
-
Completed 200 OK in
|
1095
|
+
Completed 200 OK in 23ms (Views: 18.2ms | ActiveRecord: 1.0ms)
|
581
1096
|
|
582
1097
|
|
583
|
-
Started GET "/assets/
|
584
|
-
Served asset /
|
1098
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000
|
1099
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
585
1100
|
|
586
1101
|
|
587
|
-
Started GET "/assets/
|
588
|
-
Served asset /
|
1102
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000
|
1103
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
589
1104
|
|
590
1105
|
|
591
|
-
Started GET "/
|
592
|
-
|
593
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
594
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
|
595
|
-
[1m[36mBlogit::Post Load (0.4ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0[0m
|
596
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms)
|
597
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
|
598
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.9ms)
|
599
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
600
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
|
601
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (2.0ms)
|
602
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
603
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (3.7ms)
|
604
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
605
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
606
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
|
607
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
608
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
|
609
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
610
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.9ms)
|
611
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (33.4ms)
|
612
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "blog_posts" [0m
|
613
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (3.8ms)
|
614
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (44.0ms)
|
615
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
616
|
-
Completed 200 OK in 55ms (Views: 53.0ms | ActiveRecord: 1.2ms)
|
1106
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000
|
1107
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
617
1108
|
|
618
1109
|
|
619
|
-
Started GET "/assets/
|
620
|
-
Served asset /
|
1110
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000
|
1111
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
621
1112
|
|
622
1113
|
|
623
|
-
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-
|
1114
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000
|
624
1115
|
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
625
1116
|
|
626
1117
|
|
627
|
-
Started GET "/
|
628
|
-
|
629
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
630
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
631
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.1ms)
|
632
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (8.4ms)
|
633
|
-
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
634
|
-
Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.7ms)
|
635
|
-
|
636
|
-
|
637
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:18 +0000
|
638
|
-
Served asset /jquery.js - 304 Not Modified (0ms)
|
1118
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000
|
1119
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
639
1120
|
|
640
1121
|
|
641
|
-
Started GET "/assets/
|
642
|
-
Served asset /
|
1122
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000
|
1123
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
643
1124
|
|
644
1125
|
|
645
|
-
Started
|
646
|
-
Processing by Blogit::PostsController#
|
647
|
-
Parameters: {"utf8"=>"✓", "authenticity_token"=>"
|
648
|
-
[1m[
|
649
|
-
[1m[
|
650
|
-
[1m[
|
651
|
-
[1m[
|
652
|
-
[1m[
|
653
|
-
[1m[
|
654
|
-
[1m[
|
655
|
-
|
656
|
-
|
657
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00], ["tag_id", 2], ["taggable_id", 4], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
658
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 4 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
659
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00], ["tag_id", 3], ["taggable_id", 4], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
660
|
-
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts"
|
661
|
-
[1m[36m (6.4ms)[0m [1mcommit transaction[0m
|
662
|
-
Redirected to http://localhost:3000/blog/posts/4-afo-aisdjf-oasijdfao-sidfjasdf
|
663
|
-
Completed 302 Found in 30ms (ActiveRecord: 8.7ms)
|
1126
|
+
Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
1127
|
+
Processing by Blogit::PostsController#update as HTML
|
1128
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"}
|
1129
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1130
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
1131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1132
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1133
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')[0m
|
1134
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1135
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1136
|
+
Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post
|
1137
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.8ms)
|
664
1138
|
|
665
1139
|
|
666
|
-
Started GET "/blog/posts/
|
1140
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
667
1141
|
Processing by Blogit::PostsController#show as HTML
|
668
|
-
Parameters: {"id"=>"
|
669
|
-
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "
|
1142
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
1143
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
670
1144
|
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
671
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.
|
672
|
-
[1m[36mUser Load (0.
|
673
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (
|
1145
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
1146
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1147
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
|
674
1148
|
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
675
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.
|
676
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (
|
677
|
-
|
678
|
-
[1m[
|
679
|
-
[1m[
|
680
|
-
|
681
|
-
Rendered
|
682
|
-
|
683
|
-
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 4
|
1149
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.0ms)
|
1150
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (6.6ms)
|
1151
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1152
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1153
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1154
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.6ms)
|
1155
|
+
Rendered blogit/posts/_post_footer.html.erb (4.2ms)
|
1156
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
684
1157
|
Rendered collection (0.0ms)
|
685
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.
|
686
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (
|
687
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (
|
688
|
-
[1m[36mBlogit::Post Load (0.
|
689
|
-
Completed 200 OK in
|
690
|
-
|
691
|
-
|
692
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:28 +0000
|
693
|
-
Served asset /jquery.js - 304 Not Modified (0ms)
|
1158
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.7ms)
|
1159
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.6ms)
|
1160
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (19.1ms)
|
1161
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1162
|
+
Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.8ms)
|
694
1163
|
|
695
1164
|
|
696
|
-
Started GET "/assets/
|
697
|
-
Served asset /
|
1165
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
1166
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
698
1167
|
|
699
1168
|
|
700
|
-
Started GET "/
|
701
|
-
|
702
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
703
|
-
[1m[36m (0.3ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count [0m
|
704
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
|
705
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
706
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
707
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (3.6ms)
|
708
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
709
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.1ms)
|
710
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
|
711
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
712
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (3.4ms)
|
713
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
714
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
715
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
716
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
717
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
|
718
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
719
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.1ms)
|
720
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
|
721
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
722
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.9ms)
|
723
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
724
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
|
725
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (53.6ms)
|
726
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "blog_posts" [0m
|
727
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.5ms)
|
728
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (61.6ms)
|
729
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
730
|
-
Completed 200 OK in 119ms (Views: 117.1ms | ActiveRecord: 1.0ms)
|
1169
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
1170
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
731
1171
|
|
732
1172
|
|
733
|
-
Started GET "/assets/
|
734
|
-
Served asset /
|
1173
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
1174
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
735
1175
|
|
736
1176
|
|
737
|
-
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-
|
1177
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
738
1178
|
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
739
1179
|
|
740
1180
|
|
741
|
-
Started GET "/
|
742
|
-
Processing by Blogit::PostsController#new as HTML
|
743
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
744
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.3ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
745
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (5.2ms)
|
746
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (6.4ms)
|
747
|
-
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
748
|
-
Completed 200 OK in 19ms (Views: 16.1ms | ActiveRecord: 0.7ms)
|
749
|
-
|
750
|
-
|
751
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:31 +0000
|
1181
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
752
1182
|
Served asset /jquery.js - 304 Not Modified (0ms)
|
753
1183
|
|
754
1184
|
|
755
|
-
Started GET "/assets/
|
756
|
-
Served asset /
|
1185
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
1186
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
757
1187
|
|
758
1188
|
|
759
|
-
Started
|
760
|
-
|
761
|
-
|
762
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
763
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
764
|
-
[1m[35m (0.0ms)[0m begin transaction
|
765
|
-
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["blogger_id", 1], ["blogger_type", "User"], ["body", "lorem oiasjf oasjdfs aoidfjs aoidjf aosidjf aosidjfa osidjfasodifj asodi jfaosidf"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00], ["title", "Lorem ipsum"], ["updated_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00]]
|
766
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
|
767
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 5 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
768
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 5 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
769
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00], ["tag_id", 1], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
770
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 5 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
771
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00], ["tag_id", 2], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
772
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 5 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
773
|
-
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00], ["tag_id", 3], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
774
|
-
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts"
|
775
|
-
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
776
|
-
Redirected to http://localhost:3000/blog/posts/5-lorem-ipsum
|
777
|
-
Completed 302 Found in 32ms (ActiveRecord: 6.7ms)
|
1189
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000
|
1190
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1191
|
+
Connecting to database specified by database.yml
|
778
1192
|
|
779
1193
|
|
780
|
-
Started GET "/blog/posts/
|
1194
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:13:26 +0000
|
781
1195
|
Processing by Blogit::PostsController#show as HTML
|
782
|
-
Parameters: {"id"=>"
|
783
|
-
[1m[
|
784
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (
|
785
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.
|
786
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
787
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.0ms)
|
788
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
789
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms)
|
790
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.5ms)
|
791
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
|
792
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 5 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
793
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 5 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
794
|
-
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 5 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
795
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.3ms)
|
796
|
-
Rendered blogit/posts/_post_footer.html.erb (7.6ms)
|
797
|
-
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 5
|
798
|
-
Rendered collection (0.0ms)
|
799
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.1ms)
|
800
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.7ms)
|
801
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (23.6ms)
|
802
|
-
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
803
|
-
Completed 200 OK in 34ms (Views: 31.9ms | ActiveRecord: 1.1ms)
|
804
|
-
|
805
|
-
|
806
|
-
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:48 +0000
|
807
|
-
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
808
|
-
|
809
|
-
|
810
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:48 +0000
|
811
|
-
Served asset /jquery.js - 304 Not Modified (0ms)
|
812
|
-
|
813
|
-
|
814
|
-
Started GET "/blog/" for 127.0.0.1 at 2013-01-17 21:25:51 +0000
|
815
|
-
Processing by Blogit::PostsController#index as HTML
|
1196
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
1197
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
1198
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (89.9ms)
|
1199
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.9ms)
|
816
1200
|
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
817
|
-
|
818
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
|
819
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
820
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (1.0ms)
|
821
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (4.2ms)
|
822
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
823
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
|
824
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
825
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (4.3ms)
|
826
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
|
827
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
828
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
829
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
|
830
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.6ms)
|
831
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.5ms)
|
1201
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (22.2ms)
|
832
1202
|
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
833
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (
|
834
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
835
|
-
|
836
|
-
|
837
|
-
[1m[
|
838
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
839
|
-
Rendered
|
840
|
-
|
841
|
-
Rendered
|
842
|
-
|
843
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
844
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
845
|
-
[1m[
|
846
|
-
|
847
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (67.8ms)
|
848
|
-
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
849
|
-
Completed 200 OK in 78ms (Views: 76.6ms | ActiveRecord: 0.9ms)
|
1203
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (18.5ms)
|
1204
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (136.6ms)
|
1205
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1206
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1207
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
1208
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (32.1ms)
|
1209
|
+
Rendered blogit/posts/_post_footer.html.erb (33.1ms)
|
1210
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
1211
|
+
Rendered collection (0.0ms)
|
1212
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (7.6ms)
|
1213
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (12.4ms)
|
1214
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (208.7ms)
|
1215
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
1216
|
+
Completed 200 OK in 271ms (Views: 254.5ms | ActiveRecord: 2.4ms)
|
850
1217
|
|
851
1218
|
|
852
|
-
Started GET "/assets/
|
853
|
-
Served asset /
|
1219
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000
|
1220
|
+
Served asset /blogit/index.css - 304 Not Modified (3ms)
|
854
1221
|
|
855
1222
|
|
856
|
-
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-
|
857
|
-
Served asset /jquery_ujs.js - 304 Not Modified (
|
1223
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000
|
1224
|
+
Served asset /jquery_ujs.js - 304 Not Modified (6ms)
|
858
1225
|
|
859
1226
|
|
860
|
-
Started GET "/
|
861
|
-
|
862
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
863
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.3ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
864
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (5.1ms)
|
865
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (6.1ms)
|
866
|
-
[1m[35mBlogit::Post Load (0.3ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
867
|
-
Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.7ms)
|
1227
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000
|
1228
|
+
Served asset /application.css - 304 Not Modified (1ms)
|
868
1229
|
|
869
1230
|
|
870
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-
|
871
|
-
Served asset /jquery.js - 304 Not Modified (
|
1231
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000
|
1232
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
872
1233
|
|
873
1234
|
|
874
|
-
Started GET "/assets/
|
875
|
-
Served asset /
|
1235
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000
|
1236
|
+
Served asset /application.js - 304 Not Modified (5ms)
|
876
1237
|
|
877
1238
|
|
878
|
-
Started
|
879
|
-
|
880
|
-
Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"aosdifj aosidfjaoiejfw oaijrf oisjfoasifdj aosidfjoasdfj aosdifjaosidfjaosi dfj", "body"=>"ASfd oaijdfo asdijfas oidfj aoijfa sodifj asodifj saodif jasoidfj", "tag_list"=>"two, three"}, "commit"=>"Create Post"}
|
881
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
882
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
883
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
884
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
885
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (5.1ms)
|
886
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (6.7ms)
|
887
|
-
[1m[36mBlogit::Post Load (0.6ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
888
|
-
Completed 200 OK in 34ms (Views: 27.0ms | ActiveRecord: 1.0ms)
|
1239
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000
|
1240
|
+
Served asset /blogit/archive.js - 304 Not Modified (2ms)
|
889
1241
|
|
890
1242
|
|
891
|
-
Started GET "/assets/
|
892
|
-
Served asset /
|
1243
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000
|
1244
|
+
Served asset /blogit/index.js - 304 Not Modified (4ms)
|
893
1245
|
|
894
1246
|
|
895
|
-
Started GET "/
|
896
|
-
|
1247
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:13:29 +0000
|
1248
|
+
Processing by Blogit::PostsController#edit as HTML
|
1249
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
1250
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1251
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
1252
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1253
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (6.9ms)
|
1254
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (8.5ms)
|
1255
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
1256
|
+
Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 0.7ms)
|
897
1257
|
|
898
1258
|
|
899
|
-
Started
|
900
|
-
|
901
|
-
Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"aosdifj aosidfjaoiejfw oaijrf oisjfoasifdj aosidfjoasdfj", "body"=>"ASfd oaijdfo asdijfas oidfj aoijfa sodifj asodifj saodif jasoidfj", "tag_list"=>"two, three"}, "commit"=>"Create Post"}
|
902
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
903
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
904
|
-
[1m[35m (0.0ms)[0m begin transaction
|
905
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["blogger_id", 1], ["blogger_type", "User"], ["body", "ASfd oaijdfo asdijfas oidfj aoijfa sodifj asodifj saodif jasoidfj"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:26:10 UTC +00:00], ["title", "aosdifj aosidfjaoiejfw oaijrf oisjfoasifdj aosidfjoasdfj"], ["updated_at", Thu, 17 Jan 2013 21:26:10 UTC +00:00]]
|
906
|
-
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE (lower(name) = 'two' OR lower(name) = 'three')
|
907
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 6 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
908
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.1ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 6 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
909
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:26:10 UTC +00:00], ["tag_id", 2], ["taggable_id", 6], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
910
|
-
[1m[35mActsAsTaggableOn::Tagging Exists (0.2ms)[0m SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 6 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
|
911
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:26:10 UTC +00:00], ["tag_id", 3], ["taggable_id", 6], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
|
912
|
-
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts"
|
913
|
-
[1m[36m (3.0ms)[0m [1mcommit transaction[0m
|
914
|
-
Redirected to http://localhost:3000/blog/posts/6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj
|
915
|
-
Completed 302 Found in 32ms (ActiveRecord: 4.9ms)
|
1259
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000
|
1260
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
916
1261
|
|
917
1262
|
|
918
|
-
Started GET "/
|
919
|
-
|
920
|
-
Parameters: {"id"=>"6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj"}
|
921
|
-
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj"]]
|
922
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
923
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (10.3ms)
|
924
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
925
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.9ms)
|
926
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
927
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms)
|
928
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (20.2ms)
|
929
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
|
930
|
-
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 6 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
931
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 6 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
932
|
-
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 6 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
933
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.5ms)
|
934
|
-
Rendered blogit/posts/_post_footer.html.erb (9.7ms)
|
935
|
-
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 6
|
936
|
-
Rendered collection (0.0ms)
|
937
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.0ms)
|
938
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.5ms)
|
939
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (41.5ms)
|
940
|
-
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
941
|
-
Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 1.2ms)
|
1263
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000
|
1264
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
942
1265
|
|
943
1266
|
|
944
|
-
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-
|
1267
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000
|
945
1268
|
Served asset /jquery.js - 304 Not Modified (0ms)
|
946
1269
|
|
947
1270
|
|
948
|
-
Started GET "/assets/
|
949
|
-
Served asset /
|
1271
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000
|
1272
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
950
1273
|
|
951
1274
|
|
952
|
-
Started GET "/
|
953
|
-
|
954
|
-
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
955
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count [0m
|
956
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
|
957
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
958
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
959
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.4ms)
|
960
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
961
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
962
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
|
963
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
964
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
|
965
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
966
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.0ms)
|
967
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
|
968
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
969
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
|
970
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
971
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.5ms)
|
972
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
|
973
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
974
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
|
975
|
-
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
976
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.5ms)
|
977
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
978
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
979
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
|
980
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
981
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.6ms)
|
982
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (40.6ms)
|
983
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "blog_posts"
|
984
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (14.4ms)
|
985
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (131.1ms)
|
986
|
-
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
987
|
-
Completed 200 OK in 142ms (Views: 140.6ms | ActiveRecord: 0.9ms)
|
1275
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000
|
1276
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
988
1277
|
|
989
1278
|
|
990
|
-
Started GET "/assets/
|
991
|
-
Served asset /
|
1279
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000
|
1280
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
992
1281
|
|
993
1282
|
|
994
|
-
Started GET "/assets/
|
995
|
-
Served asset /
|
1283
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000
|
1284
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
996
1285
|
|
997
1286
|
|
998
|
-
Started
|
999
|
-
Processing by Blogit::PostsController#
|
1000
|
-
Parameters: {"
|
1001
|
-
[1m[35mUser Load (1.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1002
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 5) subquery_for_count [0m
|
1003
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 5
|
1004
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (2.6ms)
|
1005
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
1006
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
|
1007
|
-
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1008
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
1009
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (21.9ms)
|
1010
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "blog_posts"
|
1011
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (201.8ms)
|
1012
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (232.5ms)
|
1013
|
-
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1014
|
-
Completed 200 OK in 246ms (Views: 242.9ms | ActiveRecord: 2.2ms)
|
1287
|
+
Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:13:30 +0000
|
1288
|
+
Processing by Blogit::PostsController#update as HTML
|
1289
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"}
|
1015
1290
|
|
1016
1291
|
|
1017
|
-
|
1018
|
-
Served asset /jquery.js - 304 Not Modified (0ms)
|
1292
|
+
This is called!!
|
1019
1293
|
|
1020
1294
|
|
1021
|
-
|
1022
|
-
|
1295
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1296
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
1297
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1298
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1299
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')[0m
|
1300
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1301
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
1302
|
+
Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post
|
1303
|
+
Completed 302 Found in 22ms (ActiveRecord: 1.0ms)
|
1023
1304
|
|
1024
1305
|
|
1025
|
-
Started GET "/blog/posts/
|
1026
|
-
Processing by Blogit::PostsController#
|
1027
|
-
Parameters: {"
|
1028
|
-
[1m[
|
1029
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 5) subquery_for_count [0m
|
1030
|
-
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 5
|
1306
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:13:30 +0000
|
1307
|
+
Processing by Blogit::PostsController#show as HTML
|
1308
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
1309
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
1031
1310
|
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
1032
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1311
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
1312
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1313
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
|
1314
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1315
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.4ms)
|
1316
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.4ms)
|
1317
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1318
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1319
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1320
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.4ms)
|
1321
|
+
Rendered blogit/posts/_post_footer.html.erb (5.2ms)
|
1322
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
1323
|
+
Rendered collection (0.0ms)
|
1324
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.6ms)
|
1325
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.1ms)
|
1326
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (19.2ms)
|
1040
1327
|
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1041
|
-
Completed 200 OK in
|
1328
|
+
Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 0.8ms)
|
1042
1329
|
|
1043
1330
|
|
1044
|
-
Started GET "/assets/
|
1045
|
-
Served asset /
|
1331
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000
|
1332
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1046
1333
|
|
1047
1334
|
|
1048
|
-
Started GET "/assets/blogit/
|
1049
|
-
Served asset /blogit/
|
1335
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000
|
1336
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1050
1337
|
|
1051
1338
|
|
1052
|
-
Started GET "/assets/
|
1053
|
-
Served asset /
|
1339
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000
|
1340
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1054
1341
|
|
1055
1342
|
|
1056
|
-
Started GET "/assets/
|
1057
|
-
Served asset /
|
1343
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000
|
1344
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1058
1345
|
|
1059
1346
|
|
1060
|
-
Started GET "/assets/
|
1061
|
-
Served asset /
|
1347
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000
|
1348
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1062
1349
|
|
1063
1350
|
|
1064
|
-
Started GET "/assets/application.
|
1065
|
-
Served asset /application.
|
1351
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000
|
1352
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1066
1353
|
|
1067
1354
|
|
1068
|
-
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-
|
1069
|
-
Served asset /blogit/index.js - 304 Not Modified (
|
1355
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000
|
1356
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1357
|
+
Connecting to database specified by database.yml
|
1358
|
+
Connecting to database specified by database.yml
|
1359
|
+
Connecting to database specified by database.yml
|