blogit 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/README.md +5 -20
  2. data/app/controllers/blogit/posts_controller.rb +22 -0
  3. data/app/models/blogit/post.rb +1 -1
  4. data/app/views/blogit/posts/_form.html.erb +1 -1
  5. data/app/views/blogit/posts/index.rss.builder +10 -10
  6. data/config/routes.rb +4 -4
  7. data/lib/blogit.rb +1 -0
  8. data/lib/blogit/configuration.rb +10 -5
  9. data/lib/blogit/version.rb +1 -1
  10. data/lib/generators/templates/blogit.rb +9 -3
  11. data/spec/controllers/blogit/posts_controller_spec.rb +72 -0
  12. data/spec/dummy/app/views/layouts/application.html.erb +1 -1
  13. data/spec/dummy/config/initializers/blogit.rb +49 -20
  14. data/spec/dummy/db/development.sqlite3 +0 -0
  15. data/spec/dummy/db/schema.rb +9 -9
  16. data/spec/dummy/db/test.sqlite3 +0 -0
  17. data/spec/dummy/log/development.log +1094 -804
  18. data/spec/dummy/log/test.log +24187 -2415
  19. data/spec/dummy/tmp/cache/assets/CB5/DD0/sprockets%2F346324d2a51df58457807bee661c449c +0 -0
  20. data/spec/dummy/tmp/cache/assets/CB6/ED0/sprockets%2F4390d06699f3ad4262e342be530f9f91 +0 -0
  21. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  22. data/spec/dummy/tmp/cache/assets/CE7/230/sprockets%2F6f493a817d97133a8dbf674bcd322670 +0 -0
  23. data/spec/dummy/tmp/cache/assets/CEE/310/sprockets%2F89642af8492e579dcd7162a0e2b7f155 +0 -0
  24. data/spec/dummy/tmp/cache/assets/D01/8C0/sprockets%2F332d5a9ce3e800c6c4a7a99058023ba2 +0 -0
  25. data/spec/dummy/tmp/cache/assets/{D5B/660/sprockets%2F4bb4e11ca3769b37bdac230e17180f2f → D09/740/sprockets%2F7a82d51e72434ef73fabb4a26131d945} +0 -0
  26. data/spec/dummy/tmp/cache/assets/D11/CC0/sprockets%2F3a12dfa6665b5318fa99d097203ac7e7 +0 -0
  27. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  28. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  30. data/spec/dummy/tmp/cache/assets/D61/6F0/sprockets%2F02da53eeca228bcef0c49278517111fe +0 -0
  31. data/spec/dummy/tmp/cache/assets/{D12/8E0/sprockets%2F589dd1f5f312060f7ea7179ed0d1b690 → D66/900/sprockets%2F52de1b25e110e8a937b9e30b0a9e8da7} +0 -0
  32. data/spec/dummy/tmp/cache/assets/{D60/F70/sprockets%2F336e00e00f731efa2546eeae7691ba1e → DA7/D70/sprockets%2Fc627f052aaee94e9b24815d5aee4ff38} +0 -0
  33. data/spec/dummy/tmp/cache/assets/DCA/9B0/sprockets%2Fdf0e8f8a85e5d4056b3fe1cec3b7131a +0 -0
  34. data/spec/dummy/tmp/cache/assets/{C5B/630/sprockets%2F8a34981857e0826772a246e2d7215ce5 → DD2/6F0/sprockets%2Ffbe80717facec3dd9ea7ac008719c843} +0 -0
  35. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  36. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  37. data/spec/lib/configuration_spec.rb +5 -5
  38. metadata +28 -20
  39. data/spec/dummy/db/migrate/20111118222920_create_blog_posts.rb +0 -12
  40. data/spec/dummy/db/migrate/20111118222921_create_blog_comments.rb +0 -15
  41. data/spec/dummy/db/migrate/20111118222922_acts_as_taggable_on_migration.rb +0 -28
  42. data/spec/dummy/tmp/pids/server.pid +0 -1
@@ -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 => 20111118222922) do
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
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
   (0.1ms) select sqlite_version(*)
22
-  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
23
-  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
3
+  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (0.0ms) PRAGMA index_list("schema_migrations")
5
+  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
+ Connecting to database specified by database.yml
7
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
25
8
  Migrating to CreateUsers (20110814091304)
9
+  (0.0ms) select sqlite_version(*)
26
10
   (0.0ms) begin transaction
27
11
   (0.4ms) 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
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')
29
-  (10.3ms) commit transaction
30
- Migrating to CreateBlogPosts (20110814091434)
13
+  (51.1ms) commit transaction
14
+ Migrating to CreatePeople (20110819103335)
31
15
   (0.1ms) begin transaction
16
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
17
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')
18
+  (4.2ms) commit transaction
19
+ Migrating to CreateBlogPosts (20111118222920)
20
+  (0.0ms) begin transaction
32
21
   (0.4ms) 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
