blogit 0.0.13 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/app/assets/stylesheets/blogit/index.css +75 -3
  2. data/app/controllers/blogit/application_controller.rb +15 -1
  3. data/app/controllers/blogit/comments_controller.rb +12 -11
  4. data/app/controllers/blogit/posts_controller.rb +18 -26
  5. data/app/models/blogit/post.rb +5 -2
  6. data/app/sweepers/blogit/blogit_sweeper.rb +9 -0
  7. data/app/views/blogit/comments/_admin_links.html.erb +1 -1
  8. data/app/views/blogit/comments/_comment.html.erb +4 -3
  9. data/app/views/blogit/comments/_form.html.erb +5 -5
  10. data/app/views/blogit/comments/create.js.erb +2 -2
  11. data/app/views/blogit/comments/destroy.js.erb +1 -1
  12. data/app/views/blogit/posts/_form.html.erb +5 -5
  13. data/app/views/blogit/posts/_pagination.html.erb +1 -1
  14. data/app/views/blogit/posts/edit.html.erb +1 -1
  15. data/app/views/blogit/posts/index.html.erb +2 -2
  16. data/app/views/blogit/posts/show.html.erb +2 -2
  17. data/lib/blogit.rb +9 -1
  18. data/lib/blogit/configuration.rb +5 -1
  19. data/lib/blogit/version.rb +1 -1
  20. data/lib/generators/templates/blogit.rb +16 -14
  21. data/spec/controllers/blogit/posts_controller_spec.rb +6 -6
  22. data/spec/dummy/app/assets/javascripts/application.js +1 -1
  23. data/spec/dummy/app/controllers/sessions_controller.rb +4 -5
  24. data/spec/dummy/config/initializers/blogit.rb +20 -7
  25. data/spec/dummy/db/development.sqlite3 +0 -0
  26. data/spec/dummy/db/test.sqlite3 +0 -0
  27. data/spec/dummy/log/development.log +3595 -0
  28. data/spec/dummy/log/production.log +350 -0
  29. data/spec/dummy/log/test.log +2562 -0
  30. data/spec/dummy/tmp/cache/11C/511/http%3A%2F%2Flocalhost%3A3000%2Fassets%2Fblogit.css%3F +0 -0
  31. data/spec/dummy/tmp/cache/32F/2C1/http%3A%2F%2Flocalhost%3A3000%2Fassets%2Fapplication.css%3F +0 -0
  32. data/spec/dummy/tmp/cache/A67/FC0/00e6805637a9665e1a42a74d29e98005efabb763 +0 -0
  33. data/spec/dummy/tmp/cache/AF8/620/e1e89c69903e241156121a94f96b1efc3cc6cee1 +0 -0
  34. data/spec/dummy/tmp/cache/assets/CEF/560/sprockets%2Fa1bf08ab120c72351b460a65e4800af6 +0 -0
  35. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  36. data/{app/assets/stylesheets/blogit/posts.css → spec/dummy/tmp/cache/assets/D33/240/sprockets%2Ffd4446a4ab97006a073ba30d57fdd617} +0 -0
  37. data/spec/dummy/tmp/cache/assets/D4A/D70/sprockets%2F16a7df19fe9d18a2054dde377f7d4704 +0 -0
  38. data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  39. data/spec/dummy/tmp/cache/assets/D61/6F0/sprockets%2F02da53eeca228bcef0c49278517111fe +0 -0
  40. data/spec/dummy/tmp/cache/assets/D7B/550/sprockets%2F439d3388bfb2b3843b2d7e7fae1cd679 +0 -0
  41. data/spec/dummy/tmp/cache/assets/D82/800/sprockets%2F72f633d76779cbfb7d9a57b5623c3faf +0 -0
  42. data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  43. data/spec/dummy/tmp/cache/assets/DAA/EC0/sprockets%2F5ce7f7ceaea79177a501679df3ff134a +0 -0
  44. data/spec/dummy/tmp/cache/assets/DCA/9B0/sprockets%2Fdf0e8f8a85e5d4056b3fe1cec3b7131a +0 -0
  45. data/spec/dummy/tmp/cache/assets/DCB/C80/sprockets%2Fb37cd626dabfc434d8e92b5cb5d16f05 +0 -0
  46. data/spec/dummy/tmp/cache/assets/DFF/B40/sprockets%2Fe0d60af9df95b2a58c278acd3f2beb55 +0 -0
  47. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  48. data/spec/dummy/tmp/cache/assets/E0A/870/sprockets%2Fbba31cc2875be0fddf5901fef9b99e48 +0 -0
  49. data/spec/dummy/tmp/cache/assets/E30/DC0/sprockets%2F9ddd7093ee1d47cbacd526f4bdd36e3c +0 -0
  50. data/spec/lib/configuration_spec.rb +4 -1
  51. metadata +159 -30
  52. data/app/assets/stylesheets/blogit/comments.css +0 -16
@@ -1,3 +1,3 @@
1
1
  module Blogit
2
- VERSION = "0.0.13"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -2,50 +2,52 @@
2
2
  Blogit.configure do |config|
3
3
 
4
4
  # Do you want to add comments to your blog?
5
- config.include_comments = true
5
+ # config.include_comments = true
6
6
 
7
7
  # The name of the controller method we'll call to return the current blogger.
8
8
  # Change this if you use something other than current_user.
9
9
  # Eg. current_admin_user (if using ActiveAdmin)
10
- config.current_blogger_method = :current_user
10
+ # config.current_blogger_method = :current_user
11
11
 
12
12
  # What method do we call on blogger to show who they are?
13
- config.blogger_display_name_method = :username
13
+ # config.blogger_display_name_method = :username
14
14
 
15
15
  # Which DateTime::FORMATS format do we use to display blog and comment publish time
16
- config.datetime_format = :short
16
+ # config.datetime_format = :short
17
+
18
+ # Should the controllers cache the blog pages as HTML?
19
+ # config.cache_pages = false
17
20
 
18
21
  # No. of posts to show per page
19
- config.posts_per_page = 5
22
+ # config.posts_per_page = 5
20
23
 
21
24
  # The name of the before filter we'll call to authenticate the current user.
22
- config.authentication_method = :login_required
25
+ # config.authentication_method = :login_required
23
26
 
24
27
  # If set to true, the comments form will POST and DELETE to the comments
25
28
  # controller using AJAX calls.
26
- config.ajax_comments = true
29
+ # config.ajax_comments = true
27
30
 
28
31
  # If set to true, the create, edit, update and destroy actions
29
32
  # will be included. If set to false, you'll have to set these
30
33
  # yourself elsewhere in the app.
31
- config.include_admin_actions = true
34
+ # config.include_admin_actions = true
32
35
 
33
36
  # If set to true, links for new posts, editing posts and deleting comments
34
37
  # will be available. If set to false, you'll have to set these
35
38
  # yourself in the templates.
36
- config.include_admin_links = true
37
-
39
+ # config.include_admin_links = true
38
40
 
39
41
  # The default format for parsing the blog content.
40
- config.default_parser = :markdown
42
+ # config.default_parser = :markdown
41
43
 
42
44
  # If blog content contains code, this should be highlighted using
43
45
  # albino.
44
- config.highlight_code_syntax = true
46
+ # config.highlight_code_syntax = true
45
47
 
46
48
  # When using redcarpet as content parser, pass these options as defaults.
47
49
  # @see here for more options: https://github.com/tanoku/redcarpet
48
- config.redcarpet_options = [:hard_wrap, :filter_html, :autolink,
49
- :no_intraemphasis, :fenced_code, :gh_blockcode]
50
+ # config.redcarpet_options = [:hard_wrap, :filter_html, :autolink,
51
+ # :no_intraemphasis, :fenced_code, :gh_blockcode]
50
52
 
51
53
  end
@@ -19,13 +19,13 @@ describe PostsController do
19
19
  it "should set posts to Blogit::Post.for_index" do
20
20
  Blogit::Post.expects(:for_index).returns(posts)
21
21
  do_get
22
- controller.posts.should == posts
22
+ assigns(:posts).should == posts
23
23
  end
24
24
 
25
25
  it "should pass the page param to for_index" do
26
26
  Blogit::Post.expects(:for_index).with("2").returns(posts)
27
27
  do_get("2")
28
- controller.posts.should == posts
28
+ assigns(:posts).should == posts
29
29
  end
30
30
 
31
31
  end
@@ -49,8 +49,8 @@ describe PostsController do
49
49
 
50
50
  it "should set post to a new blog post" do
51
51
  do_get
52
- controller.post.should be_a(Blogit::Post)
53
- controller.post.should be_a_new_record
52
+ assigns(:post).should be_a(Blogit::Post)
53
+ assigns(:post).should be_a_new_record
54
54
  end
55
55
 
56
56
  end
@@ -123,7 +123,7 @@ describe PostsController do
123
123
 
124
124
  it "should find the blog post by the ID" do
125
125
  do_get
126
- controller.post.should eql(blog_post)
126
+ assigns(:post).should eql(blog_post)
127
127
  end
128
128
 
129
129
  end
@@ -211,7 +211,7 @@ describe PostsController do
211
211
 
212
212
  it "should find blog post by id" do
213
213
  do_get
214
- controller.post.should eql(blog_post)
214
+ assigns(:post).should eql(blog_post)
215
215
  end
216
216
 
217
217
  end
@@ -1,3 +1,3 @@
1
1
  //= require jquery
2
2
  //= require jquery_ujs
3
- //= require_tree .
3
+ //= require_tree .
@@ -1,14 +1,13 @@
1
1
  class SessionsController < ApplicationController
2
2
 
3
- expose(:user) { User.authenticate(params[:session]) }
4
-
5
3
  def new
6
4
  end
7
5
 
8
6
  def create
9
- if user
10
- @current_user = user
11
- session[:user_id] = user.id
7
+ @user = User.authenticate(params[:session])
8
+ if @user
9
+ @current_user = @user
10
+ session[:user_id] = @user.id
12
11
  redirect_to(root_url, notice: "Successfully logged in!")
13
12
  else
14
13
  render :new
@@ -1,19 +1,22 @@
1
1
  # These configuration options can be used to customise the behaviour of Blogit
2
2
  Blogit.configure do |config|
3
3
 
4
- # Should we include comments for blog posts?
4
+ # Do you want to add comments to your blog?
5
5
  config.include_comments = true
6
6
 
7
7
  # The name of the controller method we'll call to return the current blogger.
8
+ # Change this if you use something other than current_user.
9
+ # Eg. current_admin_user (if using ActiveAdmin)
8
10
  config.current_blogger_method = :current_user
9
11
 
10
- # what method do we call on blogger to return their display name?
11
- # Defaults to :username
12
+ # What method do we call on blogger to show who they are?
12
13
  config.blogger_display_name_method = :username
13
14
 
14
- # Which DateTime::FORMATS format do we use to display
15
- # blog and comment publish time
15
+ # Which DateTime::FORMATS format do we use to display blog and comment publish time
16
16
  config.datetime_format = :short
17
+
18
+ # Should the controllers cache the blog pages as HTML?
19
+ config.cache_pages = true
17
20
 
18
21
  # No. of posts to show per page
19
22
  config.posts_per_page = 5
@@ -27,13 +30,23 @@ Blogit.configure do |config|
27
30
 
28
31
  # If set to true, the create, edit, update and destroy actions
29
32
  # will be included. If set to false, you'll have to set these
30
- # yourself elsewhere in the app
33
+ # yourself elsewhere in the app.
31
34
  config.include_admin_actions = true
32
35
 
36
+ # If set to true, links for new posts, editing posts and deleting comments
37
+ # will be available. If set to false, you'll have to set these
38
+ # yourself in the templates.
39
+ config.include_admin_links = true
40
+
33
41
  # The default format for parsing the blog content.
34
42
  config.default_parser = :markdown
35
43
 
36
- # When using redcarpet as content parser, pass these options as defaults
44
+ # If blog content contains code, this should be highlighted using
45
+ # albino.
46
+ config.highlight_code_syntax = true
47
+
48
+ # When using redcarpet as content parser, pass these options as defaults.
49
+ # @see here for more options: https://github.com/tanoku/redcarpet
37
50
  config.redcarpet_options = [:hard_wrap, :filter_html, :autolink,
38
51
  :no_intraemphasis, :fenced_code, :gh_blockcode]
39
52
 