+  (0.0ms) PRAGMA index_list("blog_posts")
23
+  (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")
24
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222920')
25
+  (5.7ms) commit transaction
26
+ Migrating to CreateBlogComments (20111118222921)
27
+  (0.0ms) begin transaction
28
+  (0.3ms) 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
+  (0.0ms) PRAGMA index_list("blog_comments")
30
+  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
31
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222921')
32
+  (4.1ms) commit transaction
33
+ Migrating to ActsAsTaggableOnMigration (20111118222922)
34
+  (0.1ms) begin transaction
35
+  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
36
+  (0.1ms) 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) 
37
+  (0.0ms) PRAGMA index_list("taggings")
38
+  (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
39
+  (0.0ms) PRAGMA index_list("taggings")
40
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
41
+  (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
42
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222922')
43
+  (4.7ms) commit transaction
44
+  (0.3ms) select sqlite_version(*)
45
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
46
+  (0.0ms) PRAGMA index_list("blog_comments")
47
+  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')
48
+  (0.0ms) PRAGMA index_list("blog_posts")
49
+  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
50
+  (0.0ms) PRAGMA index_list("people")
51
+  (0.0ms) PRAGMA index_list("taggings")
52
+  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
53
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
54
+  (0.0ms) PRAGMA index_list("tags")
55
+  (0.0ms) PRAGMA index_list("users")
56
+ Connecting to database specified by database.yml
57
+ Connecting to database specified by database.yml
58
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
59
+ Migrating to CreateUsers (20110814091304)
60
+ Migrating to CreateBlogPosts (20110814091434)
61
+  (0.0ms) select sqlite_version(*)
62
+  (0.0ms) begin transaction
63
+  (0.3ms) 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
+  (0.1ms) rollback transaction
66
+ Connecting to database specified by database.yml
67
+  (0.1ms) select sqlite_version(*)
68
+  (53.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
69
+  (0.0ms) PRAGMA index_list("schema_migrations")
70
+  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
71
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
72
+ Migrating to CreateUsers (20110814091304)
73
+  (0.0ms) begin transaction
74
+  (0.3ms) 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) 
75
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')
76
+  (4.6ms) commit transaction
77
+ Migrating to CreateBlogPosts (20110814091434)
78
+  (0.0ms) begin transaction
79
+  (0.3ms) 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) 
80
+  (0.0ms) PRAGMA index_list("blog_posts")
33
81
   (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")
34
82
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091434')
35
-  (2.5ms) commit transaction
83
+  (5.5ms) commit transaction
36
84
  Migrating to CreateBlogComments (20110814093229)
37
85
   (0.0ms) begin transaction
38
-  (0.4ms) 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) 
39
-  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
40
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')
41
-  (7.7ms) commit transaction
86
+  (0.3ms) 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) 
87
+  (0.0ms) PRAGMA index_list("blog_comments")
88
+  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
89
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')
90
+  (4.5ms) commit transaction
42
91
  Migrating to ActsAsTaggableOnMigration (20110814103306)
43
-  (0.0ms) begin transaction
44
-  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
45
-  (0.1ms) 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) 
92
+  (0.0ms) begin transaction
93
+  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
94
+  (0.1ms) 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
+  (0.0ms) PRAGMA index_list("taggings")
46
96
   (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
97
+  (0.0ms) PRAGMA index_list("taggings")
98
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
47
99
   (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
48
100
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814103306')
49
-  (3.7ms) commit transaction
101
+  (4.0ms) commit transaction
50
102
  Migrating to CreatePeople (20110819103335)
51
103
   (0.0ms) begin transaction
52
-  (0.8ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
104
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
53
105
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')
54
-  (5.0ms) commit transaction
55
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
106
+  (4.3ms) commit transaction
107
+  (0.3ms) select sqlite_version(*)
108
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
109
+  (0.0ms) PRAGMA index_list("blog_comments")
110
+  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')
111
+  (0.0ms) PRAGMA index_list("blog_posts")
112
+  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
113
+  (0.0ms) PRAGMA index_list("people")
114
+  (0.0ms) PRAGMA index_list("taggings")
115
+  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
116
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
117
+  (0.0ms) PRAGMA index_list("tags")
118
+  (0.0ms) PRAGMA index_list("users")
119
+ Connecting to database specified by database.yml
120
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
121
+ Migrating to CreateUsers (20110814091304)
122
+ Migrating to CreatePeople (20110819103335)
123
+  (0.2ms) select sqlite_version(*)
124
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
125
+  (0.0ms) PRAGMA index_list("blog_comments")
126
+  (0.1ms) PRAGMA index_info('index_blog_comments_on_post_id')
127
+  (0.0ms) PRAGMA index_list("blog_posts")
128
+  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
129
+  (0.0ms) PRAGMA index_list("people")
130
+  (0.0ms) PRAGMA index_list("taggings")
131
+  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
132
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
133
+  (0.0ms) PRAGMA index_list("tags")
134
+  (0.0ms) PRAGMA index_list("users")
135
+ Connecting to database specified by database.yml
136
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
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
+  (0.3ms) select sqlite_version(*)
143
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
144
+  (0.0ms) PRAGMA index_list("blog_comments")
145
+  (0.1ms) PRAGMA index_info('index_blog_comments_on_post_id')
146
+  (0.0ms) PRAGMA index_list("blog_posts")
147
+  (0.1ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
148
+  (0.0ms) PRAGMA index_list("people")
149
+  (0.0ms) PRAGMA index_list("taggings")
150
+  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
151
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
152
+  (0.0ms) PRAGMA index_list("tags")
153
+  (0.0ms) PRAGMA index_list("users")
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
+  (0.2ms) select sqlite_version(*)
159
+  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
160
+  (0.0ms) PRAGMA index_list("schema_migrations")
161
+  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
162
+ Connecting to database specified by database.yml
163
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
164
+ Migrating to CreateUsers (20110814091304)
165
+  (0.0ms) select sqlite_version(*)
166
+  (0.0ms) begin transaction
167
+  (0.5ms) 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
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')
169
+  (54.1ms) commit transaction
170
+ Migrating to CreateBlogPosts (20110814091434)
171
+  (0.1ms) begin transaction
172
+  (0.5ms) 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
+  (0.1ms) PRAGMA index_list("blog_posts")
174
+  (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")
175
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091434')
176
+  (4.6ms) commit transaction
177
+ Migrating to CreateBlogComments (20110814093229)
178
+  (0.1ms) begin transaction
179
+  (0.4ms) 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
+  (0.0ms) PRAGMA index_list("blog_comments")
181
+  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
182
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')
183
+  (4.8ms) commit transaction
184
+ Migrating to ActsAsTaggableOnMigration (20110814103306)
185
+  (0.0ms) begin transaction
186
+  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
187
+  (0.1ms) 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) 
188
+  (0.0ms) PRAGMA index_list("taggings")
189
+  (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
190
+  (0.0ms) PRAGMA index_list("taggings")
191
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
192
+  (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
193
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814103306')
194
+  (4.5ms) commit transaction
195
+ Migrating to CreatePeople (20110819103335)
196
+  (0.0ms) begin transaction
197
+  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
198
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')
199
+  (4.2ms) commit transaction
200
+  (0.5ms) select sqlite_version(*)
201
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
202
+  (0.0ms) PRAGMA index_list("blog_comments")
203
+  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')
204
+  (0.1ms) PRAGMA index_list("blog_posts")
205
+  (0.1ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
206
+  (0.0ms) PRAGMA index_list("people")
207
+  (0.0ms) PRAGMA index_list("taggings")
208
+  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
209
+  (0.1ms) PRAGMA index_info('index_taggings_on_tag_id')
210
+  (0.0ms) PRAGMA index_list("tags")
211
+  (0.0ms) 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-01-17 21:19:56 +0000
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
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
62
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
63
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (9.2ms)
64
-  (0.2ms) SELECT COUNT(*) FROM "blog_posts" 
65
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (20.4ms)
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
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
220
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
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
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
70
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
71
- Compiled jquery.js (2ms) (pid 36676)
72
- Compiled jquery_ujs.js (1ms) (pid 36676)
73
- Compiled application.js (112ms) (pid 36676)
74
- Compiled blogit/archive.js (0ms) (pid 36676)
75
- Compiled blogit/index.js (20ms) (pid 36676)
76
- Completed 200 OK in 517ms (Views: 514.3ms | ActiveRecord: 1.4ms)
224
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
225
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
+  (0.2ms) 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
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
234
+ Blogit::Post Load (0.2ms) 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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
80
- Served asset /jquery.js - 304 Not Modified (37ms)
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/application.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
84
- Served asset /application.js - 200 OK (7ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
88
- Served asset /jquery_ujs.js - 304 Not Modified (2ms)
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
- Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
104
- Served asset /blogit/index.js - 200 OK (16ms)
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
+ Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
+ ActsAsTaggableOn::Tag Load (0.1ms) 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
+ CACHE (0.0ms) 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)
285
+ Blogit::Post Load (0.2ms) 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
+ Blogit::Comment Load (0.3ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
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
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
294
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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-01-17 21:20:02 +0000
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 (9.2ms)
300
+ Rendered sessions/new.html.erb within layouts/application (1.8ms)
301
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
302
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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
+ User Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
312
+ Blogit::Post Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'gavin' AND "users"."password" = '' LIMIT 1
321
+ Rendered sessions/new.html.erb within layouts/application (13.3ms)
110
322
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
323
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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
+ User Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
338
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
339
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
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
+ CACHE (0.0ms) 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
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
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
+ Blogit::Post Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
356
+ ActsAsTaggableOn::Tag Load (0.2ms) 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
  Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
112
- Completed 200 OK in 35ms (Views: 34.3ms | ActiveRecord: 0.3ms)
360
+ Completed 200 OK in 96ms (Views: 92.8ms | ActiveRecord: 0.5ms)
113
361
 
114
362
 
115
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:20:02 +0000
116
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
367
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
368
+  (0.1ms) begin transaction
369
+ SQL (0.8ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
371
+ ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'one' LIMIT 1
372
+ SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "one"]]
373
+ ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'two' LIMIT 1
374
+ SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "two"]]
375
+ ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'three' LIMIT 1
376
+ SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "three"]]
377
+ ActsAsTaggableOn::Tag Load (0.1ms) 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)
378
+ ActsAsTaggableOn::Tagging Exists (0.1ms) 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
+ SQL (0.4ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+ ActsAsTaggableOn::Tagging Exists (0.1ms) 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
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+ ActsAsTaggableOn::Tagging Exists (0.1ms) 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
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
385
+  (56.6ms) commit transaction
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 "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:20:02 +0000
120
- Served asset /jquery.js - 304 Not Modified (0ms)
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
+ Blogit::Post Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
397
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
398
+ CACHE (0.0ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
403
+ CACHE (0.0ms) 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
+ Blogit::Post Load (0.2ms) 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
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
+ Blogit::Comment Load (0.1ms) 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
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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 "/session" for 127.0.0.1 at 2013-01-17 21:21:08 +0000
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
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["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
+ User Load (0.1ms) 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
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
+ ActsAsTaggableOn::Tag Load (0.1ms) 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
+ CACHE (0.0ms) 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)
431
+ Blogit::Post Load (0.2ms) 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
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
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
- ActionController::RoutingError (No route matches [GET] "/session"):
128
- actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
129
- actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
130
- railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
131
- railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
132
- activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
133
- railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
134
- actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
135
- rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
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@KatanaCode/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (6.0ms)
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-01-17 21:21:13 +0000
154
- Processing by Blogit::PostsController#index as HTML
155
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
156
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
157
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (8.8ms)
158
-  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
159
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (3.6ms)
160
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (35.6ms)
161
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
162
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
163
- Completed 200 OK in 98ms (Views: 95.3ms | ActiveRecord: 1.3ms)
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
+ Blogit::Post Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
464
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.3ms)
465
+ CACHE (0.0ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
469
+ CACHE (0.0ms) 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
+ Blogit::Post Load (0.2ms) 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
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
+ Blogit::Comment Load (0.1ms) 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
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["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
+ User Load (0.2ms) 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
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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
+ CACHE (0.0ms) 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)
509
+ Blogit::Post Load (0.2ms) 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
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
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
+ Blogit::Post Load (0.2ms) 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
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
178
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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
- User Load (0.2ms) 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
- Started GET "/" for 127.0.0.1 at 2013-01-17 21:21:18 +0000
199
- Processing by Blogit::PostsController#index as HTML
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
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
201
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
202
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.1ms)
203
-  (0.2ms) SELECT COUNT(*) FROM "blog_posts" 
204
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (24.5ms)
205
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (29.1ms)
553
+ Blogit::Post Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
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
  Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
207
- Completed 200 OK in 41ms (Views: 39.5ms | ActiveRecord: 0.7ms)
558
+ Completed 200 OK in 21ms (Views: 17.0ms | ActiveRecord: 0.8ms)
208
559
 
209
560
 
210
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:18 +0000
211
- Served asset /jquery.js - 304 Not Modified (0ms)
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-01-17 21:21:18 +0000
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 "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:21:21 +0000
219
- Processing by Blogit::PostsController#new as HTML
220
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
221
- ActsAsTaggableOn::Tag Load (0.1ms) 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
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:21 +0000
229
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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-01-17 21:21:21 +0000
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 POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:21:33 +0000
237
- Processing by Blogit::PostsController#create as HTML
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
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
240
- ActsAsTaggableOn::Tag Load (0.1ms) 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)
241
-  (0.0ms) begin transaction
242
- SQL (10.1ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
- ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
244
- ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'one' LIMIT 1
245
- SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "one"]]
246
- ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'two' LIMIT 1
247
- SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "two"]]
248
- ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'three' LIMIT 1
249
- SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "three"]]
250
- ActsAsTaggableOn::Tag Load (0.1ms) 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)
251
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
- SQL (0.4ms) 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:21:33 UTC +00:00], ["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
253
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
- SQL (0.1ms) 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:21:33 UTC +00:00], ["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
255
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
- SQL (0.1ms) 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:21:33 UTC +00:00], ["tag_id", 3], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
257
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
258
-  (3.1ms) commit transaction
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 GET "/blog/posts/1-test-blog-post" for 127.0.0.1 at 2013-01-17 21:21:33 +0000
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
593
+ Blogit::Post Load (0.1ms) 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
+  (0.1ms) begin transaction
595
+ ActsAsTaggableOn::Tag Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
597
+ CACHE (0.0ms) 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
+  (0.1ms) commit transaction
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"=>"1-test-blog-post"}
266
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-blog-post"]]
267
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
268
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (1.0ms)
269
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
270
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (3.3ms)
605
+ Parameters: {"id"=>"2-this-is-a-new-blog-post"}
606
+ Blogit::Post Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
610
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
271
611
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
272
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.4ms)
273
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (35.6ms)
274
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.9ms)
275
- ActsAsTaggableOn::Tag Load (0.2ms) 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)
276
- CACHE (0.0ms) 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)
277
- Blogit::Post Load (0.2ms) 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 ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
278
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.9ms)
279
- Rendered blogit/posts/_post_footer.html.erb (7.7ms)
280
- Blogit::Comment Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.1ms) 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)
615
+ CACHE (0.0ms) 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
+ Blogit::Post Load (0.3ms) 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
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
+ Blogit::Comment Load (0.1ms) 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 (5.8ms)
283
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (10.3ms)
284
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (107.2ms)
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
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
660
+ Blogit::Post Load (0.1ms) 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"]]
661
+ ActsAsTaggableOn::Tag Load (0.2ms) 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
  Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