Binary file
Binary file
@@ -77,3 +77,3598 @@ Migrating to ActsAsTaggableOnMigration (20111118222922)
77
77
   (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20110819103335')
78
78
   (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20111118222920')
79
79
   (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20111118222921')
80
+
81
+
82
+ Started GET "/" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
83
+ Processing by Blogit::PostsController#index as HTML
84
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
85
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
86
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.3ms)
87
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
88
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.6ms)
89
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (60.3ms)
90
+ Compiled blogit.css (1ms) (pid 34697)
91
+ Compiled blogit/comments.css (0ms) (pid 34697)
92
+ Compiled blogit/posts.css (0ms) (pid 34697)
93
+ Compiled application.css (0ms) (pid 34697)
94
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
95
+ Compiled blogit.js (0ms) (pid 34697)
96
+ Compiled application.js (3ms) (pid 34697)
97
+ Compiled jquery.js (3ms) (pid 34697)
98
+ Compiled jquery_ujs.js (14ms) (pid 34697)
99
+ Completed 200 OK in 229ms (Views: 228.6ms | ActiveRecord: 0.5ms)
100
+
101
+
102
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
103
+ Served asset /blogit/comments.css - 200 OK (2ms)
104
+
105
+
106
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
107
+ Served asset /blogit/posts.css - 200 OK (5ms)
108
+
109
+
110
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
111
+ Served asset /blogit.css - 304 Not Modified (0ms)
112
+
113
+
114
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
115
+ Served asset /application.css - 200 OK (0ms)
116
+
117
+
118
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
119
+ Served asset /blogit.js - 304 Not Modified (0ms)
120
+
121
+
122
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
123
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
124
+
125
+
126
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
127
+ Served asset /jquery.js - 304 Not Modified (2ms)
128
+
129
+
130
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:15 +0000
131
+ Served asset /application.js - 200 OK (0ms)
132
+
133
+
134
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-18 22:45:18 +0000
135
+ Processing by Blogit::PostsController#index as HTML
136
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
137
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
138
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.1ms)
139
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
140
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.5ms)
141
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (11.0ms)
142
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
143
+ Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.5ms)
144
+
145
+
146
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:45:18 +0000
147
+ Served asset /blogit.css - 304 Not Modified (0ms)
148
+
149
+
150
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:18 +0000
151
+ Served asset /blogit.js - 304 Not Modified (0ms)
152
+
153
+
154
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:18 +0000
155
+ Served asset /jquery.js - 304 Not Modified (0ms)
156
+
157
+
158
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:18 +0000
159
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
160
+
161
+
162
+ Started GET "/session/new" for 127.0.0.1 at 2011-11-18 22:45:20 +0000
163
+ Processing by SessionsController#new as HTML
164
+ Rendered sessions/new.html.erb within layouts/application (1.4ms)
165
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
166
+ Completed 200 OK in 42ms (Views: 41.4ms | ActiveRecord: 0.4ms)
167
+
168
+
169
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:45:20 +0000
170
+ Served asset /blogit.css - 304 Not Modified (0ms)
171
+
172
+
173
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:21 +0000
174
+ Served asset /blogit.js - 304 Not Modified (0ms)
175
+
176
+
177
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:21 +0000
178
+ Served asset /jquery.js - 304 Not Modified (0ms)
179
+
180
+
181
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:21 +0000
182
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
183
+
184
+
185
+ Started POST "/session" for 127.0.0.1 at 2011-11-18 22:45:26 +0000
186
+ Processing by SessionsController#create as HTML
187
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mbmXXcH+H2hgwb+ZxpDO0xLdCPQ29b0tRcFfcqU1G9M=", "session"=>{"username"=>"gavin@gavinmorrice.com", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
188
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'gavin@gavinmorrice.com' AND "users"."password" = 'bounce' LIMIT 1
189
+ Rendered sessions/new.html.erb within layouts/application (1.0ms)
190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
191
+ Completed 200 OK in 15ms (Views: 7.0ms | ActiveRecord: 0.7ms)
192
+
193
+
194
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:45:26 +0000
195
+ Served asset /blogit.css - 304 Not Modified (0ms)
196
+
197
+
198
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:26 +0000
199
+ Served asset /blogit.js - 304 Not Modified (0ms)
200
+
201
+
202
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:26 +0000
203
+ Served asset /jquery.js - 304 Not Modified (0ms)
204
+
205
+
206
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:45:26 +0000
207
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
208
+
209
+
210
+ Started POST "/session" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
211
+ Processing by SessionsController#create as HTML
212
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mbmXXcH+H2hgwb+ZxpDO0xLdCPQ29b0tRcFfcqU1G9M=", "session"=>{"username"=>"gavin@gavinmorrice.com", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
213
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'gavin@gavinmorrice.com' AND "users"."password" = 'bounce' LIMIT 1
214
+ Rendered sessions/new.html.erb within layouts/application (1.0ms)
215
+ User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
216
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
217
+ Completed 200 OK in 43ms (Views: 11.8ms | ActiveRecord: 0.9ms)
218
+
219
+
220
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
221
+ Served asset /blogit/comments.css - 304 Not Modified (0ms)
222
+
223
+
224
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
225
+ Served asset /blogit/posts.css - 304 Not Modified (0ms)
226
+
227
+
228
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
229
+ Served asset /application.css - 304 Not Modified (0ms)
230
+
231
+
232
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
233
+ Served asset /blogit.css - 304 Not Modified (0ms)
234
+
235
+
236
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
237
+ Served asset /blogit.js - 304 Not Modified (0ms)
238
+
239
+
240
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
241
+ Served asset /jquery.js - 304 Not Modified (0ms)
242
+
243
+
244
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
245
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
246
+
247
+
248
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:26 +0000
249
+ Served asset /application.js - 304 Not Modified (0ms)
250
+
251
+
252
+ Started GET "/" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
253
+ Processing by Blogit::PostsController#index as HTML
254
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
255
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
256
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.1ms)
257
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
258
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.5ms)
259
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (35.5ms)
260
+ Completed 200 OK in 42ms (Views: 41.4ms | ActiveRecord: 0.6ms)
261
+
262
+
263
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
264
+ Served asset /blogit/comments.css - 304 Not Modified (0ms)
265
+
266
+
267
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
268
+ Served asset /blogit/posts.css - 304 Not Modified (0ms)
269
+
270
+
271
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
272
+ Served asset /blogit.css - 304 Not Modified (0ms)
273
+
274
+
275
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
276
+ Served asset /application.css - 304 Not Modified (0ms)
277
+
278
+
279
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
280
+ Served asset /blogit.js - 304 Not Modified (0ms)
281
+
282
+
283
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
284
+ Served asset /jquery.js - 304 Not Modified (0ms)
285
+
286
+
287
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
288
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
289
+
290
+
291
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:32 +0000
292
+ Served asset /application.js - 304 Not Modified (0ms)
293
+
294
+
295
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
296
+ Processing by Blogit::PostsController#new as HTML
297
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
298
+ 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)
299
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (180.4ms)
300
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (181.3ms)
301
+ Completed 200 OK in 218ms (Views: 186.8ms | ActiveRecord: 1.1ms)
302
+
303
+
304
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
305
+ Served asset /blogit/comments.css - 304 Not Modified (0ms)
306
+
307
+
308
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
309
+ Served asset /blogit/posts.css - 304 Not Modified (0ms)
310
+
311
+
312
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
313
+ Served asset /blogit.css - 304 Not Modified (0ms)
314
+
315
+
316
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
317
+ Served asset /jquery.js - 304 Not Modified (0ms)
318
+
319
+
320
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
321
+ Served asset /application.css - 304 Not Modified (0ms)
322
+
323
+
324
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
325
+ Served asset /blogit.js - 304 Not Modified (0ms)
326
+
327
+
328
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
329
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
330
+
331
+
332
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:33 +0000
333
+ Served asset /application.js - 304 Not Modified (0ms)
334
+
335
+
336
+ Started POST "/blog/posts" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
337
+ Processing by Blogit::PostsController#create as HTML
338
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"mbmXXcH+H2hgwb+ZxpDO0xLdCPQ29b0tRcFfcqU1G9M=", "post"=>{"title"=>"This is a blog post", "body"=>"This is some text\r\n\r\nthis is some more text", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
339
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
340
+ SQL (11.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", "This is some text\r\n\r\nthis is some more text"], ["comments_count", 0], ["created_at", Fri, 18 Nov 2011 22:46:54 UTC +00:00], ["title", "This is a blog post"], ["updated_at", Fri, 18 Nov 2011 22:46:54 UTC +00:00]]
341
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (name LIKE 'one' OR name LIKE 'two' OR name LIKE 'three')
342
+  (0.1ms) SELECT 1 FROM "tags" WHERE "tags"."name" = 'one' LIMIT 1
343
+ SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "one"]]
344
+  (0.0ms) SELECT 1 FROM "tags" WHERE "tags"."name" = 'two' LIMIT 1
345
+ SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "two"]]
346
+  (0.0ms) SELECT 1 FROM "tags" WHERE "tags"."name" = 'three' LIMIT 1
347
+ SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "three"]]
348
+ 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)
349
+ ActsAsTaggableOn::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."tagger_type" IS NULL AND "taggings"."tagger_id" IS NULL AND "taggings"."context" = 'tags' AND "taggings"."tag_id" IN (NULL)
350
+  (0.1ms) SELECT 1 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
351
+ SQL (0.5ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Fri, 18 Nov 2011 22:46:54 UTC +00:00], ["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
352
+  (0.1ms) SELECT 1 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
353
+ SQL (0.3ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Fri, 18 Nov 2011 22:46:54 UTC +00:00], ["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
354
+  (0.1ms) SELECT 1 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
355
+ SQL (0.3ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Fri, 18 Nov 2011 22:46:54 UTC +00:00], ["tag_id", 3], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
356
+ Redirected to http://localhost:3000/blog/posts/1-this-is-a-blog-post
357
+ Completed 302 Found in 230ms
358
+
359
+
360
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
361
+ Processing by Blogit::PostsController#show as HTML
362
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
363
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
364
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
365
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.9ms)
366
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
367
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (9.2ms)
368
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
369
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.3ms)
370
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (18.9ms)
371
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
372
+ Rendered collection (0.0ms)
373
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (9.5ms)
374
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (71.9ms)
375
+ Completed 200 OK in 78ms (Views: 76.8ms | ActiveRecord: 1.1ms)
376
+
377
+
378
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
379
+ Served asset /blogit/comments.css - 304 Not Modified (0ms)
380
+
381
+
382
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
383
+ Served asset /blogit/posts.css - 304 Not Modified (0ms)
384
+
385
+
386
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
387
+ Served asset /blogit.css - 304 Not Modified (0ms)
388
+
389
+
390
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
391
+ Served asset /application.css - 304 Not Modified (0ms)
392
+
393
+
394
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
395
+ Served asset /blogit.js - 304 Not Modified (0ms)
396
+
397
+
398
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
399
+ Served asset /jquery.js - 304 Not Modified (0ms)
400
+
401
+
402
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
403
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
404
+
405
+
406
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:46:54 +0000
407
+ Served asset /application.js - 304 Not Modified (0ms)
408
+
409
+
410
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:47:47 +0000
411
+
412
+ ActionController::RoutingError (undefined method `instance' for Blogit:Module):
413
+
414
+
415
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
416
+
417
+
418
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:48:22 +0000
419
+
420
+ NoMethodError (undefined method `instance' for Blogit:Module):
421
+
422
+
423
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
424
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
425
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.0ms)
426
+
427
+
428
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:48:55 +0000
429
+
430
+ NoMethodError (undefined method `instance' for Blogit:Module):
431
+
432
+
433
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
434
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
435
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.4ms)
436
+
437
+
438
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:13 +0000
439
+
440
+ ActionController::RoutingError (undefined method `instance' for Blogit:Module):
441
+
442
+
443
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (8.9ms)
444
+
445
+
446
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:14 +0000
447
+
448
+ NoMethodError (undefined method `instance' for Blogit:Module):
449
+
450
+
451
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
452
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.6ms)
453
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.4ms)
454
+
455
+
456
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:15 +0000
457
+
458
+ NoMethodError (undefined method `instance' for Blogit:Module):
459
+
460
+
461
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
462
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
463
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.3ms)
464
+
465
+
466
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:15 +0000
467
+
468
+ NoMethodError (undefined method `instance' for Blogit:Module):
469
+
470
+
471
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
472
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
473
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.9ms)
474
+
475
+
476
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:47 +0000
477
+
478
+ NoMethodError (undefined method `instance' for Blogit:Module):
479
+
480
+
481
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
482
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
483
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.8ms)
484
+
485
+
486
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:47 +0000
487
+
488
+ NoMethodError (undefined method `instance' for Blogit:Module):
489
+
490
+
491
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
492
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
493
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.0ms)
494
+
495
+
496
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:48 +0000
497
+
498
+ NoMethodError (undefined method `instance' for Blogit:Module):
499
+
500
+
501
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
502
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
503
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.9ms)
504
+
505
+
506
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:48 +0000
507
+
508
+ NoMethodError (undefined method `instance' for Blogit:Module):
509
+
510
+
511
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
512
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
513
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.3ms)
514
+
515
+
516
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:48 +0000
517
+
518
+ NoMethodError (undefined method `instance' for Blogit:Module):
519
+
520
+
521
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
522
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
523
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.0ms)
524
+
525
+
526
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:49 +0000
527
+
528
+ NoMethodError (undefined method `instance' for Blogit:Module):
529
+
530
+
531
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
532
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
533
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.7ms)
534
+
535
+
536
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:49 +0000
537
+
538
+ NoMethodError (undefined method `instance' for Blogit:Module):
539
+
540
+
541
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
542
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
543
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.0ms)
544
+
545
+
546
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:49:49 +0000
547
+
548
+ NoMethodError (undefined method `instance' for Blogit:Module):
549
+
550
+
551
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
552
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
553
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.7ms)
554
+
555
+
556
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:50:02 +0000
557
+
558
+ ActionController::RoutingError (uninitialized constant Post):
559
+
560
+
561
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (9.0ms)
562
+
563
+
564
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:50:03 +0000
565
+
566
+ ActionController::RoutingError (uninitialized constant Post):
567
+
568
+
569
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
570
+
571
+
572
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-18 22:50:19 +0000
573
+ Processing by Blogit::PostsController#show as HTML
574
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
575
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
576
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (84.2ms)
577
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (1.1ms)
578
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
579
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (42.9ms)
580
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
581
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (40.4ms)
582
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (172.1ms)
583
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
584
+ Rendered collection (0.0ms)
585
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (13.8ms)
586
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (242.3ms)
587
+ Completed 200 OK in 260ms (Views: 258.7ms | ActiveRecord: 1.3ms)
588
+
589
+
590
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:50:19 +0000
591
+ Served asset /blogit/comments.css - 304 Not Modified (2ms)
592
+
593
+
594
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:50:19 +0000
595
+ Served asset /blogit/posts.css - 304 Not Modified (1ms)
596
+
597
+
598
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:50:20 +0000
599
+ Served asset /blogit.css - 304 Not Modified (0ms)
600
+
601
+
602
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:50:20 +0000
603
+ Served asset /blogit.js - 304 Not Modified (0ms)
604
+
605
+
606
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:50:20 +0000
607
+ Served asset /application.css - 304 Not Modified (0ms)
608
+
609
+
610
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:50:20 +0000
611
+ Served asset /jquery.js - 304 Not Modified (1ms)
612
+
613
+
614
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:50:20 +0000
615
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
616
+
617
+
618
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:50:20 +0000
619
+ Served asset /application.js - 304 Not Modified (0ms)
620
+
621
+
622
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
623
+ Processing by Blogit::PostsController#index as HTML
624
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
625
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
626
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 5 OFFSET 0
627
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
628
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
629
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.1ms)
630
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
631
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.2ms)
632
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.5ms)
633
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (18.5ms)
634
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
635
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.4ms)
636
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (31.9ms)
637
+ Completed 200 OK in 39ms (Views: 37.5ms | ActiveRecord: 0.9ms)
638
+
639
+
640
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
641
+ Served asset /blogit/comments.css - 304 Not Modified (0ms)
642
+
643
+
644
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
645
+ Served asset /blogit/posts.css - 304 Not Modified (0ms)
646
+
647
+
648
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
649
+ Served asset /application.css - 304 Not Modified (0ms)
650
+
651
+
652
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
653
+ Served asset /blogit.css - 304 Not Modified (0ms)
654
+
655
+
656
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
657
+ Served asset /blogit.js - 304 Not Modified (0ms)
658
+
659
+
660
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
661
+ Served asset /jquery.js - 304 Not Modified (0ms)
662
+
663
+
664
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
665
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
666
+
667
+
668
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:50:59 +0000
669
+ Served asset /application.js - 304 Not Modified (0ms)
670
+
671
+
672
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
673
+ Processing by Blogit::PostsController#index as HTML
674
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
675
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
676
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 5 OFFSET 0
677
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
678
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
679
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.0ms)
680
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
681
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.1ms)
682
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.2ms)
683
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.9ms)
684
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
685
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.6ms)
686
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (57.0ms)
687
+ Completed 200 OK in 64ms (Views: 62.3ms | ActiveRecord: 1.0ms)
688
+
689
+
690
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
691
+ Served asset /blogit/comments.css - 304 Not Modified (0ms)
692
+
693
+
694
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
695
+ Served asset /blogit/posts.css - 304 Not Modified (0ms)
696
+
697
+
698
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
699
+ Served asset /application.css - 304 Not Modified (0ms)
700
+
701
+
702
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
703
+ Served asset /blogit.css - 304 Not Modified (0ms)
704
+
705
+
706
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
707
+ Served asset /blogit.js - 304 Not Modified (0ms)
708
+
709
+
710
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
711
+ Served asset /jquery.js - 304 Not Modified (0ms)
712
+
713
+
714
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
715
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
716
+
717
+
718
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:54:00 +0000
719
+ Served asset /application.js - 304 Not Modified (0ms)
720
+
721
+
722
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
723
+ Processing by Blogit::PostsController#index as HTML
724
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
725
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
726
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 5 OFFSET 0
727
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
728
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
729
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
730
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
731
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.2ms)
732
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.2ms)
733
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (17.7ms)
734
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
735
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.1ms)
736
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (29.7ms)
737
+ Completed 200 OK in 36ms (Views: 35.2ms | ActiveRecord: 0.9ms)
738
+
739
+
740
+ Started GET "/assets/blogit/comments.css?body=1" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
741
+ Served asset /blogit/comments.css - 304 Not Modified (0ms)
742
+
743
+
744
+ Started GET "/assets/blogit/posts.css?body=1" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
745
+ Served asset /blogit/posts.css - 304 Not Modified (0ms)
746
+
747
+
748
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
749
+ Served asset /blogit.css - 304 Not Modified (0ms)
750
+
751
+
752
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
753
+ Served asset /application.css - 304 Not Modified (0ms)
754
+
755
+
756
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
757
+ Served asset /blogit.js - 304 Not Modified (0ms)
758
+
759
+
760
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
761
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
762
+
763
+
764
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
765
+ Served asset /jquery.js - 304 Not Modified (0ms)
766
+
767
+
768
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-18 22:54:04 +0000
769
+ Served asset /application.js - 304 Not Modified (0ms)
770
+
771
+
772
+ Started POST "/session" for 127.0.0.1 at 2011-11-18 23:04:47 +0000
773
+
774
+ ActionController::RoutingError (undefined method `expose' for SessionsController:Class):
775
+ app/controllers/sessions_controller.rb:3:in `<class:SessionsController>'
776
+ app/controllers/sessions_controller.rb:1:in `<top (required)>'
777
+
778
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (9.1ms)
779
+
780
+
781
+ Started POST "/session" for 127.0.0.1 at 2011-11-18 23:04:50 +0000
782
+
783
+ ActionController::RoutingError (undefined method `expose' for SessionsController:Class):
784
+ app/controllers/sessions_controller.rb:3:in `<class:SessionsController>'
785
+ app/controllers/sessions_controller.rb:1:in `<top (required)>'
786
+
787
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
788
+
789
+
790
+ Started POST "/session" for 127.0.0.1 at 2011-11-18 23:07:24 +0000
791
+
792
+ ActionController::RoutingError (undefined method `expose' for SessionsController:Class):
793
+ app/controllers/sessions_controller.rb:3:in `<class:SessionsController>'
794
+ app/controllers/sessions_controller.rb:1:in `<top (required)>'
795
+
796
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
797
+
798
+
799
+ Started POST "/session" for 127.0.0.1 at 2011-11-18 23:07:34 +0000
800
+
801
+ ActionController::RoutingError (undefined method `expose' for SessionsController:Class):
802
+ app/controllers/sessions_controller.rb:3:in `<class:SessionsController>'
803
+ app/controllers/sessions_controller.rb:1:in `<top (required)>'
804
+
805
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
806
+
807
+
808
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:07:38 +0000
809
+
810
+ ActionController::RoutingError (undefined local variable or method `acts_as_taggable' for Blogit::Post(Table doesn't exist):Class):
811
+
812
+
813
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
814
+
815
+
816
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:07:39 +0000
817
+
818
+ ActionController::RoutingError (undefined local variable or method `acts_as_taggable' for Blogit::Post(Table doesn't exist):Class):
819
+
820
+
821
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
822
+
823
+
824
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:07:57 +0000
825
+
826
+ ActionController::RoutingError (undefined local variable or method `acts_as_taggable' for Blogit::Post(Table doesn't exist):Class):
827
+
828
+
829
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
830
+
831
+
832
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:07:58 +0000
833
+
834
+ ActionController::RoutingError (undefined local variable or method `acts_as_taggable' for Blogit::Post(Table doesn't exist):Class):
835
+
836
+
837
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
838
+
839
+
840
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:08:13 +0000
841
+
842
+ LoadError (no such file to load -- acts_as_taggable_on):
843
+
844
+
845
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
846
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.2ms)
847
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.4ms)
848
+
849
+
850
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:08:20 +0000
851
+
852
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f973c9ca3d0>):
853
+
854
+
855
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
856
+
857
+
858
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:08:28 +0000
859
+
860
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f973a7b3878>):
861
+
862
+
863
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
864
+
865
+
866
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:08:29 +0000
867
+
868
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f973a6dabe0>):
869
+
870
+
871
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
872
+
873
+
874
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:08:30 +0000
875
+
876
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f973d964548>):
877
+
878
+
879
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
880
+
881
+
882
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:08:31 +0000
883
+
884
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f9739b44ee8>):
885
+
886
+
887
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
888
+
889
+
890
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:09:21 +0000
891
+
892
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f928871d0f0>):
893
+
894
+
895
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (8.9ms)
896
+
897
+
898
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:09:37 +0000
899
+
900
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f928747df08>):
901
+
902
+
903
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
904
+
905
+
906
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:09:38 +0000
907
+
908
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f92874fa698>):
909
+
910
+
911
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
912
+
913
+
914
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:09:38 +0000
915
+
916
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f92886d9260>):
917
+
918
+
919
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
920
+
921
+
922
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:09:39 +0000
923
+
924
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f9285aaa810>):
925
+
926
+
927
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
928
+
929
+
930
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:09:39 +0000
931
+
932
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f9287748ad0>):
933
+
934
+
935
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
936
+
937
+
938
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:10:09 +0000
939
+
940
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f92859d1588>):
941
+
942
+
943
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
944
+
945
+
946
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:10:09 +0000
947
+
948
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f9286801b80>):
949
+
950
+
951
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
952
+
953
+
954
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:10:09 +0000
955
+
956
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f9288247508>):
957
+
958
+
959
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
960
+
961
+
962
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:10:10 +0000
963
+
964
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f92850291c0>):
965
+
966
+
967
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
968
+
969
+
970
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:10:10 +0000
971
+
972
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f9286d8c370>):
973
+
974
+
975
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
976
+
977
+
978
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:10:21 +0000
979
+
980
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f9288582fb0>):
981
+
982
+
983
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
984
+
985
+
986
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:10:22 +0000
987
+
988
+ ActionController::RoutingError (undefined method `paginates_per' for #<Class:0x007f9285aa2de0>):
989
+
990
+
991
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
992
+
993
+
994
+ Started GET "/" for 127.0.0.1 at 2011-11-18 23:10:24 +0000
995
+
996
+ ActionController::RoutingError (undefined method `expose' for Blogit::PostsController:Class):
997
+
998
+
999
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1000
+
1001
+
1002
+ Started GET "/" for 127.0.0.1 at 2011-11-29 19:50:52 +0000
1003
+
1004
+ ActionController::RoutingError (undefined method `expose' for Blogit::PostsController:Class):
1005
+
1006
+
1007
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (10.1ms)
1008
+
1009
+
1010
+ Started GET "/" for 127.0.0.1 at 2011-11-29 19:50:54 +0000
1011
+
1012
+ ActionController::RoutingError (undefined method `expose' for Blogit::PostsController:Class):
1013
+
1014
+
1015
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1016
+
1017
+
1018
+ Started GET "/" for 127.0.0.1 at 2011-11-29 19:50:55 +0000
1019
+
1020
+ ActionController::RoutingError (undefined method `expose' for Blogit::PostsController:Class):
1021
+
1022
+
1023
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
1024
+
1025
+
1026
+ Started GET "/" for 127.0.0.1 at 2011-11-29 19:58:40 +0000
1027
+ Processing by Blogit::PostsController#index as HTML
1028
+ Blogit::Post Load (18.9ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC
1029
+ Completed 500 Internal Server Error in 27ms
1030
+
1031
+ NoMethodError (undefined method `page' for #<ActiveRecord::Relation:0x007faaafdcc7b8>):
1032
+
1033
+
1034
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1035
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1036
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.1ms)
1037
+
1038
+
1039
+ Started GET "/" for 127.0.0.1 at 2011-11-29 19:59:10 +0000
1040
+ Processing by Blogit::PostsController#index as HTML
1041
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC
1042
+ Completed 500 Internal Server Error in 6ms
1043
+
1044
+ NoMethodError (undefined method `page' for #<ActiveRecord::Relation:0x007faaafe4c4b8>):
1045
+
1046
+
1047
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
1048
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
1049
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.8ms)
1050
+
1051
+
1052
+ Started GET "/" for 127.0.0.1 at 2011-11-29 19:59:47 +0000
1053
+ Processing by Blogit::PostsController#index as HTML
1054
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC
1055
+ Completed 500 Internal Server Error in 8ms
1056
+
1057
+ NoMethodError (undefined method `page' for #<ActiveRecord::Relation:0x007faaabe40770>):
1058
+
1059
+
1060
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
1061
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
1062
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.1ms)
1063
+
1064
+
1065
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:02:42 +0000
1066
+ Processing by Blogit::PostsController#index as HTML
1067
+ User Load (23.9ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1068
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
1069
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (160.4ms)
1070
+ Completed 500 Internal Server Error in 259ms
1071
+
1072
+ ActionView::Template::Error (undefined local variable or method `posts' for #<#<Class:0x007fb4d33760b0>:0x007fb4d3330948>):
1073
+ 2: <%= link_to 'New Blog post', new_post_path %>
1074
+ 3: <% end %>
1075
+ 4:
1076
+ 5: <% if posts.any? %>
1077
+ 6:
1078
+ 7: <%= render partial: "blogit/posts/post",
1079
+ 8: collection: posts,
1080
+
1081
+
1082
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1083
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
1084
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.2ms)
1085
+
1086
+
1087
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:03:03 +0000
1088
+ Processing by Blogit::PostsController#index as HTML
1089
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1090
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
1091
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (52.2ms)
1092
+ Completed 500 Internal Server Error in 57ms
1093
+
1094
+ ActionView::Template::Error (undefined local variable or method `posts' for #<#<Class:0x007fb4d4466370>:0x007fb4d446a998>):
1095
+ 2: <%= link_to 'New Blog post', new_post_path %>
1096
+ 3: <% end %>
1097
+ 4:
1098
+ 5: <% if posts.any? %>
1099
+ 6:
1100
+ 7: <%= render partial: "blogit/posts/post",
1101
+ 8: collection: posts,
1102
+
1103
+
1104
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
1105
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
1106
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.6ms)
1107
+
1108
+
1109
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:03:23 +0000
1110
+ Processing by Blogit::PostsController#index as HTML
1111
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1112
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
1113
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
1114
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (112.0ms)
1115
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (4.1ms)
1116
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (125.6ms)
1117
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (153.8ms)
1118
+ Completed 500 Internal Server Error in 158ms
1119
+
1120
+ ActionView::Template::Error (uninitialized constant Blogit::Parsers::MarkdownParser::Redcarpet):
1121
+ 1: <%= format_content(post.body) %>
1122
+
1123
+
1124
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1125
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1126
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.0ms)
1127
+
1128
+
1129
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:03:51 +0000
1130
+ Processing by Blogit::PostsController#index as HTML
1131
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1132
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
1133
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
1134
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (82.9ms)
1135
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (4.0ms)
1136
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1137
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.1ms)
1138
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1139
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (132.6ms)
1140
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.8ms)
1141
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (306.9ms)
1142
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (29.0ms)
1143
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (392.1ms)
1144
+ Completed 500 Internal Server Error in 418ms
1145
+
1146
+ ActionView::Template::Error (undefined local variable or method `posts' for #<#<Class:0x007f892919ebc8>:0x007f892916cb00>):
1147
+ 1: <%= paginate(posts) %>
1148
+
1149
+
1150
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
1151
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
1152
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (2.9ms)
1153
+
1154
+
1155
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:03:53 +0000
1156
+ Processing by Blogit::PostsController#index as HTML
1157
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1158
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count 
1159
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
1160
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (26.3ms)
1161
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1162
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1163
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.5ms)
1164
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1165
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.1ms)
1166
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.4ms)
1167
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (40.7ms)
1168
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (13.6ms)
1169
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (63.3ms)
1170
+ Completed 500 Internal Server Error in 67ms
1171
+
1172
+ ActionView::Template::Error (undefined local variable or method `posts' for #<#<Class:0x007f892887f600>:0x007f8928828080>):
1173
+ 1: <%= paginate(posts) %>
1174
+
1175
+
1176
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
1177
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
1178
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.0ms)
1179
+
1180
+
1181
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:04:09 +0000
1182
+ Processing by Blogit::PostsController#index as HTML
1183
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1184
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
1185
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
1186
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.3ms)
1187
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1188
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1189
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.5ms)
1190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1191
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.1ms)
1192
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.6ms)
1193
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.7ms)
1194
+  (183.1ms) SELECT COUNT(*) FROM "blog_posts"
1195
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (199.0ms)
1196
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (223.0ms)
1197
+ Compiled blogit.css (1ms) (pid 2921)
1198
+ Compiled blogit/comments.css (0ms) (pid 2921)
1199
+ Compiled blogit/posts.css (0ms) (pid 2921)
1200
+ Compiled application.css (15ms) (pid 2921)
1201
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1202
+ Compiled blogit.js (1ms) (pid 2921)
1203
+ Completed 500 Internal Server Error in 303ms
1204
+
1205
+ ActionView::Template::Error (couldn't find file 'jquery'
1206
+ (in /Users/Gavin/Gems/blogit/spec/dummy/app/assets/javascripts/application.js:1)):
1207
+ 23: <footer id="application_footer">
1208
+ 24: By <%= link_to("Gavin Morrice", "http://gavinmorrice.com") %>
1209
+ 25: </footer>
1210
+ 26: <%= javascript_include_tag "blogit", "application" %>
1211
+ 27: </body>
1212
+ 28: </html>
1213
+ app/views/layouts/application.html.erb:26:in `_app_views_layouts_application_html_erb__3959853373870709060_70113538610920'
1214
+
1215
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
1216
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
1217
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (30.5ms)
1218
+
1219
+
1220
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:06:21 +0000
1221
+ Processing by Blogit::PostsController#index as HTML
1222
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1223
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
1224
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
1225
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (81.1ms)
1226
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (2.9ms)
1227
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1228
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.9ms)
1229
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1230
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (58.6ms)
1231
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.7ms)
1232
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (154.9ms)
1233
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
1234
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.6ms)
1235
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (213.1ms)
1236
+ Compiled blogit.css (0ms) (pid 2922)
1237
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1238
+ Completed 500 Internal Server Error in 276ms
1239
+
1240
+ ActionView::Template::Error (couldn't find file 'jquery'
1241
+ (in /Users/Gavin/Gems/blogit/spec/dummy/app/assets/javascripts/application.js:1)):
1242
+ 23: <footer id="application_footer">
1243
+ 24: By <%= link_to("Gavin Morrice", "http://gavinmorrice.com") %>
1244
+ 25: </footer>
1245
+ 26: <%= javascript_include_tag "blogit", "application" %>
1246
+ 27: </body>
1247
+ 28: </html>
1248
+ app/views/layouts/application.html.erb:26:in `_app_views_layouts_application_html_erb__1713513017534301157_70357149463580'
1249
+
1250
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1251
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1252
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.2ms)
1253
+
1254
+
1255
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:06:56 +0000
1256
+ Processing by Blogit::PostsController#index as HTML
1257
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1258
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
1259
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
1260
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (61.8ms)
1261
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (2.9ms)
1262
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1263
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.9ms)
1264
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1265
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (59.8ms)
1266
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.7ms)
1267
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (157.3ms)
1268
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
1269
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.8ms)
1270
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (196.8ms)
1271
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1272
+ Compiled application.js (1ms) (pid 2923)
1273
+ Compiled jquery.js (10ms) (pid 2923)
1274
+ Compiled jquery_ujs.js (0ms) (pid 2923)
1275
+ Completed 200 OK in 511ms (Views: 509.3ms | ActiveRecord: 1.1ms)
1276
+
1277
+
1278
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:06:57 +0000
1279
+ Served asset /blogit.css - 200 OK (0ms)
1280
+
1281
+
1282
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:06:57 +0000
1283
+ Served asset /blogit.js - 200 OK (0ms)
1284
+
1285
+
1286
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:06:57 +0000
1287
+ Served asset /application.css - 200 OK (0ms)
1288
+
1289
+
1290
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:06:57 +0000
1291
+ Served asset /jquery.js - 200 OK (2ms)
1292
+
1293
+
1294
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:06:57 +0000
1295
+ Served asset /application.js - 200 OK (0ms)
1296
+
1297
+
1298
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:06:57 +0000
1299
+ Served asset /jquery_ujs.js - 200 OK (1ms)
1300
+
1301
+
1302
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:07:02 +0000
1303
+ Processing by Blogit::PostsController#show as HTML
1304
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1305
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1306
+ Completed 500 Internal Server Error in 31ms
1307
+
1308
+ NoMethodError (undefined method `blog_posts' for nil:NilClass):
1309
+
1310
+
1311
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1312
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1313
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.0ms)
1314
+
1315
+
1316
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:07:36 +0000
1317
+ Processing by Blogit::PostsController#show as HTML
1318
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1319
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1320
+ Completed 500 Internal Server Error in 31ms
1321
+
1322
+ NoMethodError (undefined method `blog_posts' for nil:NilClass):
1323
+
1324
+
1325
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
1326
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
1327
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.7ms)
1328
+
1329
+
1330
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:08:08 +0000
1331
+ Processing by Blogit::PostsController#show as HTML
1332
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1333
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1334
+ Completed 500 Internal Server Error in 32ms
1335
+
1336
+ NoMethodError (undefined method `blog_posts' for nil:NilClass):
1337
+
1338
+
1339
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
1340
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
1341
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.1ms)
1342
+
1343
+
1344
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:08:42 +0000
1345
+ Processing by Blogit::PostsController#show as HTML
1346
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1347
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1348
+ Completed 500 Internal Server Error in 43ms
1349
+
1350
+ NameError (undefined local variable or method `post' for #<Blogit::PostsController:0x007f81d9c46ed8>):
1351
+
1352
+
1353
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
1354
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
1355
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.8ms)
1356
+
1357
+
1358
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:08:49 +0000
1359
+ Processing by Blogit::PostsController#show as HTML
1360
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1361
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1362
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
1363
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1364
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1365
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.0ms)
1366
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1367
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (28.5ms)
1368
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (39.5ms)
1369
+ Blogit::Comment Load (13.9ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1370
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (16.6ms)
1371
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (72.8ms)
1372
+ Completed 500 Internal Server Error in 162ms
1373
+
1374
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1375
+ 6:
1376
+ 7: <%= content_tag(:div, class: "blog_comment_body",
1377
+ 8: id: "blog_comment_#{comment.id}_body") do %>
1378
+ 9: <%= format_content comment.body %>
1379
+ 10: <% end %>
1380
+ 11:
1381
+ 12: <%= blog_comment_tag(:footer) do %>
1382
+
1383
+
1384
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1385
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1386
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.1ms)
1387
+
1388
+
1389
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:09:36 +0000
1390
+ Processing by Blogit::PostsController#show as HTML
1391
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1392
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1393
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
1394
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1395
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1396
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.6ms)
1397
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1398
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.2ms)
1399
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.7ms)
1400
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1401
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (1.6ms)
1402
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (19.1ms)
1403
+ Completed 500 Internal Server Error in 43ms
1404
+
1405
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1406
+ 6:
1407
+ 7: <%= content_tag(:div, class: "blog_comment_body",
1408
+ 8: id: "blog_comment_#{comment.id}_body") do %>
1409
+ 9: <%= format_content comment.body %>
1410
+ 10: <% end %>
1411
+ 11:
1412
+ 12: <%= blog_comment_tag(:footer) do %>
1413
+
1414
+
1415
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1416
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1417
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.0ms)
1418
+
1419
+
1420
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:09:53 +0000
1421
+ Processing by Blogit::PostsController#show as HTML
1422
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1423
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1424
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
1425
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1426
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1427
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.6ms)
1428
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1429
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.5ms)
1430
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.7ms)
1431
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1432
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (1.1ms)
1433
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (18.3ms)
1434
+ Completed 500 Internal Server Error in 72ms
1435
+
1436
+ ActionView::Template::Error ():
1437
+ 1: <%= raise comment.body.to_s %>
1438
+ 2: <%= content_tag(:article, id: "blog_comment_#{comment.id}", class: "blog_comment") do %>
1439
+ 3: <%= content_tag(:div, class: "blog_comment_name", id: "blog_comment_#{comment.id}_name") do %>
1440
+ 4: <%= comment.website? ? link_to(comment.name, comment.website) : comment.name %> wrote:
1441
+
1442
+
1443
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1444
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1445
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.0ms)
1446
+
1447
+
1448
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:07 +0000
1449
+ Processing by Blogit::PostsController#show as HTML
1450
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1451
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1452
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
1453
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1454
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1455
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (35.3ms)
1456
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1457
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.6ms)
1458
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (44.4ms)
1459
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1460
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
1461
+ SQL (0.2ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) - 1 WHERE "blog_posts"."id" = 1
1462
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (6.5ms)
1463
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (52.6ms)
1464
+ Completed 500 Internal Server Error in 77ms
1465
+
1466
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1467
+ 7:
1468
+ 8: <%= content_tag(:div, class: "blog_comment_body",
1469
+ 9: id: "blog_comment_#{comment.id}_body") do %>
1470
+ 10: <%= format_content comment.body %>
1471
+ 11: <% end %>
1472
+ 12:
1473
+ 13: <%= blog_comment_tag(:footer) do %>
1474
+
1475
+
1476
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1477
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1478
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.0ms)
1479
+
1480
+
1481
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:14 +0000
1482
+ Processing by Blogit::PostsController#show as HTML
1483
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1484
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1485
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
1486
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1487
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1488
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.7ms)
1489
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1490
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.2ms)
1491
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.6ms)
1492
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1493
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
1494
+ SQL (0.2ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) - 1 WHERE "blog_posts"."id" = 1
1495
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (6.3ms)
1496
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.7ms)
1497
+ Completed 500 Internal Server Error in 50ms
1498
+
1499
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1500
+ 7:
1501
+ 8: <%= content_tag(:div, class: "blog_comment_body",
1502
+ 9: id: "blog_comment_#{comment.id}_body") do %>
1503
+ 10: <%= format_content comment.body %>
1504
+ 11: <% end %>
1505
+ 12:
1506
+ 13: <%= blog_comment_tag(:footer) do %>
1507
+
1508
+
1509
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1510
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (29.7ms)
1511
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (32.1ms)
1512
+
1513
+
1514
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:15 +0000
1515
+ Processing by Blogit::PostsController#show as HTML
1516
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1517
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1518
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
1519
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1520
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1521
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.2ms)
1522
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1523
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.7ms)
1524
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.8ms)
1525
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1526
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
1527
+ SQL (0.2ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) - 1 WHERE "blog_posts"."id" = 1
1528
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (5.5ms)
1529
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (23.1ms)
1530
+ Completed 500 Internal Server Error in 74ms
1531
+
1532
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1533
+ 7:
1534
+ 8: <%= content_tag(:div, class: "blog_comment_body",
1535
+ 9: id: "blog_comment_#{comment.id}_body") do %>
1536
+ 10: <%= format_content comment.body %>
1537
+ 11: <% end %>
1538
+ 12:
1539
+ 13: <%= blog_comment_tag(:footer) do %>
1540
+
1541
+
1542
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1543
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
1544
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (2.9ms)
1545
+
1546
+
1547
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:15 +0000
1548
+ Processing by Blogit::PostsController#show as HTML
1549
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1550
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1551
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.6ms)
1552
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms)
1553
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1554
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (35.2ms)
1555
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1556
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.4ms)
1557
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (44.4ms)
1558
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1559
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
1560
+ SQL (0.1ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) - 1 WHERE "blog_posts"."id" = 1
1561
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (5.4ms)
1562
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (51.5ms)
1563
+ Completed 500 Internal Server Error in 76ms
1564
+
1565
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1566
+ 7:
1567
+ 8: <%= content_tag(:div, class: "blog_comment_body",
1568
+ 9: id: "blog_comment_#{comment.id}_body") do %>
1569
+ 10: <%= format_content comment.body %>
1570
+ 11: <% end %>
1571
+ 12:
1572
+ 13: <%= blog_comment_tag(:footer) do %>
1573
+
1574
+
1575
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1576
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
1577
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (2.9ms)
1578
+
1579
+
1580
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:16 +0000
1581
+ Processing by Blogit::PostsController#show as HTML
1582
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1583
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1584
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.3ms)
1585
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1586
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1587
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.3ms)
1588
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1589
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.8ms)
1590
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.1ms)
1591
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1592
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
1593
+ SQL (0.2ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) - 1 WHERE "blog_posts"."id" = 1
1594
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (5.5ms)
1595
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (23.3ms)
1596
+ Completed 500 Internal Server Error in 48ms
1597
+
1598
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1599
+ 7:
1600
+ 8: <%= content_tag(:div, class: "blog_comment_body",
1601
+ 9: id: "blog_comment_#{comment.id}_body") do %>
1602
+ 10: <%= format_content comment.body %>
1603
+ 11: <% end %>
1604
+ 12:
1605
+ 13: <%= blog_comment_tag(:footer) do %>
1606
+
1607
+
1608
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
1609
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1610
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.2ms)
1611
+
1612
+
1613
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:16 +0000
1614
+ Processing by Blogit::PostsController#show as HTML
1615
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1616
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1617
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
1618
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
1619
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1620
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.6ms)
1621
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1622
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.2ms)
1623
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.7ms)
1624
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1625
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
1626
+ SQL (0.2ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) - 1 WHERE "blog_posts"."id" = 1
1627
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (5.5ms)
1628
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (22.7ms)
1629
+ Completed 500 Internal Server Error in 75ms
1630
+
1631
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1632
+ 7:
1633
+ 8: <%= content_tag(:div, class: "blog_comment_body",
1634
+ 9: id: "blog_comment_#{comment.id}_body") do %>
1635
+ 10: <%= format_content comment.body %>
1636
+ 11: <% end %>
1637
+ 12:
1638
+ 13: <%= blog_comment_tag(:footer) do %>
1639
+
1640
+
1641
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
1642
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1643
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.0ms)
1644
+
1645
+
1646
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:17 +0000
1647
+ Processing by Blogit::PostsController#show as HTML
1648
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1649
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1650
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.3ms)
1651
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
1652
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1653
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.7ms)
1654
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1655
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.3ms)
1656
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (44.7ms)
1657
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1658
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
1659
+ SQL (0.2ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) - 1 WHERE "blog_posts"."id" = 1
1660
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (6.0ms)
1661
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (52.5ms)
1662
+ Completed 500 Internal Server Error in 78ms
1663
+
1664
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1665
+ 7:
1666
+ 8: <%= content_tag(:div, class: "blog_comment_body",
1667
+ 9: id: "blog_comment_#{comment.id}_body") do %>
1668
+ 10: <%= format_content comment.body %>
1669
+ 11: <% end %>
1670
+ 12:
1671
+ 13: <%= blog_comment_tag(:footer) do %>
1672
+
1673
+
1674
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
1675
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
1676
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.2ms)
1677
+
1678
+
1679
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:17 +0000
1680
+ Processing by Blogit::PostsController#show as HTML
1681
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1682
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1683
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.6ms)
1684
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
1685
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1686
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (6.8ms)
1687
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1688
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.5ms)
1689
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.8ms)
1690
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1691
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
1692
+ SQL (0.2ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) - 1 WHERE "blog_posts"."id" = 1
1693
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (34.0ms)
1694
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (51.9ms)
1695
+ Completed 500 Internal Server Error in 76ms
1696
+
1697
+ ActionView::Template::Error (wrong argument type nil (expected String)):
1698
+ 7:
1699
+ 8: <%= content_tag(:div, class: "blog_comment_body",
1700
+ 9: id: "blog_comment_#{comment.id}_body") do %>
1701
+ 10: <%= format_content comment.body %>
1702
+ 11: <% end %>
1703
+ 12:
1704
+ 13: <%= blog_comment_tag(:footer) do %>
1705
+
1706
+
1707
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
1708
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
1709
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.9ms)
1710
+
1711
+
1712
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:10:58 +0000
1713
+ Processing by Blogit::PostsController#show as HTML
1714
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
1715
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
1716
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
1717
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1718
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1719
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.1ms)
1720
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1721
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.1ms)
1722
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.0ms)
1723
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
1724
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1725
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.7ms)
1726
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.6ms)
1727
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.6ms)
1728
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.3ms)
1729
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1730
+ Completed 200 OK in 79ms (Views: 30.1ms | ActiveRecord: 1.1ms)
1731
+
1732
+
1733
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:10:58 +0000
1734
+ Served asset /blogit.css - 304 Not Modified (0ms)
1735
+
1736
+
1737
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:10:58 +0000
1738
+ Served asset /application.css - 304 Not Modified (0ms)
1739
+
1740
+
1741
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:10:58 +0000
1742
+ Served asset /blogit.js - 304 Not Modified (0ms)
1743
+
1744
+
1745
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:10:58 +0000
1746
+ Served asset /jquery.js - 304 Not Modified (0ms)
1747
+
1748
+
1749
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:10:58 +0000
1750
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1751
+
1752
+
1753
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:10:58 +0000
1754
+ Served asset /application.js - 304 Not Modified (0ms)
1755
+
1756
+
1757
+ Started GET "/session/new" for 127.0.0.1 at 2011-11-29 20:11:06 +0000
1758
+
1759
+ ActionController::RoutingError (undefined method `expose' for SessionsController:Class):
1760
+ app/controllers/sessions_controller.rb:3:in `<class:SessionsController>'
1761
+ app/controllers/sessions_controller.rb:1:in `<top (required)>'
1762
+
1763
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
1764
+
1765
+
1766
+ Started GET "/session/new" for 127.0.0.1 at 2011-11-29 20:11:38 +0000
1767
+ Processing by SessionsController#new as HTML
1768
+ Rendered sessions/new.html.erb within layouts/application (1.6ms)
1769
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1770
+ Completed 200 OK in 26ms (Views: 24.8ms | ActiveRecord: 0.5ms)
1771
+
1772
+
1773
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:11:38 +0000
1774
+ Served asset /blogit.css - 304 Not Modified (0ms)
1775
+
1776
+
1777
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:11:38 +0000
1778
+ Served asset /application.css - 304 Not Modified (0ms)
1779
+
1780
+
1781
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:38 +0000
1782
+ Served asset /blogit.js - 304 Not Modified (0ms)
1783
+
1784
+
1785
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:38 +0000
1786
+ Served asset /jquery.js - 304 Not Modified (0ms)
1787
+
1788
+
1789
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:38 +0000
1790
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1791
+
1792
+
1793
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:38 +0000
1794
+ Served asset /application.js - 304 Not Modified (0ms)
1795
+
1796
+
1797
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:11:46 +0000
1798
+ Processing by SessionsController#create as HTML
1799
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
1800
+ Rendered sessions/new.html.erb within layouts/application (0.9ms)
1801
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1802
+ Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.6ms)
1803
+
1804
+
1805
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:11:46 +0000
1806
+ Served asset /blogit.css - 304 Not Modified (0ms)
1807
+
1808
+
1809
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:11:46 +0000
1810
+ Served asset /application.css - 304 Not Modified (0ms)
1811
+
1812
+
1813
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:46 +0000
1814
+ Served asset /blogit.js - 304 Not Modified (0ms)
1815
+
1816
+
1817
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:46 +0000
1818
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1819
+
1820
+
1821
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:46 +0000
1822
+ Served asset /jquery.js - 304 Not Modified (0ms)
1823
+
1824
+
1825
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:46 +0000
1826
+ Served asset /application.js - 304 Not Modified (0ms)
1827
+
1828
+
1829
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:11:50 +0000
1830
+ Processing by SessionsController#create as HTML
1831
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
1832
+ Rendered sessions/new.html.erb within layouts/application (1.0ms)
1833
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1834
+ Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.4ms)
1835
+
1836
+
1837
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:11:50 +0000
1838
+ Served asset /blogit.css - 304 Not Modified (0ms)
1839
+
1840
+
1841
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:11:50 +0000
1842
+ Served asset /application.css - 304 Not Modified (0ms)
1843
+
1844
+
1845
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:50 +0000
1846
+ Served asset /blogit.js - 304 Not Modified (0ms)
1847
+
1848
+
1849
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:50 +0000
1850
+ Served asset /application.js - 304 Not Modified (0ms)
1851
+
1852
+
1853
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:50 +0000
1854
+ Served asset /jquery.js - 304 Not Modified (0ms)
1855
+
1856
+
1857
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:50 +0000
1858
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1859
+
1860
+
1861
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:11:54 +0000
1862
+ Processing by SessionsController#create as HTML
1863
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"bodacious", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
1864
+ Rendered sessions/new.html.erb within layouts/application (1.0ms)
1865
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1866
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.5ms)
1867
+
1868
+
1869
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:11:54 +0000
1870
+ Served asset /application.css - 304 Not Modified (0ms)
1871
+
1872
+
1873
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:11:54 +0000
1874
+ Served asset /blogit.css - 304 Not Modified (0ms)
1875
+
1876
+
1877
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:54 +0000
1878
+ Served asset /blogit.js - 304 Not Modified (0ms)
1879
+
1880
+
1881
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:54 +0000
1882
+ Served asset /jquery.js - 304 Not Modified (0ms)
1883
+
1884
+
1885
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:54 +0000
1886
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1887
+
1888
+
1889
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:11:54 +0000
1890
+ Served asset /application.js - 304 Not Modified (0ms)
1891
+
1892
+
1893
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:13:24 +0000
1894
+ Processing by SessionsController#create as HTML
1895
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"GavinMorrice", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
1896
+ Rendered sessions/new.html.erb within layouts/application (0.9ms)
1897
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1898
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.5ms)
1899
+
1900
+
1901
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:13:24 +0000
1902
+ Served asset /blogit.css - 304 Not Modified (0ms)
1903
+
1904
+
1905
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:24 +0000
1906
+ Served asset /blogit.js - 304 Not Modified (0ms)
1907
+
1908
+
1909
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:13:24 +0000
1910
+ Served asset /application.css - 304 Not Modified (0ms)
1911
+
1912
+
1913
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:24 +0000
1914
+ Served asset /jquery.js - 304 Not Modified (0ms)
1915
+
1916
+
1917
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:24 +0000
1918
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1919
+
1920
+
1921
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:24 +0000
1922
+ Served asset /application.js - 304 Not Modified (0ms)
1923
+
1924
+
1925
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:13:28 +0000
1926
+ Processing by SessionsController#create as HTML
1927
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"GavinMorrice", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
1928
+ Rendered sessions/new.html.erb within layouts/application (1.1ms)
1929
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1930
+ Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.4ms)
1931
+
1932
+
1933
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:13:28 +0000
1934
+ Served asset /application.css - 304 Not Modified (0ms)
1935
+
1936
+
1937
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:28 +0000
1938
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1939
+
1940
+
1941
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:13:28 +0000
1942
+ Served asset /blogit.css - 304 Not Modified (0ms)
1943
+
1944
+
1945
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:28 +0000
1946
+ Served asset /jquery.js - 304 Not Modified (0ms)
1947
+
1948
+
1949
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:28 +0000
1950
+ Served asset /blogit.js - 304 Not Modified (0ms)
1951
+
1952
+
1953
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:28 +0000
1954
+ Served asset /application.js - 304 Not Modified (0ms)
1955
+
1956
+
1957
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:13:42 +0000
1958
+ Processing by SessionsController#create as HTML
1959
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"GavinMorrice", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
1960
+ Rendered sessions/new.html.erb within layouts/application (1.0ms)
1961
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1962
+ Completed 200 OK in 43ms (Views: 42.3ms | ActiveRecord: 0.5ms)
1963
+
1964
+
1965
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:13:42 +0000
1966
+ Served asset /blogit.css - 304 Not Modified (0ms)
1967
+
1968
+
1969
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:13:42 +0000
1970
+ Served asset /application.css - 304 Not Modified (0ms)
1971
+
1972
+
1973
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:42 +0000
1974
+ Served asset /blogit.js - 304 Not Modified (0ms)
1975
+
1976
+
1977
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:42 +0000
1978
+ Served asset /jquery.js - 304 Not Modified (0ms)
1979
+
1980
+
1981
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:42 +0000
1982
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1983
+
1984
+
1985
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:13:42 +0000
1986
+ Served asset /application.js - 304 Not Modified (0ms)
1987
+
1988
+
1989
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:14:04 +0000
1990
+ Processing by SessionsController#create as HTML
1991
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"GavinMorrice", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
1992
+ Rendered sessions/new.html.erb within layouts/application (1.2ms)
1993
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
1994
+ Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.5ms)
1995
+
1996
+
1997
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:14:05 +0000
1998
+ Served asset /blogit.css - 304 Not Modified (0ms)
1999
+
2000
+
2001
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:14:05 +0000
2002
+ Served asset /application.css - 304 Not Modified (0ms)
2003
+
2004
+
2005
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:05 +0000
2006
+ Served asset /blogit.js - 304 Not Modified (0ms)
2007
+
2008
+
2009
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:05 +0000
2010
+ Served asset /jquery.js - 304 Not Modified (0ms)
2011
+
2012
+
2013
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:05 +0000
2014
+ Served asset /application.js - 304 Not Modified (0ms)
2015
+
2016
+
2017
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:05 +0000
2018
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2019
+
2020
+
2021
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:14:23 +0000
2022
+ Processing by Blogit::PostsController#index as HTML
2023
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2024
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count 
2025
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
2026
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.3ms)
2027
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
2028
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2029
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.5ms)
2030
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2031
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.1ms)
2032
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (1.4ms)
2033
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.3ms)
2034
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
2035
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.7ms)
2036
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (25.1ms)
2037
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2038
+ Completed 200 OK in 32ms (Views: 30.5ms | ActiveRecord: 0.9ms)
2039
+
2040
+
2041
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:14:23 +0000
2042
+ Served asset /blogit.css - 304 Not Modified (0ms)
2043
+
2044
+
2045
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:14:23 +0000
2046
+ Served asset /application.css - 304 Not Modified (0ms)
2047
+
2048
+
2049
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:23 +0000
2050
+ Served asset /blogit.js - 304 Not Modified (0ms)
2051
+
2052
+
2053
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:23 +0000
2054
+ Served asset /jquery.js - 304 Not Modified (0ms)
2055
+
2056
+
2057
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:23 +0000
2058
+ Served asset /application.js - 304 Not Modified (0ms)
2059
+
2060
+
2061
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:23 +0000
2062
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2063
+
2064
+
2065
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:14:24 +0000
2066
+ Processing by Blogit::PostsController#show as HTML
2067
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
2068
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
2069
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
2070
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
2071
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2072
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (6.8ms)
2073
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2074
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.0ms)
2075
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (14.3ms)
2076
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2077
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2078
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.4ms)
2079
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (1.5ms)
2080
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.6ms)
2081
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (20.3ms)
2082
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2083
+ Completed 200 OK in 73ms (Views: 25.7ms | ActiveRecord: 1.0ms)
2084
+
2085
+
2086
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:14:25 +0000
2087
+ Served asset /blogit.css - 304 Not Modified (0ms)
2088
+
2089
+
2090
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:14:25 +0000
2091
+ Served asset /application.css - 304 Not Modified (0ms)
2092
+
2093
+
2094
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:25 +0000
2095
+ Served asset /blogit.js - 304 Not Modified (0ms)
2096
+
2097
+
2098
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:25 +0000
2099
+ Served asset /jquery.js - 304 Not Modified (0ms)
2100
+
2101
+
2102
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:25 +0000
2103
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2104
+
2105
+
2106
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:25 +0000
2107
+ Served asset /application.js - 304 Not Modified (0ms)
2108
+
2109
+
2110
+ Started GET "/blog/posts/1-this-is-a-blog-post" for 127.0.0.1 at 2011-11-29 20:14:28 +0000
2111
+ Processing by Blogit::PostsController#show as HTML
2112
+ Parameters: {"id"=>"1-this-is-a-blog-post"}
2113
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
2114
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
2115
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
2116
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2117
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (33.7ms)
2118
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2119
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.4ms)
2120
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (41.6ms)
2121
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2122
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2123
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.3ms)
2124
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (1.4ms)
2125
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.9ms)
2126
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (47.9ms)
2127
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2128
+ Completed 200 OK in 74ms (Views: 53.4ms | ActiveRecord: 1.1ms)
2129
+
2130
+
2131
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:14:28 +0000
2132
+ Served asset /blogit.css - 304 Not Modified (0ms)
2133
+
2134
+
2135
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:14:28 +0000
2136
+ Served asset /application.css - 304 Not Modified (0ms)
2137
+
2138
+
2139
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:28 +0000
2140
+ Served asset /blogit.js - 304 Not Modified (0ms)
2141
+
2142
+
2143
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:28 +0000
2144
+ Served asset /jquery.js - 304 Not Modified (0ms)
2145
+
2146
+
2147
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:28 +0000
2148
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2149
+
2150
+
2151
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:14:28 +0000
2152
+ Served asset /application.js - 304 Not Modified (0ms)
2153
+
2154
+
2155
+ Started POST "/blog/posts/1-this-is-a-blog-post/comments" for 127.0.0.1 at 2011-11-29 20:14:43 +0000
2156
+ Processing by Blogit::CommentsController#create as JS
2157
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "comment"=>{"nickname"=>"", "name"=>"Gavin", "email"=>"gavin@gavinmorrice.com", "website"=>"www.katanacode.com", "body"=>"This is awesome "}, "commit"=>"Add Comment", "post_id"=>"1-this-is-a-blog-post"}
2158
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-blog-post"]]
2159
+ Completed 500 Internal Server Error in 60ms
2160
+
2161
+ NoMethodError (undefined method `comments' for #<Blogit::Comment:0x007f81dc746ea8>):
2162
+
2163
+
2164
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
2165
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
2166
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.8ms)
2167
+  (0.1ms) select sqlite_version(*)
2168
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2169
+  (0.0ms) PRAGMA index_list("schema_migrations")
2170
+  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2171
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2172
+ Migrating to CreateUsers (20110814091304)
2173
+  (0.0ms) select sqlite_version(*)
2174
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime) 
2175
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')
2176
+ Migrating to CreatePeople (20110819103335)
2177
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
2178
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')
2179
+ Migrating to CreateBlogPosts (20111118222920)
2180
+  (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, "updated_at" datetime) 
2181
+  (0.0ms) PRAGMA index_list("blog_posts")
2182
+  (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")
2183
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222920')
2184
+ Migrating to CreateBlogComments (20111118222921)
2185
+  (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, "updated_at" datetime) 
2186
+  (0.0ms) PRAGMA index_list("blog_comments")
2187
+  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
2188
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222921')
2189
+ Migrating to ActsAsTaggableOnMigration (20111118222922)
2190
+  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
2191
+  (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)
2192
+  (0.0ms) PRAGMA index_list("taggings")
2193
+  (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
2194
+  (0.0ms) PRAGMA index_list("taggings")
2195
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
2196
+  (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
2197
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222922')
2198
+  (0.3ms) select sqlite_version(*)
2199
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
2200
+  (0.0ms) PRAGMA index_list("blog_comments")
2201
+  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')
2202
+  (0.0ms) PRAGMA index_list("blog_posts")
2203
+  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
2204
+  (0.0ms) PRAGMA index_list("people")
2205
+  (0.0ms) PRAGMA index_list("taggings")
2206
+  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
2207
+  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
2208
+  (0.0ms) PRAGMA index_list("tags")
2209
+  (0.0ms) PRAGMA index_list("users")
2210
+
2211
+
2212
+ Started GET "/session/new" for 127.0.0.1 at 2011-11-29 20:18:30 +0000
2213
+ Processing by SessionsController#new as HTML
2214
+ Rendered sessions/new.html.erb within layouts/application (1.4ms)
2215
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2216
+ Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.4ms)
2217
+
2218
+
2219
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:18:30 +0000
2220
+ Served asset /application.css - 304 Not Modified (0ms)
2221
+
2222
+
2223
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:18:30 +0000
2224
+ Served asset /jquery.js - 304 Not Modified (0ms)
2225
+
2226
+
2227
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:18:30 +0000
2228
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2229
+
2230
+
2231
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:18:30 +0000
2232
+ Served asset /blogit.css - 304 Not Modified (0ms)
2233
+
2234
+
2235
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:18:30 +0000
2236
+ Served asset /application.js - 304 Not Modified (0ms)
2237
+
2238
+
2239
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:18:30 +0000
2240
+ Served asset /blogit.js - 304 Not Modified (0ms)
2241
+
2242
+
2243
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:18:32 +0000
2244
+ Processing by SessionsController#create as HTML
2245
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
2246
+ Rendered sessions/new.html.erb within layouts/application (0.9ms)
2247
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
2248
+ Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.4ms)
2249
+
2250
+
2251
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:18:33 +0000
2252
+ Served asset /blogit.css - 304 Not Modified (0ms)
2253
+
2254
+
2255
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:18:33 +0000
2256
+ Served asset /application.css - 304 Not Modified (0ms)
2257
+
2258
+
2259
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:18:33 +0000
2260
+ Served asset /jquery.js - 304 Not Modified (0ms)
2261
+
2262
+
2263
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:18:33 +0000
2264
+ Served asset /blogit.js - 304 Not Modified (0ms)
2265
+
2266
+
2267
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:18:33 +0000
2268
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2269
+
2270
+
2271
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:18:33 +0000
2272
+ Served asset /application.js - 304 Not Modified (0ms)
2273
+
2274
+
2275
+ Started POST "/session" for 127.0.0.1 at 2011-11-29 20:19:33 +0000
2276
+ Processing by SessionsController#create as HTML
2277
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "session"=>{"username"=>"gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
2278
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'gavin' AND "users"."password" = 'password' LIMIT 1
2279
+ Redirected to http://0.0.0.0:3000/
2280
+ Completed 302 Found in 12ms
2281
+
2282
+
2283
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:19:33 +0000
2284
+ Processing by Blogit::PostsController#index as HTML
2285
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2286
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
2287
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.4ms)
2288
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
2289
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.9ms)
2290
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (79.1ms)
2291
+ Completed 200 OK in 85ms (Views: 84.3ms | ActiveRecord: 0.6ms)
2292
+
2293
+
2294
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:19:33 +0000
2295
+ Served asset /blogit.css - 304 Not Modified (0ms)
2296
+
2297
+
2298
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:33 +0000
2299
+ Served asset /jquery.js - 304 Not Modified (0ms)
2300
+
2301
+
2302
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:19:33 +0000
2303
+ Served asset /application.css - 304 Not Modified (0ms)
2304
+
2305
+
2306
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:33 +0000
2307
+ Served asset /blogit.js - 304 Not Modified (0ms)
2308
+
2309
+
2310
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:33 +0000
2311
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2312
+
2313
+
2314
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:33 +0000
2315
+ Served asset /application.js - 304 Not Modified (0ms)
2316
+
2317
+
2318
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-29 20:19:36 +0000
2319
+ Processing by Blogit::PostsController#index as HTML
2320
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2321
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count 
2322
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.1ms)
2323
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
2324
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.6ms)
2325
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (9.5ms)
2326
+ Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.5ms)
2327
+
2328
+
2329
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:19:36 +0000
2330
+ Served asset /blogit.css - 304 Not Modified (0ms)
2331
+
2332
+
2333
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:19:36 +0000
2334
+ Served asset /application.css - 304 Not Modified (0ms)
2335
+
2336
+
2337
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:36 +0000
2338
+ Served asset /blogit.js - 304 Not Modified (0ms)
2339
+
2340
+
2341
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:36 +0000
2342
+ Served asset /jquery.js - 304 Not Modified (0ms)
2343
+
2344
+
2345
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:36 +0000
2346
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2347
+
2348
+
2349
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:36 +0000
2350
+ Served asset /application.js - 304 Not Modified (0ms)
2351
+
2352
+
2353
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-29 20:19:39 +0000
2354
+ Processing by Blogit::PostsController#index as HTML
2355
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2356
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
2357
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.1ms)
2358
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
2359
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.7ms)
2360
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (9.9ms)
2361
+ Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.6ms)
2362
+
2363
+
2364
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:19:39 +0000
2365
+ Served asset /blogit.css - 304 Not Modified (0ms)
2366
+
2367
+
2368
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:19:39 +0000
2369
+ Served asset /application.css - 304 Not Modified (0ms)
2370
+
2371
+
2372
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:39 +0000
2373
+ Served asset /blogit.js - 304 Not Modified (0ms)
2374
+
2375
+
2376
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:39 +0000
2377
+ Served asset /jquery.js - 304 Not Modified (0ms)
2378
+
2379
+
2380
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:39 +0000
2381
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2382
+
2383
+
2384
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:19:39 +0000
2385
+ Served asset /application.js - 304 Not Modified (0ms)
2386
+
2387
+
2388
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2011-11-29 20:19:48 +0000
2389
+ Processing by Blogit::PostsController#new as HTML
2390
+ Rendered public/404.html (0.3ms)
2391
+ Completed 404 Not Found in 75ms (Views: 74.4ms | ActiveRecord: 0.0ms)
2392
+
2393
+
2394
+ Started GET "/posts/new" for 127.0.0.1 at 2011-11-29 20:19:54 +0000
2395
+
2396
+ ActionController::RoutingError (No route matches [GET] "/posts/new"):
2397
+
2398
+
2399
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
2400
+
2401
+
2402
+ Started GET "/posts/new" for 127.0.0.1 at 2011-11-29 20:20:32 +0000
2403
+
2404
+ ActionController::RoutingError (No route matches [GET] "/posts/new"):
2405
+
2406
+
2407
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (8.9ms)
2408
+
2409
+
2410
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2011-11-29 20:20:38 +0000
2411
+ Processing by Blogit::PostsController#new as HTML
2412
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2413
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (52.8ms)
2414
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (124.3ms)
2415
+ Completed 500 Internal Server Error in 208ms
2416
+
2417
+ ActionView::Template::Error (undefined local variable or method `post' for #<#<Class:0x007fcd329f97d0>:0x007fcd329bcc90>):
2418
+ 1: <%= form_for(post, html: {class: "new_blog_post", id: "new_blog_post"}) do |f| %>
2419
+ 2:
2420
+ 3: <% if post.errors.any? %>
2421
+ 4: <div id="error_explanation">
2422
+
2423
+
2424
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
2425
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
2426
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.0ms)
2427
+
2428
+
2429
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2011-11-29 20:21:05 +0000
2430
+ Processing by Blogit::PostsController#new as HTML
2431
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2432
+ 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)
2433
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (83.0ms)
2434
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (83.6ms)
2435
+ Completed 200 OK in 120ms (Views: 104.1ms | ActiveRecord: 1.1ms)
2436
+
2437
+
2438
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:21:06 +0000
2439
+ Served asset /blogit.css - 304 Not Modified (0ms)
2440
+
2441
+
2442
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:06 +0000
2443
+ Served asset /blogit.js - 304 Not Modified (0ms)
2444
+
2445
+
2446
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:21:06 +0000
2447
+ Served asset /application.css - 304 Not Modified (0ms)
2448
+
2449
+
2450
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:06 +0000
2451
+ Served asset /jquery.js - 304 Not Modified (1ms)
2452
+
2453
+
2454
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:06 +0000
2455
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
2456
+
2457
+
2458
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:06 +0000
2459
+ Served asset /application.js - 304 Not Modified (0ms)
2460
+
2461
+
2462
+ Started POST "/blog/posts" for 127.0.0.1 at 2011-11-29 20:21:19 +0000
2463
+ Processing by Blogit::PostsController#create as HTML
2464
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "post"=>{"title"=>"This is a title", "body"=>"This aosfja osidfj aosdjf aoisdjfa osidjfpas ijdf aposidjfap soidjfp aoisjf", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
2465
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2466
+ SQL (11.2ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "This aosfja osidfj aosdjf aoisdjfa osidjfpas ijdf aposidjfap soidjfp aoisjf"], ["comments_count", 0], ["created_at", Tue, 29 Nov 2011 20:21:19 UTC +00:00], ["title", "This is a title"], ["updated_at", Tue, 29 Nov 2011 20:21:19 UTC +00:00]]
2467
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (name LIKE 'one' OR name LIKE 'two' OR name LIKE 'three')
2468
+  (0.1ms) SELECT 1 FROM "tags" WHERE "tags"."name" = 'one' LIMIT 1
2469
+ SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "one"]]
2470
+  (0.1ms) SELECT 1 FROM "tags" WHERE "tags"."name" = 'two' LIMIT 1
2471
+ SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "two"]]
2472
+  (0.0ms) SELECT 1 FROM "tags" WHERE "tags"."name" = 'three' LIMIT 1
2473
+ SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "three"]]
2474
+ 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)
2475
+ ActsAsTaggableOn::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."tagger_type" IS NULL AND "taggings"."tagger_id" IS NULL AND "taggings"."context" = 'tags' AND "taggings"."tag_id" IN (NULL)
2476
+  (0.1ms) SELECT 1 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
2477
+ SQL (0.6ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Tue, 29 Nov 2011 20:21:20 UTC +00:00], ["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
2478
+  (0.1ms) SELECT 1 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
2479
+ SQL (0.3ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Tue, 29 Nov 2011 20:21:20 UTC +00:00], ["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
2480
+  (0.1ms) SELECT 1 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
2481
+ SQL (0.3ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Tue, 29 Nov 2011 20:21:20 UTC +00:00], ["tag_id", 3], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
2482
+ Redirected to http://0.0.0.0:3000/blog/posts/1-this-is-a-title
2483
+ Completed 302 Found in 250ms
2484
+
2485
+
2486
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:21:20 +0000
2487
+ Processing by Blogit::PostsController#show as HTML
2488
+ Parameters: {"id"=>"1-this-is-a-title"}
2489
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2490
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
2491
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.9ms)
2492
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2493
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.8ms)
2494
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2495
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.4ms)
2496
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.9ms)
2497
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2498
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.3ms)
2499
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.0ms)
2500
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.1ms)
2501
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.9ms)
2502
+ Completed 200 OK in 50ms (Views: 30.3ms | ActiveRecord: 1.1ms)
2503
+
2504
+
2505
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:21:20 +0000
2506
+ Served asset /blogit.css - 304 Not Modified (0ms)
2507
+
2508
+
2509
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:21:20 +0000
2510
+ Served asset /application.css - 304 Not Modified (0ms)
2511
+
2512
+
2513
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:20 +0000
2514
+ Served asset /blogit.js - 304 Not Modified (0ms)
2515
+
2516
+
2517
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:20 +0000
2518
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2519
+
2520
+
2521
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:20 +0000
2522
+ Served asset /jquery.js - 304 Not Modified (0ms)
2523
+
2524
+
2525
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:20 +0000
2526
+ Served asset /application.js - 304 Not Modified (0ms)
2527
+
2528
+
2529
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:21:57 +0000
2530
+ Processing by Blogit::PostsController#show as HTML
2531
+ Parameters: {"id"=>"1-this-is-a-title"}
2532
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2533
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
2534
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
2535
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2536
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.5ms)
2537
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2538
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.7ms)
2539
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.2ms)
2540
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2541
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.1ms)
2542
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (1.4ms)
2543
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.7ms)
2544
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (22.6ms)
2545
+ Completed 200 OK in 76ms (Views: 27.7ms | ActiveRecord: 1.1ms)
2546
+
2547
+
2548
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:21:57 +0000
2549
+ Served asset /blogit.css - 304 Not Modified (0ms)
2550
+
2551
+
2552
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:57 +0000
2553
+ Served asset /blogit.js - 304 Not Modified (0ms)
2554
+
2555
+
2556
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:21:57 +0000
2557
+ Served asset /application.css - 304 Not Modified (0ms)
2558
+
2559
+
2560
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:57 +0000
2561
+ Served asset /application.js - 304 Not Modified (0ms)
2562
+
2563
+
2564
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:57 +0000
2565
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2566
+
2567
+
2568
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:21:57 +0000
2569
+ Served asset /jquery.js - 304 Not Modified (0ms)
2570
+
2571
+
2572
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:22:06 +0000
2573
+ Processing by Blogit::PostsController#show as HTML
2574
+ Parameters: {"id"=>"1-this-is-a-title"}
2575
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2576
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
2577
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
2578
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2579
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.1ms)
2580
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2581
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.7ms)
2582
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.7ms)
2583
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2584
+ Rendered collection (0.0ms)
2585
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (8.0ms)
2586
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (66.8ms)
2587
+ Completed 500 Internal Server Error in 72ms
2588
+
2589
+ ActionView::Template::Error (undefined method `errors' for nil:NilClass):
2590
+ 13:
2591
+ 14: <%= field do %>
2592
+ 15: <%= f.label :name, "Name *" %><br>
2593
+ 16: <%= f.text_field :name %>
2594
+ 17: <%= errors_on(@comment, :name) %>
2595
+ 18: <% end %>
2596
+ 19:
2597
+
2598
+
2599
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
2600
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
2601
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.0ms)
2602
+
2603
+
2604
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:22:40 +0000
2605
+ Processing by Blogit::PostsController#show as HTML
2606
+ Parameters: {"id"=>"1-this-is-a-title"}
2607
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2608
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
2609
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.6ms)
2610
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2611
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.7ms)
2612
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2613
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (30.5ms)
2614
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (42.5ms)
2615
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2616
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.0ms)
2617
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (1.2ms)
2618
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.2ms)
2619
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (49.6ms)
2620
+ Completed 200 OK in 76ms (Views: 55.0ms | ActiveRecord: 1.2ms)
2621
+
2622
+
2623
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:22:40 +0000
2624
+ Served asset /blogit.css - 304 Not Modified (0ms)
2625
+
2626
+
2627
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:22:40 +0000
2628
+ Served asset /application.css - 304 Not Modified (0ms)
2629
+
2630
+
2631
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:22:40 +0000
2632
+ Served asset /jquery.js - 304 Not Modified (0ms)
2633
+
2634
+
2635
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:22:40 +0000
2636
+ Served asset /blogit.js - 304 Not Modified (0ms)
2637
+
2638
+
2639
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:22:40 +0000
2640
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2641
+
2642
+
2643
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:22:40 +0000
2644
+ Served asset /application.js - 304 Not Modified (0ms)
2645
+
2646
+
2647
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:22:53 +0000
2648
+ Processing by Blogit::PostsController#show as HTML
2649
+ Parameters: {"id"=>"1-this-is-a-title"}
2650
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2651
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
2652
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
2653
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2654
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (7.1ms)
2655
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2656
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.7ms)
2657
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.5ms)
2658
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2659
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (0.7ms)
2660
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.7ms)
2661
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (21.4ms)
2662
+ Completed 200 OK in 78ms (Views: 27.7ms | ActiveRecord: 1.3ms)
2663
+
2664
+
2665
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:22:54 +0000
2666
+ Served asset /blogit.css - 304 Not Modified (0ms)
2667
+
2668
+
2669
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:22:54 +0000
2670
+ Served asset /application.css - 304 Not Modified (0ms)
2671
+
2672
+
2673
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:22:54 +0000
2674
+ Served asset /blogit.js - 304 Not Modified (0ms)
2675
+
2676
+
2677
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:22:54 +0000
2678
+ Served asset /jquery.js - 304 Not Modified (0ms)
2679
+
2680
+
2681
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:22:54 +0000
2682
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2683
+
2684
+
2685
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:22:54 +0000
2686
+ Served asset /application.js - 304 Not Modified (0ms)
2687
+
2688
+
2689
+ Started POST "/blog/posts/1-this-is-a-title/comments" for 127.0.0.1 at 2011-11-29 20:23:09 +0000
2690
+ Processing by Blogit::CommentsController#create as JS
2691
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "comment"=>{"nickname"=>"", "name"=>"Gavin Morrice", "email"=>"gavin@gavinmorrice.com", "website"=>"www.gavinmorrice.com", "body"=>"This is a comment"}, "commit"=>"Add Comment", "post_id"=>"1-this-is-a-title"}
2692
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2693
+ Completed 500 Internal Server Error in 30ms
2694
+
2695
+ NoMethodError (undefined method `comments' for #<Blogit::Comment:0x007fcd32b2bd60>):
2696
+
2697
+
2698
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
2699
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
2700
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.8ms)
2701
+
2702
+
2703
+ Started POST "/blog/posts/1-this-is-a-title/comments" for 127.0.0.1 at 2011-11-29 20:23:11 +0000
2704
+ Processing by Blogit::CommentsController#create as JS
2705
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "comment"=>{"nickname"=>"", "name"=>"Gavin Morrice", "email"=>"gavin@gavinmorrice.com", "website"=>"www.gavinmorrice.com", "body"=>"This is a comment"}, "commit"=>"Add Comment", "post_id"=>"1-this-is-a-title"}
2706
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2707
+ Completed 500 Internal Server Error in 59ms
2708
+
2709
+ NoMethodError (undefined method `comments' for #<Blogit::Comment:0x007fcd32a30320>):
2710
+
2711
+
2712
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
2713
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
2714
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.0ms)
2715
+
2716
+
2717
+ Started POST "/blog/posts/1-this-is-a-title/comments" for 127.0.0.1 at 2011-11-29 20:23:50 +0000
2718
+ Processing by Blogit::CommentsController#create as JS
2719
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "comment"=>{"nickname"=>"", "name"=>"Gavin Morrice", "email"=>"gavin@gavinmorrice.com", "website"=>"www.gavinmorrice.com", "body"=>"This is a comment"}, "commit"=>"Add Comment", "post_id"=>"1-this-is-a-title"}
2720
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2721
+ SQL (0.5ms) INSERT INTO "blog_comments" ("body", "created_at", "email", "name", "post_id", "state", "updated_at", "website") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", "This is a comment"], ["created_at", Tue, 29 Nov 2011 20:23:50 UTC +00:00], ["email", "gavin@gavinmorrice.com"], ["name", "Gavin Morrice"], ["post_id", 1], ["state", nil], ["updated_at", Tue, 29 Nov 2011 20:23:50 UTC +00:00], ["website", "http://www.gavinmorrice.com"]]
2722
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
2723
+ SQL (0.1ms) UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) + 1 WHERE "blog_posts"."id" = 1
2724
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2725
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (7.5ms)
2726
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (9.5ms)
2727
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/create.js.erb (11.2ms)
2728
+ Completed 200 OK in 137ms (Views: 16.1ms | ActiveRecord: 1.7ms)
2729
+
2730
+
2731
+ Started POST "/blog/posts/1-this-is-a-title/comments" for 127.0.0.1 at 2011-11-29 20:23:59 +0000
2732
+ Processing by Blogit::CommentsController#create as JS
2733
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "comment"=>{"nickname"=>"", "name"=>"", "email"=>"", "website"=>"", "body"=>""}, "commit"=>"Add Comment", "post_id"=>"1-this-is-a-title"}
2734
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2735
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.4ms)
2736
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/create.js.erb (5.5ms)
2737
+ Completed 200 OK in 70ms (Views: 10.1ms | ActiveRecord: 0.7ms)
2738
+
2739
+
2740
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:24:28 +0000
2741
+ Processing by Blogit::PostsController#show as HTML
2742
+ Parameters: {"id"=>"1-this-is-a-title"}
2743
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2744
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (85.1ms)
2745
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (3.8ms)
2746
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2747
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (13.4ms)
2748
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2749
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (41.2ms)
2750
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (146.8ms)
2751
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2752
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (34.6ms)
2753
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (36.4ms)
2754
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (200.8ms)
2755
+ Completed 500 Internal Server Error in 310ms
2756
+
2757
+ ActionView::Template::Error (undefined local variable or method `comment' for #<#<Class:0x007fe88ac133e0>:0x007fe88abdbe90>):
2758
+ 1: <%= login_required(class: "actions") do %>
2759
+ 2: <%= link_to("delete", [@post, comment], method: :delete) %>
2760
+ 3: <% end %>
2761
+
2762
+
2763
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
2764
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
2765
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.4ms)
2766
+
2767
+
2768
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:24:59 +0000
2769
+ Processing by Blogit::PostsController#show as HTML
2770
+ Parameters: {"id"=>"1-this-is-a-title"}
2771
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2772
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
2773
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
2774
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2775
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.0ms)
2776
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2777
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.7ms)
2778
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.2ms)
2779
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2780
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (5.9ms)
2781
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (7.2ms)
2782
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.8ms)
2783
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (27.3ms)
2784
+ Completed 200 OK in 83ms (Views: 42.3ms | ActiveRecord: 1.0ms)
2785
+
2786
+
2787
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:24:59 +0000
2788
+ Served asset /blogit.css - 304 Not Modified (0ms)
2789
+
2790
+
2791
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:24:59 +0000
2792
+ Served asset /application.css - 304 Not Modified (0ms)
2793
+
2794
+
2795
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:24:59 +0000
2796
+ Served asset /blogit.js - 304 Not Modified (0ms)
2797
+
2798
+
2799
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:24:59 +0000
2800
+ Served asset /jquery.js - 304 Not Modified (1ms)
2801
+
2802
+
2803
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:24:59 +0000
2804
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
2805
+
2806
+
2807
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:24:59 +0000
2808
+ Served asset /application.js - 304 Not Modified (0ms)
2809
+
2810
+
2811
+ Started DELETE "/blog/posts/1-this-is-a-title/comments" for 127.0.0.1 at 2011-11-29 20:25:03 +0000
2812
+
2813
+ ActionController::RoutingError (No route matches [DELETE] "/blog/posts/1-this-is-a-title/comments"):
2814
+
2815
+
2816
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2817
+
2818
+
2819
+ Started DELETE "/blog/posts/1-this-is-a-title/comments" for 127.0.0.1 at 2011-11-29 20:25:19 +0000
2820
+
2821
+ ActionController::RoutingError (No route matches [DELETE] "/blog/posts/1-this-is-a-title/comments"):
2822
+
2823
+
2824
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
2825
+
2826
+
2827
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:25:21 +0000
2828
+ Processing by Blogit::PostsController#show as HTML
2829
+ Parameters: {"id"=>"1-this-is-a-title"}
2830
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2831
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.5ms)
2832
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
2833
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2834
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (34.1ms)
2835
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2836
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.6ms)
2837
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (42.0ms)
2838
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2839
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.0ms)
2840
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.1ms)
2841
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.0ms)
2842
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (48.1ms)
2843
+ Completed 200 OK in 70ms (Views: 53.3ms | ActiveRecord: 1.1ms)
2844
+
2845
+
2846
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:25:22 +0000
2847
+ Served asset /blogit.css - 304 Not Modified (0ms)
2848
+
2849
+
2850
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:25:22 +0000
2851
+ Served asset /application.css - 304 Not Modified (0ms)
2852
+
2853
+
2854
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:22 +0000
2855
+ Served asset /blogit.js - 304 Not Modified (0ms)
2856
+
2857
+
2858
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:22 +0000
2859
+ Served asset /application.js - 304 Not Modified (0ms)
2860
+
2861
+
2862
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:22 +0000
2863
+ Served asset /jquery.js - 304 Not Modified (0ms)
2864
+
2865
+
2866
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:22 +0000
2867
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2868
+
2869
+
2870
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:25:45 +0000
2871
+ Processing by Blogit::PostsController#show as HTML
2872
+ Parameters: {"id"=>"1-this-is-a-title"}
2873
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2874
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
2875
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
2876
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2877
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.7ms)
2878
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2879
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.4ms)
2880
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.9ms)
2881
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2882
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.0ms)
2883
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.3ms)
2884
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.0ms)
2885
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (23.3ms)
2886
+ Completed 200 OK in 43ms (Views: 28.4ms | ActiveRecord: 1.1ms)
2887
+
2888
+
2889
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:25:46 +0000
2890
+ Served asset /application.css - 304 Not Modified (0ms)
2891
+
2892
+
2893
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:25:46 +0000
2894
+ Served asset /blogit.css - 304 Not Modified (0ms)
2895
+
2896
+
2897
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:46 +0000
2898
+ Served asset /blogit.js - 304 Not Modified (0ms)
2899
+
2900
+
2901
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:46 +0000
2902
+ Served asset /application.js - 304 Not Modified (0ms)
2903
+
2904
+
2905
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:46 +0000
2906
+ Served asset /jquery.js - 304 Not Modified (0ms)
2907
+
2908
+
2909
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:46 +0000
2910
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2911
+
2912
+
2913
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:25:51 +0000
2914
+ Processing by Blogit::PostsController#show as HTML
2915
+ Parameters: {"id"=>"1-this-is-a-title"}
2916
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2917
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.4ms)
2918
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
2919
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2920
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.8ms)
2921
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2922
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.7ms)
2923
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (17.0ms)
2924
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2925
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.1ms)
2926
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.4ms)
2927
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.5ms)
2928
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (23.9ms)
2929
+ Compiled application.js (1ms) (pid 5181)
2930
+ Completed 200 OK in 83ms (Views: 36.8ms | ActiveRecord: 1.2ms)
2931
+
2932
+
2933
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:25:51 +0000
2934
+ Served asset /blogit.css - 304 Not Modified (0ms)
2935
+
2936
+
2937
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:25:51 +0000
2938
+ Served asset /application.css - 304 Not Modified (0ms)
2939
+
2940
+
2941
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:51 +0000
2942
+ Served asset /jquery.js - 304 Not Modified (0ms)
2943
+
2944
+
2945
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:51 +0000
2946
+ Served asset /blogit.js - 304 Not Modified (0ms)
2947
+
2948
+
2949
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:51 +0000
2950
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2951
+
2952
+
2953
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:51 +0000
2954
+ Served asset /application.js - 200 OK (0ms)
2955
+
2956
+
2957
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:25:56 +0000
2958
+ Processing by Blogit::PostsController#show as HTML
2959
+ Parameters: {"id"=>"1-this-is-a-title"}
2960
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
2961
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
2962
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
2963
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2964
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.7ms)
2965
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
2966
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.0ms)
2967
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.6ms)
2968
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
2969
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.3ms)
2970
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (3.0ms)
2971
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.3ms)
2972
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.4ms)
2973
+ Compiled application.js (1ms) (pid 5181)
2974
+ Completed 200 OK in 82ms (Views: 36.7ms | ActiveRecord: 1.1ms)
2975
+
2976
+
2977
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:25:56 +0000
2978
+ Served asset /blogit.css - 304 Not Modified (0ms)
2979
+
2980
+
2981
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:25:56 +0000
2982
+ Served asset /application.css - 304 Not Modified (0ms)
2983
+
2984
+
2985
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:56 +0000
2986
+ Served asset /blogit.js - 304 Not Modified (0ms)
2987
+
2988
+
2989
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:56 +0000
2990
+ Served asset /jquery.js - 304 Not Modified (0ms)
2991
+
2992
+
2993
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:56 +0000
2994
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2995
+
2996
+
2997
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:25:56 +0000
2998
+ Served asset /application.js - 200 OK (0ms)
2999
+
3000
+
3001
+ Started GET "/blog/posts/1-this-is-a-title/edit" for 127.0.0.1 at 2011-11-29 20:26:09 +0000
3002
+ Processing by Blogit::PostsController#edit as HTML
3003
+ Parameters: {"id"=>"1-this-is-a-title"}
3004
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3005
+ 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", "1-this-is-a-title"]]
3006
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (51.7ms)
3007
+ Completed 500 Internal Server Error in 136ms
3008
+
3009
+ ActionView::Template::Error (undefined local variable or method `post' for #<#<Class:0x007fe88e0a06f8>:0x007fe88e09b018>):
3010
+ 1: <h2>Edit Blog Post #<%= post.id %></h2>
3011
+ 2:
3012
+ 3: <%= render 'form' %>
3013
+
3014
+
3015
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
3016
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
3017
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (2.8ms)
3018
+
3019
+
3020
+ Started GET "/blog/posts/1-this-is-a-title/edit" for 127.0.0.1 at 2011-11-29 20:27:44 +0000
3021
+ Processing by Blogit::PostsController#edit as HTML
3022
+ Parameters: {"id"=>"1-this-is-a-title"}
3023
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3024
+ 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", "1-this-is-a-title"]]
3025
+ 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)
3026
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (100.6ms)
3027
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (106.2ms)
3028
+ Completed 500 Internal Server Error in 120ms
3029
+
3030
+ ActionView::Template::Error (undefined local variable or method `post' for #<#<Class:0x007fe88e4e3170>:0x007fe88e4deff8>):
3031
+ 37:
3032
+ 38: <%= actions do %>
3033
+ 39: <%= f.submit %> or
3034
+ 40: <%= link_to("cancel", @post.new_record? ? root_path : post_path(post)) %>
3035
+ 41: <% end %>
3036
+ 42:
3037
+ 43: <% end %>
3038
+
3039
+
3040
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
3041
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
3042
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.6ms)
3043
+
3044
+
3045
+ Started GET "/blog/posts/1-this-is-a-title/edit" for 127.0.0.1 at 2011-11-29 20:28:02 +0000
3046
+ Processing by Blogit::PostsController#edit as HTML
3047
+ Parameters: {"id"=>"1-this-is-a-title"}
3048
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3049
+ 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", "1-this-is-a-title"]]
3050
+ 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)
3051
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (17.4ms)
3052
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (54.0ms)
3053
+ Completed 200 OK in 71ms (Views: 59.5ms | ActiveRecord: 1.0ms)
3054
+
3055
+
3056
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:02 +0000
3057
+ Served asset /blogit.css - 304 Not Modified (0ms)
3058
+
3059
+
3060
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:02 +0000
3061
+ Served asset /application.css - 304 Not Modified (0ms)
3062
+
3063
+
3064
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:02 +0000
3065
+ Served asset /blogit.js - 304 Not Modified (0ms)
3066
+
3067
+
3068
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:02 +0000
3069
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3070
+
3071
+
3072
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:02 +0000
3073
+ Served asset /jquery.js - 304 Not Modified (0ms)
3074
+
3075
+
3076
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:02 +0000
3077
+ Served asset /application.js - 304 Not Modified (0ms)
3078
+
3079
+
3080
+ Started PUT "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:28:05 +0000
3081
+ Processing by Blogit::PostsController#update as HTML
3082
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "post"=>{"title"=>"This is a title", "body"=>"This aosfja osidfj aosdjf aoisdjfa osidjfpas ijdf aposidjfap soidjfp aoisjf", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"1-this-is-a-title"}
3083
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3084
+ 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", "1-this-is-a-title"]]
3085
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (name LIKE 'one' OR name LIKE 'two' OR name LIKE 'three')
3086
+ 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)
3087
+ ActsAsTaggableOn::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."tagger_type" IS NULL AND "taggings"."tagger_id" IS NULL AND "taggings"."context" = 'tags' AND "taggings"."tag_id" IN (NULL)
3088
+ Redirected to http://0.0.0.0:3000/blog/posts/1-this-is-a-title
3089
+ Completed 302 Found in 68ms
3090
+
3091
+
3092
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:28:05 +0000
3093
+ Processing by Blogit::PostsController#show as HTML
3094
+ Parameters: {"id"=>"1-this-is-a-title"}
3095
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
3096
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
3097
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3098
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3099
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.0ms)
3100
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3101
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.6ms)
3102
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.2ms)
3103
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
3104
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.2ms)
3105
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.4ms)
3106
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.2ms)
3107
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (22.0ms)
3108
+ Completed 200 OK in 73ms (Views: 27.1ms | ActiveRecord: 1.0ms)
3109
+
3110
+
3111
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:05 +0000
3112
+ Served asset /blogit.css - 304 Not Modified (0ms)
3113
+
3114
+
3115
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:05 +0000
3116
+ Served asset /application.css - 304 Not Modified (0ms)
3117
+
3118
+
3119
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:05 +0000
3120
+ Served asset /blogit.js - 304 Not Modified (0ms)
3121
+
3122
+
3123
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:05 +0000
3124
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3125
+
3126
+
3127
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:05 +0000
3128
+ Served asset /application.js - 304 Not Modified (0ms)
3129
+
3130
+
3131
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:05 +0000
3132
+ Served asset /jquery.js - 304 Not Modified (0ms)
3133
+
3134
+
3135
+ Started GET "/blog/posts/1-this-is-a-title/edit" for 127.0.0.1 at 2011-11-29 20:28:07 +0000
3136
+ Processing by Blogit::PostsController#edit as HTML
3137
+ Parameters: {"id"=>"1-this-is-a-title"}
3138
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3139
+ 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", "1-this-is-a-title"]]
3140
+ 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)
3141
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (47.3ms)
3142
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (53.0ms)
3143
+ Completed 200 OK in 70ms (Views: 58.7ms | ActiveRecord: 0.9ms)
3144
+
3145
+
3146
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:07 +0000
3147
+ Served asset /blogit.css - 304 Not Modified (0ms)
3148
+
3149
+
3150
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:08 +0000
3151
+ Served asset /application.css - 304 Not Modified (0ms)
3152
+
3153
+
3154
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:08 +0000
3155
+ Served asset /blogit.js - 304 Not Modified (0ms)
3156
+
3157
+
3158
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:08 +0000
3159
+ Served asset /jquery.js - 304 Not Modified (0ms)
3160
+
3161
+
3162
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:08 +0000
3163
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3164
+
3165
+
3166
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:08 +0000
3167
+ Served asset /application.js - 304 Not Modified (0ms)
3168
+
3169
+
3170
+ Started PUT "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:28:12 +0000
3171
+ Processing by Blogit::PostsController#update as HTML
3172
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"C8ax7+KNq7Amx9Qwg3ELcPEbmCe1jOxksQ2b5ckLFgY=", "post"=>{"title"=>"This is a title", "body"=>"This aosfja osidfj aosdjf aoisdjfa osidjfpas ijdf aposidjfap soidjfp greeaoisjf", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"1-this-is-a-title"}
3173
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3174
+ 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", "1-this-is-a-title"]]
3175
+  (0.3ms) UPDATE "blog_posts" SET "body" = 'This aosfja osidfj aosdjf aoisdjfa osidjfpas ijdf aposidjfap soidjfp greeaoisjf', "updated_at" = '2011-11-29 20:28:12.736066' WHERE "blog_posts"."id" = 1
3176
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (name LIKE 'one' OR name LIKE 'two' OR name LIKE 'three')
3177
+ 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)
3178
+ ActsAsTaggableOn::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."tagger_type" IS NULL AND "taggings"."tagger_id" IS NULL AND "taggings"."context" = 'tags' AND "taggings"."tag_id" IN (NULL)
3179
+ Redirected to http://0.0.0.0:3000/blog/posts/1-this-is-a-title
3180
+ Completed 302 Found in 90ms
3181
+
3182
+
3183
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:28:12 +0000
3184
+ Processing by Blogit::PostsController#show as HTML
3185
+ Parameters: {"id"=>"1-this-is-a-title"}
3186
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
3187
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
3188
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3189
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3190
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.1ms)
3191
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3192
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.7ms)
3193
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.3ms)
3194
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
3195
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.0ms)
3196
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.3ms)
3197
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.1ms)
3198
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (21.7ms)
3199
+ Completed 200 OK in 76ms (Views: 27.0ms | ActiveRecord: 1.1ms)
3200
+
3201
+
3202
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:12 +0000
3203
+ Served asset /blogit.css - 304 Not Modified (0ms)
3204
+
3205
+
3206
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:12 +0000
3207
+ Served asset /application.css - 304 Not Modified (0ms)
3208
+
3209
+
3210
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:12 +0000
3211
+ Served asset /blogit.js - 304 Not Modified (0ms)
3212
+
3213
+
3214
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:12 +0000
3215
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3216
+
3217
+
3218
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:12 +0000
3219
+ Served asset /application.js - 304 Not Modified (0ms)
3220
+
3221
+
3222
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:13 +0000
3223
+ Served asset /jquery.js - 304 Not Modified (0ms)
3224
+
3225
+
3226
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-29 20:28:16 +0000
3227
+ Processing by Blogit::PostsController#index as HTML
3228
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3229
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
3230
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3231
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
3232
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3233
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
3234
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3235
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.1ms)
3236
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (0.9ms)
3237
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.1ms)
3238
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
3239
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.7ms)
3240
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (29.2ms)
3241
+ Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.9ms)
3242
+
3243
+
3244
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:16 +0000
3245
+ Served asset /blogit.css - 304 Not Modified (0ms)
3246
+
3247
+
3248
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:16 +0000
3249
+ Served asset /application.css - 304 Not Modified (0ms)
3250
+
3251
+
3252
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:16 +0000
3253
+ Served asset /blogit.js - 304 Not Modified (0ms)
3254
+
3255
+
3256
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:16 +0000
3257
+ Served asset /application.js - 304 Not Modified (0ms)
3258
+
3259
+
3260
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:16 +0000
3261
+ Served asset /jquery.js - 304 Not Modified (0ms)
3262
+
3263
+
3264
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:16 +0000
3265
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3266
+
3267
+
3268
+ Started GET "/blog/posts/1-this-is-a-title" for 127.0.0.1 at 2011-11-29 20:28:19 +0000
3269
+ Processing by Blogit::PostsController#show as HTML
3270
+ Parameters: {"id"=>"1-this-is-a-title"}
3271
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-this-is-a-title"]]
3272
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
3273
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3274
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3275
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (8.2ms)
3276
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3277
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.7ms)
3278
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.5ms)
3279
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
3280
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.0ms)
3281
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.2ms)
3282
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.1ms)
3283
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (21.7ms)
3284
+ Completed 200 OK in 73ms (Views: 26.8ms | ActiveRecord: 1.0ms)
3285
+
3286
+
3287
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:19 +0000
3288
+ Served asset /blogit.css - 304 Not Modified (0ms)
3289
+
3290
+
3291
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:19 +0000
3292
+ Served asset /application.css - 304 Not Modified (0ms)
3293
+
3294
+
3295
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:19 +0000
3296
+ Served asset /blogit.js - 304 Not Modified (0ms)
3297
+
3298
+
3299
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:19 +0000
3300
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3301
+
3302
+
3303
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:19 +0000
3304
+ Served asset /application.js - 304 Not Modified (0ms)
3305
+
3306
+
3307
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:19 +0000
3308
+ Served asset /jquery.js - 304 Not Modified (0ms)
3309
+
3310
+
3311
+ Started GET "/" for 127.0.0.1 at 2011-11-29 20:28:24 +0000
3312
+ Processing by Blogit::PostsController#index as HTML
3313
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3314
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count 
3315
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3316
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.4ms)
3317
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3318
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.4ms)
3319
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3320
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.9ms)
3321
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (0.7ms)
3322
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.4ms)
3323
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
3324
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.7ms)
3325
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (26.7ms)
3326
+ Completed 200 OK in 33ms (Views: 31.5ms | ActiveRecord: 1.0ms)
3327
+
3328
+
3329
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:24 +0000
3330
+ Served asset /blogit.css - 304 Not Modified (0ms)
3331
+
3332
+
3333
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:24 +0000
3334
+ Served asset /application.css - 304 Not Modified (0ms)
3335
+
3336
+
3337
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:24 +0000
3338
+ Served asset /blogit.js - 304 Not Modified (0ms)
3339
+
3340
+
3341
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:24 +0000
3342
+ Served asset /jquery.js - 304 Not Modified (0ms)
3343
+
3344
+
3345
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:24 +0000
3346
+ Served asset /application.js - 304 Not Modified (0ms)
3347
+
3348
+
3349
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:24 +0000
3350
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3351
+
3352
+
3353
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-29 20:28:29 +0000
3354
+ Processing by Blogit::PostsController#index as HTML
3355
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3356
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
3357
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3358
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
3359
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3360
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.0ms)
3361
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3362
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.2ms)
3363
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (0.7ms)
3364
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (48.1ms)
3365
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
3366
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.8ms)
3367
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (59.1ms)
3368
+ Completed 200 OK in 65ms (Views: 63.8ms | ActiveRecord: 0.8ms)
3369
+
3370
+
3371
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:29 +0000
3372
+ Served asset /blogit.css - 304 Not Modified (0ms)
3373
+
3374
+
3375
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:29 +0000
3376
+ Served asset /application.css - 304 Not Modified (0ms)
3377
+
3378
+
3379
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:29 +0000
3380
+ Served asset /blogit.js - 304 Not Modified (0ms)
3381
+
3382
+
3383
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:29 +0000
3384
+ Served asset /jquery.js - 304 Not Modified (0ms)
3385
+
3386
+
3387
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:29 +0000
3388
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3389
+
3390
+
3391
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:29 +0000
3392
+ Served asset /application.js - 304 Not Modified (0ms)
3393
+
3394
+
3395
+ Started GET "/blog?tag=title" for 127.0.0.1 at 2011-11-29 20:28:39 +0000
3396
+ Processing by Blogit::PostsController#index as HTML
3397
+ Parameters: {"tag"=>"title"}
3398
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3399
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count 
3400
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3401
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
3402
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3403
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.1ms)
3404
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3405
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.0ms)
3406
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (0.6ms)
3407
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (14.9ms)
3408
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
3409
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.7ms)
3410
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (26.5ms)
3411
+ Completed 200 OK in 32ms (Views: 31.0ms | ActiveRecord: 0.9ms)
3412
+
3413
+
3414
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:39 +0000
3415
+ Served asset /blogit.css - 304 Not Modified (0ms)
3416
+
3417
+
3418
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:39 +0000
3419
+ Served asset /application.css - 304 Not Modified (0ms)
3420
+
3421
+
3422
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:39 +0000
3423
+ Served asset /blogit.js - 304 Not Modified (0ms)
3424
+
3425
+
3426
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:39 +0000
3427
+ Served asset /jquery.js - 304 Not Modified (0ms)
3428
+
3429
+
3430
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:39 +0000
3431
+ Served asset /application.js - 304 Not Modified (0ms)
3432
+
3433
+
3434
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:39 +0000
3435
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3436
+
3437
+
3438
+ Started GET "/blog?tag=geen" for 127.0.0.1 at 2011-11-29 20:28:42 +0000
3439
+ Processing by Blogit::PostsController#index as HTML
3440
+ Parameters: {"tag"=>"geen"}
3441
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3442
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
3443
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3444
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
3445
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3446
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.0ms)
3447
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3448
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.0ms)
3449
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (0.6ms)
3450
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.2ms)
3451
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
3452
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.8ms)
3453
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (27.6ms)
3454
+ Completed 200 OK in 34ms (Views: 32.4ms | ActiveRecord: 0.9ms)
3455
+
3456
+
3457
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:42 +0000
3458
+ Served asset /blogit.css - 304 Not Modified (0ms)
3459
+
3460
+
3461
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:28:42 +0000
3462
+ Served asset /application.css - 304 Not Modified (0ms)
3463
+
3464
+
3465
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:42 +0000
3466
+ Served asset /blogit.js - 304 Not Modified (0ms)
3467
+
3468
+
3469
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:42 +0000
3470
+ Served asset /application.js - 304 Not Modified (0ms)
3471
+
3472
+
3473
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:42 +0000
3474
+ Served asset /jquery.js - 304 Not Modified (0ms)
3475
+
3476
+
3477
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:28:42 +0000
3478
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3479
+
3480
+
3481
+ Started GET "/blog/tagged/one" for 127.0.0.1 at 2011-11-29 20:28:51 +0000
3482
+
3483
+ ActionController::RoutingError (No route matches [GET] "/blog/tagged/one"):
3484
+
3485
+
3486
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
3487
+
3488
+
3489
+ Started GET "/blog/posts/tagged/one" for 127.0.0.1 at 2011-11-29 20:29:02 +0000
3490
+ Processing by Blogit::PostsController#tagged as HTML
3491
+ Parameters: {"tag"=>"one"}
3492
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (name LIKE 'one')
3493
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3494
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" JOIN taggings posts_taggings_one_11 ON posts_taggings_one_11.taggable_id = blog_posts.id AND posts_taggings_one_11.taggable_type = 'Blogit::Post' AND posts_taggings_one_11.tag_id = 1 LIMIT 25 OFFSET 0) subquery_for_count
3495
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" JOIN taggings posts_taggings_one_11 ON posts_taggings_one_11.taggable_id = blog_posts.id AND posts_taggings_one_11.taggable_type = 'Blogit::Post' AND posts_taggings_one_11.tag_id = 1 ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3496
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
3497
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3498
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.1ms)
3499
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3500
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.8ms)
3501
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (0.6ms)
3502
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (14.9ms)
3503
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" JOIN taggings posts_taggings_one_11 ON posts_taggings_one_11.taggable_id = blog_posts.id AND posts_taggings_one_11.taggable_type = 'Blogit::Post' AND posts_taggings_one_11.tag_id = 1
3504
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.0ms)
3505
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (62.2ms)
3506
+ Completed 200 OK in 70ms (Views: 67.3ms | ActiveRecord: 1.1ms)
3507
+
3508
+
3509
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:29:02 +0000
3510
+ Served asset /blogit.css - 304 Not Modified (0ms)
3511
+
3512
+
3513
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:29:02 +0000
3514
+ Served asset /application.css - 304 Not Modified (0ms)
3515
+
3516
+
3517
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:02 +0000
3518
+ Served asset /blogit.js - 304 Not Modified (0ms)
3519
+
3520
+
3521
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:02 +0000
3522
+ Served asset /jquery.js - 304 Not Modified (0ms)
3523
+
3524
+
3525
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:02 +0000
3526
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3527
+
3528
+
3529
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:02 +0000
3530
+ Served asset /application.js - 304 Not Modified (0ms)
3531
+
3532
+
3533
+ Started GET "/blog/posts/tagged/aosdijfaosijfdoasijdf" for 127.0.0.1 at 2011-11-29 20:29:06 +0000
3534
+ Processing by Blogit::PostsController#tagged as HTML
3535
+ Parameters: {"tag"=>"aosdijfaosijfdoasijdf"}
3536
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (name LIKE 'aosdijfaosijfdoasijdf')
3537
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3538
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" WHERE (1 = 0) LIMIT 25 OFFSET 0) subquery_for_count
3539
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.3ms)
3540
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" WHERE (1 = 0)
3541
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.8ms)
3542
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (11.1ms)
3543
+ Completed 200 OK in 19ms (Views: 16.5ms | ActiveRecord: 0.7ms)
3544
+
3545
+
3546
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:29:06 +0000
3547
+ Served asset /blogit.css - 304 Not Modified (0ms)
3548
+
3549
+
3550
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:29:06 +0000
3551
+ Served asset /application.css - 304 Not Modified (0ms)
3552
+
3553
+
3554
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:06 +0000
3555
+ Served asset /blogit.js - 304 Not Modified (0ms)
3556
+
3557
+
3558
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:06 +0000
3559
+ Served asset /application.js - 304 Not Modified (0ms)
3560
+
3561
+
3562
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:06 +0000
3563
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3564
+
3565
+
3566
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:06 +0000
3567
+ Served asset /jquery.js - 304 Not Modified (0ms)
3568
+
3569
+
3570
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-29 20:29:32 +0000
3571
+ Processing by Blogit::PostsController#index as HTML
3572
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3573
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count 
3574
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3575
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms)
3576
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3577
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.0ms)
3578
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3579
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.1ms)
3580
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (0.6ms)
3581
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (14.8ms)
3582
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
3583
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.9ms)
3584
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (25.9ms)
3585
+ Completed 200 OK in 32ms (Views: 30.6ms | ActiveRecord: 0.8ms)
3586
+
3587
+
3588
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:29:32 +0000
3589
+ Served asset /blogit.css - 304 Not Modified (0ms)
3590
+
3591
+
3592
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:29:32 +0000
3593
+ Served asset /application.css - 304 Not Modified (0ms)
3594
+
3595
+
3596
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:32 +0000
3597
+ Served asset /blogit.js - 304 Not Modified (0ms)
3598
+
3599
+
3600
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:32 +0000
3601
+ Served asset /jquery.js - 304 Not Modified (0ms)
3602
+
3603
+
3604
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:32 +0000
3605
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3606
+
3607
+
3608
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:32 +0000
3609
+ Served asset /application.js - 304 Not Modified (0ms)
3610
+
3611
+
3612
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-29 20:29:46 +0000
3613
+ Processing by Blogit::PostsController#index as HTML
3614
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3615
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count
3616
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3617
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
3618
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3619
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
3620
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (45.2ms)
3621
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (54.2ms)
3622
+ Completed 500 Internal Server Error in 58ms
3623
+
3624
+ ActionView::Template::Error (No route matches {:action=>"edit", :controller=>"blogit/posts"}):
3625
+ 1: <%= login_required do %>
3626
+ 2: <%= actions do %>
3627
+ 3: <%= link_to("edit", edit_post_path(@post)) %> | <%= link_to("delete", @post, method: :destroy, confirm: "Are you sure you want to remove this post?") %>
3628
+ 4: <% end %>
3629
+ 5: <% end unless blogit_conf.author_edits_only and not this_blogger?(@post) %>
3630
+
3631
+
3632
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
3633
+
3634
+
3635
+ Started GET "/blog/" for 127.0.0.1 at 2011-11-29 20:29:57 +0000
3636
+ Processing by Blogit::PostsController#index as HTML
3637
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3638
+  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 25 OFFSET 0) subquery_for_count 
3639
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY updated_at DESC LIMIT 25 OFFSET 0
3640
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
3641
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
3642
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
3643
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
3644
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (4.2ms)
3645
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_comments_count.html.erb (0.7ms)
3646
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (17.1ms)
3647
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
3648
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (1.9ms)
3649
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (29.3ms)
3650
+ Completed 200 OK in 72ms (Views: 70.4ms | ActiveRecord: 1.0ms)
3651
+
3652
+
3653
+ Started GET "/assets/blogit.css?body=1" for 127.0.0.1 at 2011-11-29 20:29:57 +0000
3654
+ Served asset /blogit.css - 304 Not Modified (0ms)
3655
+
3656
+
3657
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-29 20:29:57 +0000
3658
+ Served asset /application.css - 304 Not Modified (0ms)
3659
+
3660
+
3661
+ Started GET "/assets/blogit.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:57 +0000
3662
+ Served asset /blogit.js - 304 Not Modified (0ms)
3663
+
3664
+
3665
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:57 +0000
3666
+ Served asset /jquery.js - 304 Not Modified (0ms)
3667
+
3668
+
3669
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:57 +0000
3670
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3671
+
3672
+
3673
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-29 20:29:57 +0000
3674
+ Served asset /application.js - 304 Not Modified (0ms)