286
- Completed 200 OK in 116ms (Views: 113.7ms | ActiveRecord: 1.5ms)
665
+ Completed 200 OK in 46ms (Views: 22.5ms | ActiveRecord: 1.4ms)
287
666
 
288
667
 
289
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:34 +0000
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:34 +0000
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 "/blog/posts/tagged/one" for 127.0.0.1 at 2013-01-17 21:21:47 +0000
298
- Processing by Blogit::PostsController#tagged as HTML
299
- Parameters: {"tag"=>"one"}
300
- ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one')
301
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
302
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" JOIN taggings posts_taggings_3b091e3 ON posts_taggings_3b091e3.taggable_id = blog_posts.id AND posts_taggings_3b091e3.taggable_type = 'Blogit::Post' AND posts_taggings_3b091e3.tag_id = 1 LIMIT 5 OFFSET 0) subquery_for_count
303
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" JOIN taggings posts_taggings_3b091e3 ON posts_taggings_3b091e3.taggable_id = blog_posts.id AND posts_taggings_3b091e3.taggable_type = 'Blogit::Post' AND posts_taggings_3b091e3.tag_id = 1 ORDER BY created_at DESC LIMIT 5 OFFSET 0
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
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
700
+ Blogit::Post Load (0.1ms) 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"]]
701
+  (0.1ms) begin transaction
702
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
703
+ ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
704
+ CACHE (0.0ms) 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)
705
+  (0.1ms) 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
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["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.3ms)
306
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.1ms)
307
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
308
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.7ms)
309
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (21.7ms)
310
-  (0.2ms) SELECT COUNT(*) FROM "blog_posts" JOIN taggings posts_taggings_3b091e3 ON posts_taggings_3b091e3.taggable_id = blog_posts.id AND posts_taggings_3b091e3.taggable_type = 'Blogit::Post' AND posts_taggings_3b091e3.tag_id = 1
311
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.9ms)
312
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (30.1ms)
715
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
716
+ User Load (0.1ms) 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
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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
+ CACHE (0.0ms) 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)
723
+ Blogit::Post Load (0.3ms) 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
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
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
  Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
314
- Completed 200 OK in 95ms (Views: 37.0ms | ActiveRecord: 1.1ms)
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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:47 +0000
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:47 +0000
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
768
+ Blogit::Post Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.1ms) 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)
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
+ Blogit::Post Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
808
+ Blogit::Post Load (0.1ms) 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
+  (0.1ms) begin transaction
810
+ ActsAsTaggableOn::Tag Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
812
+ CACHE (0.0ms) 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
+  (0.1ms) commit transaction
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
+ Blogit::Post Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
825
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.3ms)
826
+ CACHE (0.0ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
830
+ CACHE (0.0ms) 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
+ Blogit::Post Load (0.2ms) 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
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
+ Blogit::Comment Load (0.2ms) 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
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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/tagged/one" for 127.0.0.1 at 2013-01-17 21:24:00 +0000
327
- Processing by Blogit::PostsController#tagged as HTML
328
- Parameters: {"tag"=>"one"}
329
- ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one')
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
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["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
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
331
-  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column 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 LIMIT 5 OFFSET 0) subquery_for_count 
332
- Blogit::Post Load (0.2ms) 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
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
337
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (15.5ms)
338
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (26.4ms)
339
-  (0.2ms) SELECT COUNT(*) 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
340
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (4.1ms)
341
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (142.5ms)
342
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
343
- Completed 200 OK in 326ms (Views: 207.0ms | ActiveRecord: 2.1ms)
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
+ ActsAsTaggableOn::Tag Load (0.1ms) 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
+ CACHE (0.0ms) 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)
885
+ Blogit::Post Load (0.2ms) 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
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
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
+ Blogit::Post Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
929
+ Blogit::Post Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
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
+ Blogit::Post Load (0.2ms) 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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:01 +0000
347
- Served asset /jquery_ujs.js - 304 Not Modified (1ms)
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 GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:01 +0000
351
- Served asset /jquery.js - 304 Not Modified (2ms)
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
+ User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
969
+ Blogit::Post Load (0.2ms) 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
+  (0.1ms) begin transaction
971
+ ActsAsTaggableOn::Tag Load (0.4ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
973
+ CACHE (0.0ms) 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
+  (0.1ms) commit transaction
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/1-test-blog-post" for 127.0.0.1 at 2013-01-17 21:24:05 +0000
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"=>"1-test-blog-post"}
357
- Blogit::Post Load (0.4ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-blog-post"]]
358
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
359
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (2.6ms)
981
+ Parameters: {"id"=>"2-this-is-a-new-blog-post"}
982
+ Blogit::Post Load (0.1ms) 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
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
361
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (6.1ms)
986
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.9ms)
362
987
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
363
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (8.2ms)
364
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (33.1ms)
365
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.9ms)
366
- ActsAsTaggableOn::Tag Load (0.1ms) 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)
367
- CACHE (0.0ms) 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)
368
- Blogit::Post Load (0.3ms) 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 ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
369
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (60.3ms)
370
- Rendered blogit/posts/_post_footer.html.erb (73.1ms)
371
- Blogit::Comment Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
991
+ CACHE (0.0ms) 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
+ Blogit::Post Load (0.2ms) 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
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
+ Blogit::Comment Load (0.1ms) 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 (5.2ms)
374
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (13.6ms)
375
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (171.3ms)
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
  Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
377
- Completed 200 OK in 183ms (Views: 180.0ms | ActiveRecord: 1.8ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:05 +0000
385
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 "/blog/" for 127.0.0.1 at 2013-01-17 21:24:30 +0000
389
- Processing by Blogit::PostsController#index as HTML
390
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
391
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
392
- Blogit::Post Load (0.1ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
-  (0.2ms) 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
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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-01-17 21:24:30 +0000
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:30 +0000
411
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:24:32 +0000
415
- Processing by Blogit::PostsController#new as HTML
416
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
417
- ActsAsTaggableOn::Tag Load (0.2ms) 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)
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
- Blogit::Post Load (0.1ms) 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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:32 +0000
425
- Served asset /jquery.js - 304 Not Modified (0ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:32 +0000
429
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:24:45 +0000
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
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
436
- ActsAsTaggableOn::Tag Load (0.2ms) 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
-  (0.0ms) begin transaction
438
- SQL (0.8ms) 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
- ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
440
- ActsAsTaggableOn::Tag Load (0.1ms) 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
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
442
- SQL (0.4ms) 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
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
444
- SQL (0.1ms) 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
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
446
- SQL (0.1ms) 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
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" 
448
-  (4.9ms) 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-sadfiasjf-oasijfd"}
456
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-sadfiasjf-oasijfd"]]
457
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
458
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1035
+ Parameters: {"id"=>"2-this-is-a-new-blog-post"}
1036
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["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
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
460
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.2ms)
1040
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (25.4ms)
461
1041
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
462
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms)
463
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.2ms)
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
  ActsAsTaggableOn::Tag Load (0.2ms) 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
  CACHE (0.0ms) 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)
467
- Blogit::Post Load (0.3ms) 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
468
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.8ms)
469
- Rendered blogit/posts/_post_footer.html.erb (6.6ms)
470
- Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
1046
+ Blogit::Post Load (0.2ms) 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
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
471
1050
  Rendered collection (0.0ms)
472
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.5ms)
473
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.5ms)
474
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.3ms)
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
  Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
476
- Completed 200 OK in 34ms (Views: 31.7ms | ActiveRecord: 1.2ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:45 +0000
484
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 "/blog/" for 127.0.0.1 at 2013-01-17 21:24:46 +0000
488
- Processing by Blogit::PostsController#index as HTML
489
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
490
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
491
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
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
- CACHE (0.0ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
-  (0.2ms) 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
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:46 +0000
511
- Served asset /jquery.js - 304 Not Modified (0ms)
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-01-17 21:24:46 +0000
515
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:24:47 +0000
519
- Processing by Blogit::PostsController#new as HTML
520
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
521
- ActsAsTaggableOn::Tag Load (0.2ms) 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)
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
- Blogit::Post Load (0.2ms) 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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:47 +0000
529
- Served asset /jquery.js - 304 Not Modified (0ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:47 +0000
533
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:24:58 +0000
537
- Processing by Blogit::PostsController#create as HTML
538
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"ASDfpasf kapsodfk apsodfka", "body"=>"pokfaspdfo kaspod fkapsdfk apsdfok apsdfkapsdofk paodkf psodkf apsodkfa posdkf", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
539
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
540
- ActsAsTaggableOn::Tag Load (0.2ms) 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)
541
-  (0.0ms) begin transaction
542
- SQL (2.4ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "pokfaspdfo kaspod fkapsdfk apsdfok apsdfkapsdofk paodkf psodkf apsodkfa posdkf"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00], ["title", "ASDfpasf kapsodfk apsodfka"], ["updated_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00]]
543
- ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
544
- ActsAsTaggableOn::Tag Load (0.1ms) 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
- ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 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
546
- SQL (0.3ms) 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
- ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 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
548
- SQL (0.1ms) 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
- ActsAsTaggableOn::Tagging Exists (2.8ms) SELECT 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
550
- SQL (0.1ms) 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
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" 
552
-  (62.0ms) 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
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["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
- User Load (0.2ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
- ActsAsTaggableOn::Tag Load (0.2ms) 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
- CACHE (0.0ms) 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)
571
- Blogit::Post Load (0.3ms) 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
- Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 3
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
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1090
+ Blogit::Post Load (0.3ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
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
  Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
580
- Completed 200 OK in 33ms (Views: 31.5ms | ActiveRecord: 1.1ms)
1095
+ Completed 200 OK in 23ms (Views: 18.2ms | ActiveRecord: 1.0ms)
581
1096
 
582
1097
 
583
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:59 +0000
584
- Served asset /jquery.js - 304 Not Modified (0ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:59 +0000
588
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 "/blog/" for 127.0.0.1 at 2013-01-17 21:25:12 +0000
592
- Processing by Blogit::PostsController#index as HTML
593
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
594
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
595
- Blogit::Post Load (0.4ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
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
- CACHE (0.0ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
- CACHE (0.0ms) 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
-  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
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
- Blogit::Post Load (0.2ms) 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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:12 +0000
620
- Served asset /jquery.js - 304 Not Modified (0ms)
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-01-17 21:25:12 +0000
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 "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:25:18 +0000
628
- Processing by Blogit::PostsController#new as HTML
629
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
630
- ActsAsTaggableOn::Tag Load (0.2ms) 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
- Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:18 +0000
642
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:25:28 +0000
646
- Processing by Blogit::PostsController#create as HTML
647
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"Afo aisdjf oasijdfao sidfjasdf ", "body"=>"aosdfj aosdifj asoidfj aosidfj aosdfija osfjweoifjao widjf oasijfd asd", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
648
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
649
- ActsAsTaggableOn::Tag Load (0.3ms) 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)
650
-  (0.1ms) begin transaction
651
- SQL (0.6ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "aosdfj aosdifj asoidfj aosidfj aosdfija osfjweoifjao widjf oasijfd asd"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00], ["title", "Afo aisdjf oasijdfao sidfjasdf "], ["updated_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00]]
652
- ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
653
- ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 4 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
654
- ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 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
655
- SQL (0.3ms) 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:25:28 UTC +00:00], ["tag_id", 1], ["taggable_id", 4], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
656
- ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 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
657
- SQL (0.1ms) 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:25:28 UTC +00:00], ["tag_id", 2], ["taggable_id", 4], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
658
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
- SQL (0.1ms) 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:25:28 UTC +00:00], ["tag_id", 3], ["taggable_id", 4], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
660
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
661
-  (6.4ms) commit transaction
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1130
+ Blogit::Post Load (0.1ms) 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
+  (0.0ms) begin transaction
1132
+ ActsAsTaggableOn::Tag Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
1134
+ CACHE (0.0ms) 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
+  (0.0ms) commit transaction
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/4-afo-aisdjf-oasijdfao-sidfjasdf" for 127.0.0.1 at 2013-01-17 21:25:28 +0000
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"=>"4-afo-aisdjf-oasijdfao-sidfjasdf"}
669
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "4-afo-aisdjf-oasijdfao-sidfjasdf"]]
1142
+ Parameters: {"id"=>"2-this-is-a-new-blog-post"}
1143
+ Blogit::Post Load (0.1ms) 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.4ms)
672
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
673
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.7ms)
1145
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
1146
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1147
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
674
1148
  CACHE (0.0ms) 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.4ms)
676
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.7ms)
677
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
678
- ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 4 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
679
- CACHE (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 4 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
680
- Blogit::Post Load (0.4ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 4 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
681
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.8ms)
682
- Rendered blogit/posts/_post_footer.html.erb (7.6ms)
683
- Blogit::Comment Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.1ms) 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)
1152
+ CACHE (0.0ms) 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
+ Blogit::Post Load (0.1ms) 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
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
+ Blogit::Comment Load (0.1ms) 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.8ms)
686
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (6.3ms)
687
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (26.3ms)
688
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
689
- Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 1.3ms)
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
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
1162
+ Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.8ms)
694
1163
 
695
1164
 
696
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:28 +0000
697
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 "/blog/" for 127.0.0.1 at 2013-01-17 21:25:29 +0000
701
- Processing by Blogit::PostsController#index as HTML
702
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
703
-  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
704
- Blogit::Post Load (0.2ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
- CACHE (0.0ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
- CACHE (0.0ms) 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
-  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
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
- Blogit::Post Load (0.2ms) 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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:29 +0000
734
- Served asset /jquery.js - 304 Not Modified (0ms)
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-01-17 21:25:29 +0000
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 "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:25:31 +0000
742
- Processing by Blogit::PostsController#new as HTML
743
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
744
- ActsAsTaggableOn::Tag Load (0.3ms) 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
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:31 +0000
756
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:25:48 +0000
760
- Processing by Blogit::PostsController#create as HTML
761
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"Lorem ipsum", "body"=>"lorem oiasjf oasjdfs aoidfjs aoidjf aosidjf aosidjfa osidjfasodifj asodi jfaosidf", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
762
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
763
- ActsAsTaggableOn::Tag Load (0.1ms) 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)
764
-  (0.0ms) begin transaction
765
- SQL (0.6ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
- ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
767
- ActsAsTaggableOn::Tag Load (0.1ms) 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)
768
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
- SQL (0.3ms) 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:25:48 UTC +00:00], ["tag_id", 1], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
770
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
- SQL (0.1ms) 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:25:48 UTC +00:00], ["tag_id", 2], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
772
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
- SQL (1.7ms) 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:25:48 UTC +00:00], ["tag_id", 3], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
774
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
775
-  (3.1ms) commit transaction
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/5-lorem-ipsum" for 127.0.0.1 at 2013-01-17 21:25:48 +0000
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"=>"5-lorem-ipsum"}
783
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "5-lorem-ipsum"]]
784
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
785
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
786
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
787
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.0ms)
788
- CACHE (0.0ms) 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
- ActsAsTaggableOn::Tag Load (0.2ms) 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)
793
- CACHE (0.0ms) 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
- Blogit::Post Load (0.3ms) SELECT 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
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
- Blogit::Comment Load (0.1ms) 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
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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
+ Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["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
  User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
817
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
818
- Blogit::Post Load (0.2ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
- CACHE (0.0ms) 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
  CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
833
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.7ms)
834
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
835
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (1.7ms)
836
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.4ms)
837
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
838
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.7ms)
839
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
840
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
841
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
842
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
843
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.7ms)
844
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (60.2ms)
845
-  (0.2ms) SELECT COUNT(*) FROM "blog_posts"
846
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.3ms)
847
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (67.8ms)
848
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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
+ ActsAsTaggableOn::Tag Load (0.1ms) 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
+ CACHE (0.0ms) 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)
1207
+ Blogit::Post Load (0.2ms) 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
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
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
+ Blogit::Post Load (0.2ms) 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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:52 +0000
853
- Served asset /jquery.js - 304 Not Modified (0ms)
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-01-17 21:25:52 +0000
857
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:25:53 +0000
861
- Processing by Blogit::PostsController#new as HTML
862
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
863
- ActsAsTaggableOn::Tag Load (0.3ms) 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)
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
- Blogit::Post Load (0.3ms) 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-01-17 21:25:53 +0000
871
- Served asset /jquery.js - 304 Not Modified (0ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:53 +0000
875
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:26:06 +0000
879
- Processing by Blogit::PostsController#create as HTML
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
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
882
- ActsAsTaggableOn::Tag Load (0.1ms) 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
-  (0.0ms) begin transaction
884
-  (0.0ms) 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
- Blogit::Post Load (0.6ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:06 +0000
892
- Served asset /jquery.js - 304 Not Modified (0ms)
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 "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:06 +0000
896
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1251
+ Blogit::Post Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
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
+ Blogit::Post Load (0.1ms) 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 POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:26:10 +0000
900
- Processing by Blogit::PostsController#create as HTML
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
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
903
- ActsAsTaggableOn::Tag Load (0.1ms) 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)
904
-  (0.0ms) begin transaction
905
- SQL (0.5ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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
- ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'two' OR lower(name) = 'three')
907
- ActsAsTaggableOn::Tag Load (0.1ms) 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)
908
- ActsAsTaggableOn::Tagging Exists (0.1ms) 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
- SQL (0.3ms) 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:26:10 UTC +00:00], ["tag_id", 2], ["taggable_id", 6], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
910
- ActsAsTaggableOn::Tagging Exists (0.2ms) 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
- SQL (0.2ms) 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:26:10 UTC +00:00], ["tag_id", 3], ["taggable_id", 6], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
912
- Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
913
-  (3.0ms) commit transaction
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 "/blog/posts/6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj" for 127.0.0.1 at 2013-01-17 21:26:10 +0000
919
- Processing by Blogit::PostsController#show as HTML
920
- Parameters: {"id"=>"6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj"}
921
- Blogit::Post Load (0.1ms) 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
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
925
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.9ms)
926
- CACHE (0.0ms) 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
- ActsAsTaggableOn::Tag Load (0.2ms) 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)
931
- CACHE (0.0ms) 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
- Blogit::Post Load (0.3ms) SELECT 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
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
- Blogit::Comment Load (0.1ms) 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
- Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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-01-17 21:26:11 +0000
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:11 +0000
949
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 "/blog/" for 127.0.0.1 at 2013-01-17 21:26:14 +0000
953
- Processing by Blogit::PostsController#index as HTML
954
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
955
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
956
- Blogit::Post Load (0.2ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
- CACHE (0.0ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
- CACHE (0.0ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
-  (0.1ms) 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
- Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:14 +0000
991
- Served asset /jquery.js - 304 Not Modified (0ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:14 +0000
995
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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 GET "/blog/posts/page/2" for 127.0.0.1 at 2013-01-17 21:26:17 +0000
999
- Processing by Blogit::PostsController#index as HTML
1000
- Parameters: {"page"=>"2"}
1001
- User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1002
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 5) subquery_for_count 
1003
- Blogit::Post Load (0.2ms) 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
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
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
-  (0.1ms) 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
- Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
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
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:17 +0000
1018
- Served asset /jquery.js - 304 Not Modified (0ms)
1292
+ This is called!!
1019
1293
 
1020
1294
 
1021
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:17 +0000
1022
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1295
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1296
+ Blogit::Post Load (0.1ms) 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
+  (0.1ms) begin transaction
1298
+ ActsAsTaggableOn::Tag Load (0.2ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
1300
+ CACHE (0.0ms) 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
+  (0.1ms) commit transaction
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/page/2" for 127.0.0.1 at 2013-01-17 21:30:06 +0000
1026
- Processing by Blogit::PostsController#index as HTML
1027
- Parameters: {"page"=>"2"}
1028
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1029
-  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 5) subquery_for_count 
1030
- Blogit::Post Load (0.2ms) 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
+ Blogit::Post Load (0.1ms) 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.6ms)
1033
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
1034
- CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1035
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.5ms)
1036
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (11.7ms)
1037
-  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
1038
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (9.0ms)
1039
- Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (25.8ms)
1311
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
1312
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1313
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
1314
+ CACHE (0.0ms) 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
+ ActsAsTaggableOn::Tag Load (0.2ms) 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)
1318
+ CACHE (0.0ms) 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
+ Blogit::Post Load (0.2ms) 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
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
+ Blogit::Comment Load (0.1ms) 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
  Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
1041
- Completed 200 OK in 47ms (Views: 42.5ms | ActiveRecord: 0.9ms)
1328
+ Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 0.8ms)
1042
1329
 
1043
1330
 
1044
- Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-01-17 21:30:06 +0000
1045
- Served asset /blogit/index.css - 304 Not Modified (16ms)
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/archive.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1049
- Served asset /blogit/archive.js - 304 Not Modified (4ms)
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/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1053
- Served asset /jquery.js - 304 Not Modified (0ms)
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/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1057
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
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/application.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1061
- Served asset /application.js - 304 Not Modified (4ms)
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.css?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1065
- Served asset /application.css - 304 Not Modified (5ms)
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-01-17 21:30:07 +0000
1069
- Served asset /blogit/index.js - 304 Not Modified (4ms)
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