blogit 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +12 -0
- data/app/assets/stylesheets/blogit/pygments.css +69 -0
- data/app/helpers/blogit/application_helper.rb +1 -18
- data/app/models/blogit/post.rb +6 -0
- data/app/views/blogit/comments/_comment.html.erb +4 -2
- data/app/views/blogit/posts/_blogger_information.html.erb +1 -1
- data/app/views/blogit/posts/index.rss.builder +2 -2
- data/config/locales/en.yml +1 -1
- data/config/locales/fr.yml +1 -1
- data/lib/blogit/parsers/markdown_parser.rb +30 -9
- data/lib/blogit/version.rb +1 -1
- data/lib/generators/blogit/views_generator.rb +19 -0
- data/spec/controllers/blogit/posts_controller_spec.rb +16 -10
- data/spec/dummy/app/assets/stylesheets/application.css +4 -1
- data/spec/dummy/app/views/layouts/application.html.erb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1938 -0
- data/spec/dummy/log/test.log +6436 -0
- data/spec/dummy/tmp/cache/assets/CAA/340/sprockets%2Fa9991211287db8645603e5ba17008bbe +0 -0
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D35/E90/sprockets%2F9542f66fea1d10b7924f3b6b31e1e2e0 +0 -0
- data/spec/dummy/tmp/cache/assets/D3D/D30/sprockets%2Ff1ebd04d570b12945debea975941815b +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/D67/C10/sprockets%2Fa58c567f1eae28b401a6e9a0b3b71d93 +0 -0
- data/spec/dummy/tmp/cache/assets/D74/A60/sprockets%2F2add607cdb6c0b17fd866aac28895485 +0 -0
- data/spec/dummy/tmp/cache/assets/D78/4E0/sprockets%2F3d4e761a135f6b6e50b24defce90f798 +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/lib/blogit/parsers/markdown_parser_spec.rb +36 -8
- data/spec/models/blogit/post_spec.rb +21 -0
- metadata +20 -6
- data/spec/dummy/app/views/blogit/posts/_post_footer.html.erb +0 -1
data/README.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/blogit.png)](http://badge.fury.io/rb/blogit)
|
2
|
+
[![Code Climate](https://codeclimate.com/github/KatanaCode/blogit.png)](http://codeclimate.com/github/KatanaCode/blogit/)
|
3
|
+
[![Blogit](https://gemnasium.com/KatanaCode/blogit.png)](https://gemnasium.com/KatanaCode/blogit)
|
4
|
+
|
5
|
+
|
1
6
|
# Blogit (beta)
|
2
7
|
|
3
8
|
Blogit is a flexible blogging solution for Rails apps. It:
|
@@ -33,6 +38,8 @@ then add the following to your routes.rb file:
|
|
33
38
|
mount Blogit::Engine => "/blog"
|
34
39
|
```
|
35
40
|
|
41
|
+
Define `ApplicationController#current_user` and `ApplicationController#login_required` methods if your app doesn't already have these.
|
42
|
+
|
36
43
|
... and finally, declare which of your models acts as blogger in your app (usually User).
|
37
44
|
|
38
45
|
``` ruby
|
@@ -59,6 +66,11 @@ we'll also throw in:
|
|
59
66
|
* Internationalization (see the [locales file](config/locales/en.yml) for configurable options)
|
60
67
|
* Share links (Google+, Twitter & Facebook)
|
61
68
|
* [Disquss Comments](http://disqus.com)
|
69
|
+
* Code Syntax Highlighting CSS file (add `*= require pygments` to your app's stylesheet)
|
70
|
+
|
71
|
+
## Rails 4
|
72
|
+
|
73
|
+
@grncdr Has contributed changes for Rails 4 compatibility. Check out the rails 4 branch for more info. NOTE - This code hasn't been tested yet and may contain bugs.
|
62
74
|
|
63
75
|
## Issues
|
64
76
|
|
@@ -0,0 +1,69 @@
|
|
1
|
+
.highlight pre{
|
2
|
+
border-top: 1px solid #EEE;
|
3
|
+
border-bottom: 1px solid #EEE;
|
4
|
+
background-color: #FAFAFA;
|
5
|
+
padding: 0.5em;
|
6
|
+
overflow-y: hidden;
|
7
|
+
overflow-x: auto;
|
8
|
+
}
|
9
|
+
.highlight pre .hll { background-color: #ffffcc }
|
10
|
+
.highlight pre .c { color: #60a0b0; font-style: italic } /* Comment */
|
11
|
+
.highlight pre .err { border: 1px solid #FF0000 } /* Error */
|
12
|
+
.highlight pre .k { color: #007020; font-weight: bold } /* Keyword */
|
13
|
+
.highlight pre .o { color: #666666 } /* Operator */
|
14
|
+
.highlight pre .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
|
15
|
+
.highlight pre .cp { color: #007020 } /* Comment.Preproc */
|
16
|
+
.highlight pre .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
|
17
|
+
.highlight pre .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
|
18
|
+
.highlight pre .gd { color: #A00000 } /* Generic.Deleted */
|
19
|
+
.highlight pre .ge { font-style: italic } /* Generic.Emph */
|
20
|
+
.highlight pre .gr { color: #FF0000 } /* Generic.Error */
|
21
|
+
.highlight pre .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
22
|
+
.highlight pre .gi { color: #00A000 } /* Generic.Inserted */
|
23
|
+
.highlight pre .go { color: #808080 } /* Generic.Output */
|
24
|
+
.highlight pre .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
|
25
|
+
.highlight pre .gs { font-weight: bold } /* Generic.Strong */
|
26
|
+
.highlight pre .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
27
|
+
.highlight pre .gt { color: #0040D0 } /* Generic.Traceback */
|
28
|
+
.highlight pre .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
|
29
|
+
.highlight pre .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
|
30
|
+
.highlight pre .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
|
31
|
+
.highlight pre .kp { color: #007020 } /* Keyword.Pseudo */
|
32
|
+
.highlight pre .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
|
33
|
+
.highlight pre .kt { color: #902000 } /* Keyword.Type */
|
34
|
+
.highlight pre .m { color: #40a070 } /* Literal.Number */
|
35
|
+
.highlight pre .s { color: #4070a0 } /* Literal.String */
|
36
|
+
.highlight pre .na { color: #4070a0 } /* Name.Attribute */
|
37
|
+
.highlight pre .nb { color: #007020 } /* Name.Builtin */
|
38
|
+
.highlight pre .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
|
39
|
+
.highlight pre .no { color: #60add5 } /* Name.Constant */
|
40
|
+
.highlight pre .nd { color: #555555; font-weight: bold } /* Name.Decorator */
|
41
|
+
.highlight pre .ni { color: #d55537; font-weight: bold } /* Name.Entity */
|
42
|
+
.highlight pre .ne { color: #007020 } /* Name.Exception */
|
43
|
+
.highlight pre .nf { color: #06287e } /* Name.Function */
|
44
|
+
.highlight pre .nl { color: #002070; font-weight: bold } /* Name.Label */
|
45
|
+
.highlight pre .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
|
46
|
+
.highlight pre .nt { color: #062873; font-weight: bold } /* Name.Tag */
|
47
|
+
.highlight pre .nv { color: #bb60d5 } /* Name.Variable */
|
48
|
+
.highlight pre .ow { color: #007020; font-weight: bold } /* Operator.Word */
|
49
|
+
.highlight pre .w { color: #bbbbbb } /* Text.Whitespace */
|
50
|
+
.highlight pre .mf { color: #40a070 } /* Literal.Number.Float */
|
51
|
+
.highlight pre .mh { color: #40a070 } /* Literal.Number.Hex */
|
52
|
+
.highlight pre .mi { color: #40a070 } /* Literal.Number.Integer */
|
53
|
+
.highlight pre .mo { color: #40a070 } /* Literal.Number.Oct */
|
54
|
+
.highlight pre .sb { color: #4070a0 } /* Literal.String.Backtick */
|
55
|
+
.highlight pre .sc { color: #4070a0 } /* Literal.String.Char */
|
56
|
+
.highlight pre .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
|
57
|
+
.highlight pre .s2 { color: #4070a0 } /* Literal.String.Double */
|
58
|
+
.highlight pre .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
|
59
|
+
.highlight pre .sh { color: #4070a0 } /* Literal.String.Heredoc */
|
60
|
+
.highlight pre .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
|
61
|
+
.highlight pre .sx { color: #c65d09 } /* Literal.String.Other */
|
62
|
+
.highlight pre .sr { color: #235388 } /* Literal.String.Regex */
|
63
|
+
.highlight pre .s1 { color: #4070a0 } /* Literal.String.Single */
|
64
|
+
.highlight pre .ss { color: #517918 } /* Literal.String.Symbol */
|
65
|
+
.highlight pre .bp { color: #007020 } /* Name.Builtin.Pseudo */
|
66
|
+
.highlight pre .vc { color: #bb60d5 } /* Name.Variable.Class */
|
67
|
+
.highlight pre .vg { color: #bb60d5 } /* Name.Variable.Global */
|
68
|
+
.highlight pre .vi { color: #bb60d5 } /* Name.Variable.Instance */
|
69
|
+
.highlight pre .il { color: #40a070 } /* Literal.Number.Integer.Long */
|
@@ -57,24 +57,6 @@ module Blogit
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
# Returns an HTML 5 time tag
|
61
|
-
# @param time_object Any Time or DateTime object
|
62
|
-
# @param format [String, Symbol] If passed a string will treat as a strftime format.
|
63
|
-
# If passed a symbol will treat as pre-set datetime format.
|
64
|
-
def time_tag(time_object, format = nil, options ={})
|
65
|
-
# if there's a specified format and it's a string, assume it's an strftime string
|
66
|
-
if format && format.is_a?(String)
|
67
|
-
time_string = time_object.strftime(format)
|
68
|
-
# if there's a specified format and it's a symbol, assume it's a predefined format
|
69
|
-
elsif format && format.is_a?(Symbol)
|
70
|
-
time_string = I18n.localize(time_object, format: format)
|
71
|
-
else
|
72
|
-
time_string = time_object.to_s
|
73
|
-
end
|
74
|
-
options.merge(datetime: time_object.strftime(TIMETAG_FORMAT))
|
75
|
-
content_tag(:time, time_string, options)
|
76
|
-
end
|
77
|
-
|
78
60
|
# Can search for named routes directly in the main app, omitting
|
79
61
|
# the "main_app." prefix
|
80
62
|
def method_missing method, *args, &block
|
@@ -84,6 +66,7 @@ module Blogit
|
|
84
66
|
super
|
85
67
|
end
|
86
68
|
end
|
69
|
+
|
87
70
|
def respond_to?(method)
|
88
71
|
main_app_url_helper?(method) or super
|
89
72
|
end
|
data/app/models/blogit/post.rb
CHANGED
@@ -4,6 +4,8 @@ module Blogit
|
|
4
4
|
require "acts-as-taggable-on"
|
5
5
|
require "kaminari"
|
6
6
|
|
7
|
+
include ::ActionView::Helpers::TextHelper
|
8
|
+
|
7
9
|
acts_as_taggable
|
8
10
|
|
9
11
|
self.table_name = "blog_posts"
|
@@ -15,6 +17,10 @@ module Blogit
|
|
15
17
|
# ==============
|
16
18
|
attr_accessible :title, :body, :tag_list, :blogger_type, :blogger_id
|
17
19
|
|
20
|
+
def short_body
|
21
|
+
truncate(body, length: 400, separator: "\n")
|
22
|
+
end
|
23
|
+
|
18
24
|
# ===============
|
19
25
|
# = Validations =
|
20
26
|
# ===============
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<%= content_tag(:article, id: "blog_comment_#{comment.id}", class: "blog_comment") do %>
|
2
2
|
<%= content_tag(:div, class: "blog_comment_name", id: "blog_comment_#{comment.id}_name") do %>
|
3
|
-
<%=
|
3
|
+
<%= comment.website? ? link_to(comment.name, comment.website) : comment.name %>
|
4
|
+
<%= t('blogit.comments.wrote') %>
|
4
5
|
<% end %>
|
5
6
|
|
6
7
|
|
@@ -10,7 +11,8 @@
|
|
10
11
|
<% end %>
|
11
12
|
|
12
13
|
<%= blog_tag(:footer, type: "comment") do %>
|
13
|
-
<%=t :posted_on, scope: 'blogit.comments'%>
|
14
|
+
<%=t :posted_on, scope: 'blogit.comments'%>
|
15
|
+
<%= time_tag(comment.created_at, format: blogit_conf.datetime_format) %>
|
14
16
|
<% end %>
|
15
17
|
|
16
18
|
<%= render partial: "blogit/comments/admin_links", locals: {comment: comment} %>
|
@@ -13,12 +13,12 @@ xml.rss "version" => "2.0", "xmlns:dc" => "htt://purl.org/dc/elements/1.1/" do
|
|
13
13
|
xml.lastBuildDate CGI.rfc1123_date @posts.first.try(:updated_at)
|
14
14
|
|
15
15
|
xml.language I18n.locale
|
16
|
-
|
16
|
+
|
17
17
|
@posts.each do |post|
|
18
18
|
|
19
19
|
xml.item do
|
20
20
|
xml.title post.title
|
21
|
-
xml.description format_content(
|
21
|
+
xml.description format_content(post.short_body).html_safe
|
22
22
|
xml.link post_url(post)
|
23
23
|
xml.pubDate CGI.rfc1123_date(post.updated_at)
|
24
24
|
xml.guid post_url(post)
|
data/config/locales/en.yml
CHANGED
@@ -8,7 +8,7 @@ en:
|
|
8
8
|
your_comment: "Your comment *"
|
9
9
|
add_comment: "Add Comment"
|
10
10
|
adding_comment: "Adding Comment..."
|
11
|
-
wrote: "
|
11
|
+
wrote: "wrote:"
|
12
12
|
posted_on: "Posted on"
|
13
13
|
delete: "delete"
|
14
14
|
are_you_sure_you_want_to_remove_this_comment: "Are you sure you want to remove this comment?"
|
data/config/locales/fr.yml
CHANGED
@@ -8,7 +8,7 @@ fr:
|
|
8
8
|
your_comment: "Votre commentaire *"
|
9
9
|
add_comment: "Ajouter un commentaire"
|
10
10
|
adding_comment: "Ajout de commentaire ..."
|
11
|
-
wrote: "
|
11
|
+
wrote: "a écrit:"
|
12
12
|
posted_on: "Publié le "
|
13
13
|
delete: "effacer"
|
14
14
|
are_you_sure_you_want_to_remove_this_comment: "Etes vous certain de vouloir supprimer ce commentaire?"
|
@@ -3,26 +3,47 @@ class Blogit::Parsers::MarkdownParser
|
|
3
3
|
require "nokogiri"
|
4
4
|
require "albino"
|
5
5
|
require "blogit/renderers"
|
6
|
-
|
6
|
+
|
7
7
|
def initialize(content)
|
8
8
|
@content = content
|
9
9
|
end
|
10
10
|
|
11
11
|
def parsed
|
12
|
+
ensure_pygments_is_installed if Blogit::configuration.highlight_code_syntax
|
13
|
+
|
12
14
|
renderer = Blogit::configuration.highlight_code_syntax ? Redcarpet::Render::HTMLWithAlbino : Redcarpet::Render::HTML
|
13
15
|
markdown = Redcarpet::Markdown.new(renderer, Blogit.configuration.redcarpet_options)
|
14
16
|
html_content = markdown.render(@content).html_safe
|
15
17
|
end
|
16
18
|
|
17
19
|
private
|
20
|
+
|
21
|
+
def ensure_pygments_is_installed
|
22
|
+
warning = <<-WARNING
|
23
|
+
[blogit] The pygmentize command could not be found in your load path!
|
24
|
+
Please either do one of the following:
|
18
25
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
26
|
+
$ sudo easy_install Pygments # to install it
|
27
|
+
|
28
|
+
or
|
29
|
+
|
30
|
+
set config.highlight_code_syntax to false in your blogit.rb config file.
|
31
|
+
|
32
|
+
WARNING
|
33
|
+
raise warning unless which(:pygmentize)
|
34
|
+
end
|
35
|
+
|
36
|
+
# Check if an executable exists in the load path
|
37
|
+
# Returns nil if no executable is found
|
38
|
+
def which(cmd)
|
39
|
+
exts = ENV['PATHEXT'] ? ENV['PATHEXT'].split(';') : ['']
|
40
|
+
ENV['PATH'].split(File::PATH_SEPARATOR).each do |path|
|
41
|
+
exts.each do |ext|
|
42
|
+
exe = File.join(path, "#{cmd}#{ext}")
|
43
|
+
return exe if File.executable? exe
|
44
|
+
end
|
24
45
|
end
|
25
|
-
|
26
|
-
end
|
27
|
-
|
46
|
+
return nil
|
47
|
+
end
|
48
|
+
|
28
49
|
end
|
data/lib/blogit/version.rb
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
module Blogit
|
2
|
+
module Generators
|
3
|
+
|
4
|
+
class ViewsGenerator < Rails::Generators::Base
|
5
|
+
desc "Copies Blogit views to your application."
|
6
|
+
|
7
|
+
include Thor::Actions
|
8
|
+
|
9
|
+
source_root File.expand_path('../../../../app/views', __FILE__)
|
10
|
+
|
11
|
+
# Copy all of the views from the blogit/app/views/blogit to
|
12
|
+
# app/views/blogit
|
13
|
+
def copy_views
|
14
|
+
directory 'blogit', 'app/views/blogit'
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -110,17 +110,19 @@ describe PostsController do
|
|
110
110
|
@current_blogger.expects(:blog_posts).returns(@blog_posts)
|
111
111
|
@blog_posts.expects(:new).with(post_attributes.stringify_keys).returns(blog_post)
|
112
112
|
blog_post.expects(:save).returns(true)
|
113
|
+
@pingr = mock()
|
114
|
+
@pingr.stub_everything()
|
113
115
|
end
|
114
116
|
|
115
117
|
it "should redirect to the blog post page" do
|
116
118
|
do_post
|
117
119
|
response.should redirect_to(controller.posts_url)
|
118
120
|
end
|
119
|
-
|
121
|
+
|
120
122
|
it "should ping all search engines in ping_search_engines config if array" do
|
121
123
|
Blogit.configuration.ping_search_engines = search_engines = [:google]
|
122
124
|
search_engines.each do |search_engine|
|
123
|
-
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml))
|
125
|
+
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml)).returns(@pingr)
|
124
126
|
end
|
125
127
|
do_post
|
126
128
|
end
|
@@ -128,7 +130,7 @@ describe PostsController do
|
|
128
130
|
it "should ping all search engines in Pingr::SUPPORTED_SEARCH_ENGINES if config is true" do
|
129
131
|
Blogit.configuration.ping_search_engines = true
|
130
132
|
Pingr::SUPPORTED_SEARCH_ENGINES.each do |search_engine|
|
131
|
-
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml))
|
133
|
+
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml)).returns(@pingr)
|
132
134
|
end
|
133
135
|
do_post
|
134
136
|
end
|
@@ -195,6 +197,8 @@ describe PostsController do
|
|
195
197
|
mock_login
|
196
198
|
@current_blogger.expects(:blog_posts).returns(@blog_posts = [])
|
197
199
|
@blog_posts.expects(:find).with("1").returns(blog_post)
|
200
|
+
@pingr = mock()
|
201
|
+
@pingr.stub_everything()
|
198
202
|
end
|
199
203
|
|
200
204
|
def do_put
|
@@ -215,11 +219,11 @@ describe PostsController do
|
|
215
219
|
do_put
|
216
220
|
flash[:notice].should be_present
|
217
221
|
end
|
218
|
-
|
222
|
+
|
219
223
|
it "should ping all search engines in ping_search_engines config if array" do
|
220
224
|
Blogit.configuration.ping_search_engines = search_engines = [:google, :bing]
|
221
225
|
search_engines.each do |search_engine|
|
222
|
-
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml))
|
226
|
+
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml)).returns(@pingr)
|
223
227
|
end
|
224
228
|
do_put
|
225
229
|
end
|
@@ -227,7 +231,7 @@ describe PostsController do
|
|
227
231
|
it "should ping all search engines in Pingr::SUPPORTED_SEARCH_ENGINES if config is true" do
|
228
232
|
Blogit.configuration.ping_search_engines = true
|
229
233
|
Pingr::SUPPORTED_SEARCH_ENGINES.each do |search_engine|
|
230
|
-
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml))
|
234
|
+
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml)).returns(@pingr)
|
231
235
|
end
|
232
236
|
do_put
|
233
237
|
end
|
@@ -239,7 +243,7 @@ describe PostsController do
|
|
239
243
|
end
|
240
244
|
do_put
|
241
245
|
end
|
242
|
-
|
246
|
+
|
243
247
|
end
|
244
248
|
|
245
249
|
context "when not logged in" do
|
@@ -293,6 +297,8 @@ describe PostsController do
|
|
293
297
|
mock_login
|
294
298
|
@current_blogger.expects(:blog_posts).returns(@blog_posts = [])
|
295
299
|
@blog_posts.expects(:find).with("1").returns(blog_post)
|
300
|
+
@pingr = mock()
|
301
|
+
@pingr.stub_everything()
|
296
302
|
end
|
297
303
|
|
298
304
|
it "should destroy the blog post" do
|
@@ -309,11 +315,11 @@ describe PostsController do
|
|
309
315
|
do_delete
|
310
316
|
flash[:notice].should be_present
|
311
317
|
end
|
312
|
-
|
318
|
+
|
313
319
|
it "should ping all search engines in ping_search_engines config if array" do
|
314
320
|
Blogit.configuration.ping_search_engines = search_engines = [:google, :bing]
|
315
321
|
search_engines.each do |search_engine|
|
316
|
-
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml))
|
322
|
+
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml)).returns(@pingr)
|
317
323
|
end
|
318
324
|
do_delete
|
319
325
|
end
|
@@ -321,7 +327,7 @@ describe PostsController do
|
|
321
327
|
it "should ping all search engines in Pingr::SUPPORTED_SEARCH_ENGINES if config is true" do
|
322
328
|
Blogit.configuration.ping_search_engines = true
|
323
329
|
Pingr::SUPPORTED_SEARCH_ENGINES.each do |search_engine|
|
324
|
-
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml))
|
330
|
+
Pingr::Request.expects(:new).with(search_engine, controller.posts_url(format: :xml)).returns(@pingr)
|
325
331
|
end
|
326
332
|
do_delete
|
327
333
|
end
|
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1357,3 +1357,1941 @@ Served asset /blogit/index.js - 304 Not Modified (0ms)
|
|
1357
1357
|
Connecting to database specified by database.yml
|
1358
1358
|
Connecting to database specified by database.yml
|
1359
1359
|
Connecting to database specified by database.yml
|
1360
|
+
Connecting to database specified by database.yml
|
1361
|
+
|
1362
|
+
|
1363
|
+
Started GET "/" for 127.0.0.1 at 2013-04-14 16:47:21 +0100
|
1364
|
+
Processing by Blogit::PostsController#index as HTML
|
1365
|
+
[1m[36mUser Load (0.9ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1366
|
+
[1m[35m (0.8ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
|
1367
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0[0m
|
1368
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (69.4ms)
|
1369
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms)
|
1370
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1371
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
|
1372
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1373
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (19.2ms)
|
1374
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
1375
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
1376
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1377
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.6ms)
|
1378
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1379
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (0.9ms)
|
1380
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (101.2ms)
|
1381
|
+
[1m[35m (1.1ms)[0m SELECT COUNT(*) FROM "blog_posts"
|
1382
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (19.0ms)
|
1383
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (150.0ms)
|
1384
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1385
|
+
[1m[35mBlogit::Post Load (0.3ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
1386
|
+
Compiled jquery.js (2ms) (pid 1628)
|
1387
|
+
Compiled jquery_ujs.js (0ms) (pid 1628)
|
1388
|
+
Compiled application.js (73ms) (pid 1628)
|
1389
|
+
Completed 200 OK in 547ms (Views: 541.6ms | ActiveRecord: 3.9ms)
|
1390
|
+
|
1391
|
+
|
1392
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 16:47:22 +0100
|
1393
|
+
Served asset /application.css - 200 OK (2ms)
|
1394
|
+
|
1395
|
+
|
1396
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 16:47:22 +0100
|
1397
|
+
Served asset /blogit/index.css - 200 OK (5ms)
|
1398
|
+
|
1399
|
+
|
1400
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:22 +0100
|
1401
|
+
Served asset /blogit/archive.js - 200 OK (2ms)
|
1402
|
+
|
1403
|
+
|
1404
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:22 +0100
|
1405
|
+
Served asset /jquery.js - 200 OK (2ms)
|
1406
|
+
|
1407
|
+
|
1408
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:22 +0100
|
1409
|
+
Served asset /application.js - 200 OK (5ms)
|
1410
|
+
|
1411
|
+
|
1412
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:22 +0100
|
1413
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
1414
|
+
|
1415
|
+
|
1416
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:22 +0100
|
1417
|
+
Served asset /blogit/index.js - 200 OK (2ms)
|
1418
|
+
|
1419
|
+
|
1420
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 16:47:28 +0100
|
1421
|
+
Processing by Blogit::PostsController#show as HTML
|
1422
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1423
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1424
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms)
|
1425
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
1426
|
+
[1m[35mUser Load (0.2ms)[0m 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 (0.9ms)
|
1428
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1429
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.4ms)
|
1430
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.5ms)
|
1431
|
+
[1m[35mActsAsTaggableOn::Tag Load (18.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1432
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1433
|
+
[1m[35mBlogit::Post Load (2.4ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC
|
1434
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (145.2ms)
|
1435
|
+
Rendered blogit/posts/_post_footer.html.erb (146.3ms)
|
1436
|
+
[1m[36mBlogit::Comment Load (0.8ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1[0m
|
1437
|
+
Rendered collection (0.0ms)
|
1438
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (4.1ms)
|
1439
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (8.1ms)
|
1440
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (179.1ms)
|
1441
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1442
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1443
|
+
Completed 200 OK in 189ms (Views: 164.7ms | ActiveRecord: 22.6ms)
|
1444
|
+
|
1445
|
+
|
1446
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 16:47:39 +0100
|
1447
|
+
Processing by Blogit::PostsController#show as HTML
|
1448
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1449
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1450
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
1451
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
1452
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1453
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.7ms)
|
1454
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1455
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.1ms)
|
1456
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.7ms)
|
1457
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1458
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1459
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1460
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.1ms)
|
1461
|
+
Rendered blogit/posts/_post_footer.html.erb (3.8ms)
|
1462
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
1463
|
+
Rendered collection (0.0ms)
|
1464
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.8ms)
|
1465
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.3ms)
|
1466
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (19.4ms)
|
1467
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1468
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
1469
|
+
Completed 200 OK in 29ms (Views: 26.8ms | ActiveRecord: 1.1ms)
|
1470
|
+
|
1471
|
+
|
1472
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 16:47:39 +0100
|
1473
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1474
|
+
|
1475
|
+
|
1476
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:39 +0100
|
1477
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1478
|
+
|
1479
|
+
|
1480
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:39 +0100
|
1481
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1482
|
+
|
1483
|
+
|
1484
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:39 +0100
|
1485
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1486
|
+
|
1487
|
+
|
1488
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:39 +0100
|
1489
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1490
|
+
|
1491
|
+
|
1492
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 16:47:39 +0100
|
1493
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1494
|
+
|
1495
|
+
|
1496
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 16:47:39 +0100
|
1497
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1498
|
+
|
1499
|
+
|
1500
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 16:49:14 +0100
|
1501
|
+
Processing by Blogit::PostsController#show as HTML
|
1502
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1503
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1504
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
1505
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
1506
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1507
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.9ms)
|
1508
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1509
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.5ms)
|
1510
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.6ms)
|
1511
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1512
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1513
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC
|
1514
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.6ms)
|
1515
|
+
Rendered blogit/posts/_post_footer.html.erb (4.5ms)
|
1516
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1[0m
|
1517
|
+
Rendered collection (0.0ms)
|
1518
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.8ms)
|
1519
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.0ms)
|
1520
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (21.0ms)
|
1521
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1522
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1523
|
+
Completed 200 OK in 29ms (Views: 27.2ms | ActiveRecord: 1.1ms)
|
1524
|
+
|
1525
|
+
|
1526
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 16:49:15 +0100
|
1527
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1528
|
+
|
1529
|
+
|
1530
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 16:49:15 +0100
|
1531
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1532
|
+
|
1533
|
+
|
1534
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 16:49:15 +0100
|
1535
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1536
|
+
|
1537
|
+
|
1538
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 16:49:15 +0100
|
1539
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1540
|
+
|
1541
|
+
|
1542
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 16:49:15 +0100
|
1543
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1544
|
+
|
1545
|
+
|
1546
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 16:49:15 +0100
|
1547
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1548
|
+
|
1549
|
+
|
1550
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 16:49:15 +0100
|
1551
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1552
|
+
|
1553
|
+
|
1554
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 16:50:22 +0100
|
1555
|
+
Processing by Blogit::PostsController#show as HTML
|
1556
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1557
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1558
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms)
|
1559
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
1560
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1561
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.7ms)
|
1562
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1563
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.5ms)
|
1564
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.1ms)
|
1565
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1566
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1567
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1568
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.2ms)
|
1569
|
+
Rendered blogit/posts/_post_footer.html.erb (4.9ms)
|
1570
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
1571
|
+
Rendered collection (0.0ms)
|
1572
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (21.0ms)
|
1573
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (23.0ms)
|
1574
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (38.0ms)
|
1575
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1576
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
1577
|
+
Completed 200 OK in 46ms (Views: 43.8ms | ActiveRecord: 1.2ms)
|
1578
|
+
|
1579
|
+
|
1580
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 16:50:22 +0100
|
1581
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1582
|
+
|
1583
|
+
|
1584
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 16:50:22 +0100
|
1585
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1586
|
+
|
1587
|
+
|
1588
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 16:50:22 +0100
|
1589
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1590
|
+
|
1591
|
+
|
1592
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 16:50:22 +0100
|
1593
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1594
|
+
|
1595
|
+
|
1596
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 16:50:22 +0100
|
1597
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1598
|
+
|
1599
|
+
|
1600
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 16:50:22 +0100
|
1601
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1602
|
+
|
1603
|
+
|
1604
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 16:50:23 +0100
|
1605
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1606
|
+
|
1607
|
+
|
1608
|
+
Started POST "/blog/posts/1-test-postasdfa-sdf-afas-d/comments" for 127.0.0.1 at 2013-04-14 16:50:38 +0100
|
1609
|
+
Processing by Blogit::CommentsController#create as JS
|
1610
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jN8I9fQRhk9tLtrnPuj62NZ/PU+sJEjqCAA+7JvVdD0=", "comment"=>{"nickname"=>"", "name"=>"Gavin", "email"=>"gavin@gavinmorrice.com", "website"=>"www.gavinmorrice.com", "body"=>"This is a test comment"}, "commit"=>"Add Comment", "post_id"=>"1-test-postasdfa-sdf-afas-d"}
|
1611
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1613
|
+
[1m[36mSQL (12.6ms)[0m [1mINSERT INTO "blog_comments" ("body", "created_at", "email", "name", "post_id", "state", "updated_at", "website") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["body", "This is a test comment"], ["created_at", Sun, 14 Apr 2013 15:50:38 UTC +00:00], ["email", "gavin@gavinmorrice.com"], ["name", "Gavin"], ["post_id", 1], ["state", nil], ["updated_at", Sun, 14 Apr 2013 15:50:38 UTC +00:00], ["website", "http://www.gavinmorrice.com"]]
|
1614
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1
|
1615
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) + 1 WHERE "blog_posts"."id" = 1[0m
|
1616
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "blog_posts" SET "updated_at" = '2013-04-14 15:50:38.843193' WHERE "blog_posts"."id" = 1
|
1617
|
+
[1m[36m (24.5ms)[0m [1mcommit transaction[0m
|
1618
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1619
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "blog_posts" SET "updated_at" = '2013-04-14 15:50:38.875781' WHERE "blog_posts"."id" = 1[0m
|
1620
|
+
[1m[35m (3.9ms)[0m commit transaction
|
1621
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1622
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.1ms)
|
1623
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (3.7ms)
|
1624
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/create.js.erb (11.9ms)
|
1625
|
+
Completed 200 OK in 65ms (Views: 12.0ms | ActiveRecord: 42.3ms)
|
1626
|
+
|
1627
|
+
|
1628
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 16:51:20 +0100
|
1629
|
+
Processing by Blogit::PostsController#show as HTML
|
1630
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1631
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1632
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
1633
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
1634
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1635
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.6ms)
|
1636
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1637
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms)
|
1638
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (5.7ms)
|
1639
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1640
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1641
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1642
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.0ms)
|
1643
|
+
Rendered blogit/posts/_post_footer.html.erb (3.9ms)
|
1644
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
1645
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1646
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.0ms)
|
1647
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (3.4ms)
|
1648
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.5ms)
|
1649
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (9.2ms)
|
1650
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (21.4ms)
|
1651
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1652
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1653
|
+
Completed 200 OK in 29ms (Views: 27.1ms | ActiveRecord: 1.0ms)
|
1654
|
+
|
1655
|
+
|
1656
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:20 +0100
|
1657
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1658
|
+
|
1659
|
+
|
1660
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 16:51:20 +0100
|
1661
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1662
|
+
|
1663
|
+
|
1664
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 16:51:20 +0100
|
1665
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1666
|
+
|
1667
|
+
|
1668
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:20 +0100
|
1669
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1670
|
+
|
1671
|
+
|
1672
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:20 +0100
|
1673
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1674
|
+
|
1675
|
+
|
1676
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:20 +0100
|
1677
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1678
|
+
|
1679
|
+
|
1680
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:20 +0100
|
1681
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1682
|
+
|
1683
|
+
|
1684
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 16:51:48 +0100
|
1685
|
+
Processing by Blogit::PostsController#show as HTML
|
1686
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1687
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1688
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
1689
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
1690
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1691
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.8ms)
|
1692
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1693
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.7ms)
|
1694
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.5ms)
|
1695
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1696
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1697
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1698
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.4ms)
|
1699
|
+
Rendered blogit/posts/_post_footer.html.erb (4.2ms)
|
1700
|
+
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
1701
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1702
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.6ms)
|
1703
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (3.1ms)
|
1704
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.0ms)
|
1705
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (9.6ms)
|
1706
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.2ms)
|
1707
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1708
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1709
|
+
Completed 200 OK in 34ms (Views: 31.6ms | ActiveRecord: 1.2ms)
|
1710
|
+
|
1711
|
+
|
1712
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 16:51:48 +0100
|
1713
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1714
|
+
|
1715
|
+
|
1716
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:48 +0100
|
1717
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1718
|
+
|
1719
|
+
|
1720
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 16:51:48 +0100
|
1721
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1722
|
+
|
1723
|
+
|
1724
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:48 +0100
|
1725
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1726
|
+
|
1727
|
+
|
1728
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:48 +0100
|
1729
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1730
|
+
|
1731
|
+
|
1732
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:48 +0100
|
1733
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1734
|
+
|
1735
|
+
|
1736
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 16:51:48 +0100
|
1737
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1738
|
+
|
1739
|
+
|
1740
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 16:58:48 +0100
|
1741
|
+
Processing by Blogit::PostsController#show as HTML
|
1742
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1743
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1744
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
1745
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
1746
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1747
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.9ms)
|
1748
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1749
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.5ms)
|
1750
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.4ms)
|
1751
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1752
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1753
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1754
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (2.8ms)
|
1755
|
+
Rendered blogit/posts/_post_footer.html.erb (3.4ms)
|
1756
|
+
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
1757
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1758
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.6ms)
|
1759
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (3.3ms)
|
1760
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.4ms)
|
1761
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (8.5ms)
|
1762
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (21.9ms)
|
1763
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1764
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1765
|
+
Completed 200 OK in 31ms (Views: 28.8ms | ActiveRecord: 1.1ms)
|
1766
|
+
|
1767
|
+
|
1768
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 16:58:48 +0100
|
1769
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1770
|
+
|
1771
|
+
|
1772
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 16:58:48 +0100
|
1773
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1774
|
+
|
1775
|
+
|
1776
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 16:58:48 +0100
|
1777
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1778
|
+
|
1779
|
+
|
1780
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 16:58:48 +0100
|
1781
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1782
|
+
|
1783
|
+
|
1784
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 16:58:48 +0100
|
1785
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1786
|
+
|
1787
|
+
|
1788
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 16:58:48 +0100
|
1789
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1790
|
+
|
1791
|
+
|
1792
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 16:58:48 +0100
|
1793
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1794
|
+
|
1795
|
+
|
1796
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 17:04:36 +0100
|
1797
|
+
Processing by Blogit::PostsController#show as HTML
|
1798
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1799
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1800
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.9ms)
|
1801
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
1802
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1803
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (6.0ms)
|
1804
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1805
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.4ms)
|
1806
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (17.1ms)
|
1807
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1808
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1809
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1810
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.6ms)
|
1811
|
+
Rendered blogit/posts/_post_footer.html.erb (7.3ms)
|
1812
|
+
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
1813
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1814
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.5ms)
|
1815
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.9ms)
|
1816
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.0ms)
|
1817
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (10.7ms)
|
1818
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (51.5ms)
|
1819
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1820
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1821
|
+
Completed 200 OK in 84ms (Views: 57.2ms | ActiveRecord: 2.0ms)
|
1822
|
+
|
1823
|
+
|
1824
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:04:36 +0100
|
1825
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1826
|
+
|
1827
|
+
|
1828
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:04:36 +0100
|
1829
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1830
|
+
|
1831
|
+
|
1832
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:04:36 +0100
|
1833
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1834
|
+
|
1835
|
+
|
1836
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:04:36 +0100
|
1837
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1838
|
+
|
1839
|
+
|
1840
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:04:36 +0100
|
1841
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1842
|
+
|
1843
|
+
|
1844
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:04:36 +0100
|
1845
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1846
|
+
|
1847
|
+
|
1848
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:04:36 +0100
|
1849
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1850
|
+
|
1851
|
+
|
1852
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 17:05:30 +0100
|
1853
|
+
Processing by Blogit::PostsController#show as HTML
|
1854
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1855
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1856
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
|
1857
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
1858
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1859
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (6.1ms)
|
1860
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1861
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (13.6ms)
|
1862
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (24.2ms)
|
1863
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1864
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1865
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
1866
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (7.2ms)
|
1867
|
+
Rendered blogit/posts/_post_footer.html.erb (7.9ms)
|
1868
|
+
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
1869
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1870
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.5ms)
|
1871
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (2.1ms)
|
1872
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.2ms)
|
1873
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (9.2ms)
|
1874
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (58.6ms)
|
1875
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1876
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1877
|
+
Completed 200 OK in 72ms (Views: 63.5ms | ActiveRecord: 1.9ms)
|
1878
|
+
|
1879
|
+
|
1880
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:05:30 +0100
|
1881
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
1882
|
+
|
1883
|
+
|
1884
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:05:30 +0100
|
1885
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
1886
|
+
|
1887
|
+
|
1888
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:05:30 +0100
|
1889
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
1890
|
+
|
1891
|
+
|
1892
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:05:30 +0100
|
1893
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
1894
|
+
|
1895
|
+
|
1896
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:05:30 +0100
|
1897
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
1898
|
+
|
1899
|
+
|
1900
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:05:30 +0100
|
1901
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
1902
|
+
|
1903
|
+
|
1904
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:05:30 +0100
|
1905
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
1906
|
+
|
1907
|
+
|
1908
|
+
Started POST "/blog/posts/1-test-postasdfa-sdf-afas-d/comments" for 127.0.0.1 at 2013-04-14 17:07:49 +0100
|
1909
|
+
Processing by Blogit::CommentsController#create as JS
|
1910
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jN8I9fQRhk9tLtrnPuj62NZ/PU+sJEjqCAA+7JvVdD0=", "comment"=>{"nickname"=>"", "name"=>"Cornelius", "email"=>"gavin@gavinmorrice.com", "website"=>"", "body"=>"THis is a comment"}, "commit"=>"Add Comment", "post_id"=>"1-test-postasdfa-sdf-afas-d"}
|
1911
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1912
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1913
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "blog_comments" ("body", "created_at", "email", "name", "post_id", "state", "updated_at", "website") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["body", "THis is a comment"], ["created_at", Sun, 14 Apr 2013 16:07:49 UTC +00:00], ["email", "gavin@gavinmorrice.com"], ["name", "Cornelius"], ["post_id", 1], ["state", nil], ["updated_at", Sun, 14 Apr 2013 16:07:49 UTC +00:00], ["website", ""]]
|
1914
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = 1 LIMIT 1[0m
|
1915
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "blog_posts" SET "comments_count" = COALESCE("comments_count", 0) + 1 WHERE "blog_posts"."id" = 1
|
1916
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "blog_posts" SET "updated_at" = '2013-04-14 16:07:49.717094' WHERE "blog_posts"."id" = 1[0m
|
1917
|
+
[1m[35m (54.4ms)[0m commit transaction
|
1918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1919
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "blog_posts" SET "updated_at" = '2013-04-14 16:07:49.778509' WHERE "blog_posts"."id" = 1
|
1920
|
+
[1m[36m (3.9ms)[0m [1mcommit transaction[0m
|
1921
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1922
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.8ms)
|
1923
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (3.4ms)
|
1924
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/create.js.erb (10.8ms)
|
1925
|
+
Completed 200 OK in 94ms (Views: 11.0ms | ActiveRecord: 59.9ms)
|
1926
|
+
Connecting to database specified by database.yml
|
1927
|
+
Connecting to database specified by database.yml
|
1928
|
+
|
1929
|
+
|
1930
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 17:26:25 +0100
|
1931
|
+
Processing by Blogit::PostsController#show as HTML
|
1932
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1933
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1934
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (73.6ms)
|
1935
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms)
|
1936
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1937
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (15.3ms)
|
1938
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
1939
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (20.9ms)
|
1940
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (115.4ms)
|
1941
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
1942
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
1943
|
+
[1m[35mBlogit::Post Load (0.3ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC
|
1944
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (43.5ms)
|
1945
|
+
Rendered blogit/posts/_post_footer.html.erb (44.6ms)
|
1946
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1[0m
|
1947
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1948
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (1.1ms)
|
1949
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1950
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.3ms)
|
1951
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (6.2ms)
|
1952
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (7.4ms)
|
1953
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (18.3ms)
|
1954
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (202.8ms)
|
1955
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
1956
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
1957
|
+
Completed 200 OK in 244ms (Views: 231.8ms | ActiveRecord: 2.6ms)
|
1958
|
+
|
1959
|
+
|
1960
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:26:26 +0100
|
1961
|
+
Served asset /blogit/index.css - 304 Not Modified (3ms)
|
1962
|
+
|
1963
|
+
|
1964
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:26:26 +0100
|
1965
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
1966
|
+
|
1967
|
+
|
1968
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:26 +0100
|
1969
|
+
Served asset /jquery.js - 304 Not Modified (4ms)
|
1970
|
+
|
1971
|
+
|
1972
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:26 +0100
|
1973
|
+
Served asset /application.js - 304 Not Modified (4ms)
|
1974
|
+
|
1975
|
+
|
1976
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:26 +0100
|
1977
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
1978
|
+
|
1979
|
+
|
1980
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:26 +0100
|
1981
|
+
Served asset /blogit/archive.js - 304 Not Modified (1ms)
|
1982
|
+
|
1983
|
+
|
1984
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:26 +0100
|
1985
|
+
Served asset /blogit/index.js - 304 Not Modified (3ms)
|
1986
|
+
|
1987
|
+
|
1988
|
+
Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-04-14 17:26:29 +0100
|
1989
|
+
Processing by Blogit::PostsController#show as HTML
|
1990
|
+
Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"}
|
1991
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]]
|
1992
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
1993
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
1994
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
1995
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.8ms)
|
1996
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
1997
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
1998
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.4ms)
|
1999
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2000
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2001
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
2002
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (2.8ms)
|
2003
|
+
Rendered blogit/posts/_post_footer.html.erb (3.6ms)
|
2004
|
+
[1m[35mBlogit::Comment Load (0.2ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
|
2005
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
2006
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.5ms)
|
2007
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
2008
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_admin_links.html.erb (0.3ms)
|
2009
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_comment.html.erb (4.6ms)
|
2010
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.0ms)
|
2011
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (9.7ms)
|
2012
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (23.3ms)
|
2013
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
2014
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2015
|
+
Completed 200 OK in 32ms (Views: 30.2ms | ActiveRecord: 1.2ms)
|
2016
|
+
|
2017
|
+
|
2018
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:26:29 +0100
|
2019
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2020
|
+
|
2021
|
+
|
2022
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:29 +0100
|
2023
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2024
|
+
|
2025
|
+
|
2026
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:29 +0100
|
2027
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2028
|
+
|
2029
|
+
|
2030
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:29 +0100
|
2031
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2032
|
+
|
2033
|
+
|
2034
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:29 +0100
|
2035
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2036
|
+
|
2037
|
+
|
2038
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:26:29 +0100
|
2039
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2040
|
+
|
2041
|
+
|
2042
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:29 +0100
|
2043
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2044
|
+
|
2045
|
+
|
2046
|
+
Started GET "/blog/" for 127.0.0.1 at 2013-04-14 17:26:32 +0100
|
2047
|
+
Processing by Blogit::PostsController#index as HTML
|
2048
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
2049
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
|
2050
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0[0m
|
2051
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
2052
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
2053
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
2054
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.9ms)
|
2055
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2056
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
|
2057
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
2058
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
|
2059
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
2060
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (0.4ms)
|
2061
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2062
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms)
|
2063
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (15.2ms)
|
2064
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "blog_posts"
|
2065
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (3.0ms)
|
2066
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (23.3ms)
|
2067
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
2068
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2069
|
+
Completed 200 OK in 32ms (Views: 29.9ms | ActiveRecord: 0.8ms)
|
2070
|
+
|
2071
|
+
|
2072
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:26:32 +0100
|
2073
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2074
|
+
|
2075
|
+
|
2076
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:32 +0100
|
2077
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2078
|
+
|
2079
|
+
|
2080
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:32 +0100
|
2081
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2082
|
+
|
2083
|
+
|
2084
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:26:32 +0100
|
2085
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2086
|
+
|
2087
|
+
|
2088
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:32 +0100
|
2089
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2090
|
+
|
2091
|
+
|
2092
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:32 +0100
|
2093
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2094
|
+
|
2095
|
+
|
2096
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:26:32 +0100
|
2097
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2098
|
+
|
2099
|
+
|
2100
|
+
Started GET "/session/new" for 127.0.0.1 at 2013-04-14 17:26:44 +0100
|
2101
|
+
Processing by SessionsController#new as HTML
|
2102
|
+
Rendered sessions/new.html.erb within layouts/application (1.4ms)
|
2103
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
2104
|
+
Completed 500 Internal Server Error in 85ms
|
2105
|
+
|
2106
|
+
ActionView::Template::Error (undefined local variable or method `blog_root_path' for #<#<Class:0x007fc0d5993a98>:0x007fc0d598f7b8>):
|
2107
|
+
15: <%= link_to("log in", main_app.new_session_path) %>
|
2108
|
+
16: <% end %>
|
2109
|
+
17:
|
2110
|
+
18: <h1><%= link_to("My Awesome Blog", blog_root_path) %></h1>
|
2111
|
+
19:
|
2112
|
+
20: <%= yield %>
|
2113
|
+
21: </div>
|
2114
|
+
app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb__1118358286315869622_70233099350520'
|
2115
|
+
|
2116
|
+
|
2117
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
2118
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
2119
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.7ms)
|
2120
|
+
|
2121
|
+
|
2122
|
+
Started GET "/session/new" for 127.0.0.1 at 2013-04-14 17:27:04 +0100
|
2123
|
+
Processing by SessionsController#new as HTML
|
2124
|
+
Rendered sessions/new.html.erb within layouts/application (1.0ms)
|
2125
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
2126
|
+
Completed 500 Internal Server Error in 26ms
|
2127
|
+
|
2128
|
+
ActionView::Template::Error (undefined method `root_path' for #<ActionDispatch::Routing::RoutesProxy:0x007fc0d3846b60>):
|
2129
|
+
15: <%= link_to("log in", main_app.new_session_path) %>
|
2130
|
+
16: <% end %>
|
2131
|
+
17:
|
2132
|
+
18: <h1><%= link_to("My Awesome Blog", blogit.root_path) %></h1>
|
2133
|
+
19:
|
2134
|
+
20: <%= yield %>
|
2135
|
+
21: </div>
|
2136
|
+
app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb__1118358286315869622_70233090563540'
|
2137
|
+
|
2138
|
+
|
2139
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
2140
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
|
2141
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.0ms)
|
2142
|
+
|
2143
|
+
|
2144
|
+
Started GET "/session/new" for 127.0.0.1 at 2013-04-14 17:27:10 +0100
|
2145
|
+
Processing by SessionsController#new as HTML
|
2146
|
+
Rendered sessions/new.html.erb within layouts/application (1.1ms)
|
2147
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
2148
|
+
Completed 500 Internal Server Error in 14ms
|
2149
|
+
|
2150
|
+
ActionView::Template::Error (undefined method `blogit_root_path' for #<ActionDispatch::Routing::RoutesProxy:0x007fc0d652ea10>):
|
2151
|
+
15: <%= link_to("log in", main_app.new_session_path) %>
|
2152
|
+
16: <% end %>
|
2153
|
+
17:
|
2154
|
+
18: <h1><%= link_to("My Awesome Blog", blogit.blogit_root_path) %></h1>
|
2155
|
+
19:
|
2156
|
+
20: <%= yield %>
|
2157
|
+
21: </div>
|
2158
|
+
app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb__1118358286315869622_70233103211440'
|
2159
|
+
|
2160
|
+
|
2161
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
|
2162
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
|
2163
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.0ms)
|
2164
|
+
|
2165
|
+
|
2166
|
+
Started GET "/session/new" for 127.0.0.1 at 2013-04-14 17:27:21 +0100
|
2167
|
+
Processing by SessionsController#new as HTML
|
2168
|
+
Rendered sessions/new.html.erb within layouts/application (1.5ms)
|
2169
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
2170
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
2171
|
+
Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.3ms)
|
2172
|
+
|
2173
|
+
|
2174
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:27:21 +0100
|
2175
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2176
|
+
|
2177
|
+
|
2178
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:27:21 +0100
|
2179
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2180
|
+
|
2181
|
+
|
2182
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:27:21 +0100
|
2183
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2184
|
+
|
2185
|
+
|
2186
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:27:21 +0100
|
2187
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2188
|
+
|
2189
|
+
|
2190
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:27:21 +0100
|
2191
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2192
|
+
|
2193
|
+
|
2194
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:27:21 +0100
|
2195
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2196
|
+
|
2197
|
+
|
2198
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:27:21 +0100
|
2199
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2200
|
+
|
2201
|
+
|
2202
|
+
Started POST "/session" for 127.0.0.1 at 2013-04-14 17:28:06 +0100
|
2203
|
+
Processing by SessionsController#create as HTML
|
2204
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jN8I9fQRhk9tLtrnPuj62NZ/PU+sJEjqCAA+7JvVdD0=", "session"=>{"username"=>"bodacious", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
|
2205
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."username" = 'bodacious' AND "users"."password" = 'password' LIMIT 1
|
2206
|
+
Rendered sessions/new.html.erb within layouts/application (1.7ms)
|
2207
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
2208
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2209
|
+
Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.6ms)
|
2210
|
+
|
2211
|
+
|
2212
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:06 +0100
|
2213
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2214
|
+
|
2215
|
+
|
2216
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:06 +0100
|
2217
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2218
|
+
|
2219
|
+
|
2220
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:06 +0100
|
2221
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2222
|
+
|
2223
|
+
|
2224
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:06 +0100
|
2225
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2226
|
+
|
2227
|
+
|
2228
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:06 +0100
|
2229
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2230
|
+
|
2231
|
+
|
2232
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:06 +0100
|
2233
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2234
|
+
|
2235
|
+
|
2236
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:06 +0100
|
2237
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2238
|
+
|
2239
|
+
|
2240
|
+
Started POST "/session" for 127.0.0.1 at 2013-04-14 17:28:11 +0100
|
2241
|
+
Processing by SessionsController#create as HTML
|
2242
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jN8I9fQRhk9tLtrnPuj62NZ/PU+sJEjqCAA+7JvVdD0=", "session"=>{"username"=>"gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
|
2243
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."username" = 'gavin' AND "users"."password" = 'password' LIMIT 1[0m
|
2244
|
+
Rendered sessions/new.html.erb within layouts/application (1.0ms)
|
2245
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
|
2246
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
2247
|
+
Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.4ms)
|
2248
|
+
|
2249
|
+
|
2250
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:11 +0100
|
2251
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2252
|
+
|
2253
|
+
|
2254
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:11 +0100
|
2255
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2256
|
+
|
2257
|
+
|
2258
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:11 +0100
|
2259
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2260
|
+
|
2261
|
+
|
2262
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:11 +0100
|
2263
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2264
|
+
|
2265
|
+
|
2266
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:11 +0100
|
2267
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2268
|
+
|
2269
|
+
|
2270
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:11 +0100
|
2271
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2272
|
+
|
2273
|
+
|
2274
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:11 +0100
|
2275
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2276
|
+
|
2277
|
+
|
2278
|
+
Started POST "/session" for 127.0.0.1 at 2013-04-14 17:28:15 +0100
|
2279
|
+
Processing by SessionsController#create as HTML
|
2280
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jN8I9fQRhk9tLtrnPuj62NZ/PU+sJEjqCAA+7JvVdD0=", "session"=>{"username"=>"gavinmorrice", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
|
2281
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."username" = 'gavinmorrice' AND "users"."password" = 'password' LIMIT 1
|
2282
|
+
Rendered sessions/new.html.erb within layouts/application (1.1ms)
|
2283
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1[0m
|
2284
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2285
|
+
Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.4ms)
|
2286
|
+
|
2287
|
+
|
2288
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:15 +0100
|
2289
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2290
|
+
|
2291
|
+
|
2292
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:15 +0100
|
2293
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2294
|
+
|
2295
|
+
|
2296
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:15 +0100
|
2297
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2298
|
+
|
2299
|
+
|
2300
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:15 +0100
|
2301
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2302
|
+
|
2303
|
+
|
2304
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:15 +0100
|
2305
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2306
|
+
|
2307
|
+
|
2308
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:15 +0100
|
2309
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2310
|
+
|
2311
|
+
|
2312
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:15 +0100
|
2313
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2314
|
+
Connecting to database specified by database.yml
|
2315
|
+
|
2316
|
+
|
2317
|
+
Started POST "/session" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2318
|
+
Processing by SessionsController#create as HTML
|
2319
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jN8I9fQRhk9tLtrnPuj62NZ/PU+sJEjqCAA+7JvVdD0=", "session"=>{"username"=>"Gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
|
2320
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."username" = 'Gavin' AND "users"."password" = 'password' LIMIT 1[0m
|
2321
|
+
Redirected to http://localhost:3000/
|
2322
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
2323
|
+
|
2324
|
+
|
2325
|
+
Started GET "/" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2326
|
+
Processing by Blogit::PostsController#index as HTML
|
2327
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2328
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count [0m
|
2329
|
+
[1m[35mBlogit::Post Load (0.3ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
|
2330
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
2331
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
|
2332
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
|
2333
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2334
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
|
2335
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms)
|
2336
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms)
|
2337
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.0ms)
|
2338
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2339
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.0ms)
|
2340
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (17.2ms)
|
2341
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "blog_posts" [0m
|
2342
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.1ms)
|
2343
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (25.8ms)
|
2344
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2345
|
+
Completed 200 OK in 33ms (Views: 31.3ms | ActiveRecord: 1.0ms)
|
2346
|
+
|
2347
|
+
|
2348
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2349
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2350
|
+
|
2351
|
+
|
2352
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2353
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2354
|
+
|
2355
|
+
|
2356
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2357
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2358
|
+
|
2359
|
+
|
2360
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2361
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2362
|
+
|
2363
|
+
|
2364
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2365
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2366
|
+
|
2367
|
+
|
2368
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2369
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2370
|
+
|
2371
|
+
|
2372
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:37 +0100
|
2373
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2374
|
+
|
2375
|
+
|
2376
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-04-14 17:28:45 +0100
|
2377
|
+
Processing by Blogit::PostsController#edit as HTML
|
2378
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2379
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2380
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
2381
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2382
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.6ms)
|
2383
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (9.3ms)
|
2384
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2385
|
+
Completed 200 OK in 21ms (Views: 18.0ms | ActiveRecord: 0.7ms)
|
2386
|
+
|
2387
|
+
|
2388
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:45 +0100
|
2389
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2390
|
+
|
2391
|
+
|
2392
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:28:45 +0100
|
2393
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2394
|
+
|
2395
|
+
|
2396
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:45 +0100
|
2397
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2398
|
+
|
2399
|
+
|
2400
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:45 +0100
|
2401
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2402
|
+
|
2403
|
+
|
2404
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:45 +0100
|
2405
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2406
|
+
|
2407
|
+
|
2408
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:45 +0100
|
2409
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2410
|
+
|
2411
|
+
|
2412
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:28:45 +0100
|
2413
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2414
|
+
|
2415
|
+
|
2416
|
+
Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 17:29:11 +0100
|
2417
|
+
Processing by Blogit::PostsController#update as HTML
|
2418
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"jN8I9fQRhk9tLtrnPuj62NZ/PU+sJEjqCAA+7JvVdD0=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij\r\n\r\n```ruby\r\n\r\nclass Code\r\n\r\n def to_s\r\n \"hello\"\r\n end\r\n\r\nend\r\n```", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"}
|
2419
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2420
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
2421
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2422
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2423
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "blog_posts" SET "body" = 'Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij
|
2424
|
+
|
2425
|
+
```ruby
|
2426
|
+
|
2427
|
+
class Code
|
2428
|
+
|
2429
|
+
def to_s
|
2430
|
+
"hello"
|
2431
|
+
end
|
2432
|
+
|
2433
|
+
end
|
2434
|
+
```', "updated_at" = '2013-04-14 16:29:11.679593' WHERE "blog_posts"."id" = 2[0m
|
2435
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
|
2436
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2437
|
+
[1m[35m (56.4ms)[0m commit transaction
|
2438
|
+
Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post
|
2439
|
+
Completed 302 Found in 69ms (ActiveRecord: 57.4ms)
|
2440
|
+
|
2441
|
+
|
2442
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 17:29:11 +0100
|
2443
|
+
Processing by Blogit::PostsController#show as HTML
|
2444
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2445
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2446
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
|
2447
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (169.4ms)
|
2448
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2449
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.0ms)
|
2450
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2451
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms)
|
2452
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (176.6ms)
|
2453
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2454
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2455
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
2456
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.3ms)
|
2457
|
+
Rendered blogit/posts/_post_footer.html.erb (4.0ms)
|
2458
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
2459
|
+
Rendered collection (0.0ms)
|
2460
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.9ms)
|
2461
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.7ms)
|
2462
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (187.7ms)
|
2463
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2464
|
+
Completed 200 OK in 196ms (Views: 194.8ms | ActiveRecord: 0.8ms)
|
2465
|
+
|
2466
|
+
|
2467
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:29:11 +0100
|
2468
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2469
|
+
|
2470
|
+
|
2471
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:11 +0100
|
2472
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2473
|
+
|
2474
|
+
|
2475
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:11 +0100
|
2476
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2477
|
+
|
2478
|
+
|
2479
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:11 +0100
|
2480
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2481
|
+
|
2482
|
+
|
2483
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:29:12 +0100
|
2484
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2485
|
+
|
2486
|
+
|
2487
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:12 +0100
|
2488
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2489
|
+
|
2490
|
+
|
2491
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:12 +0100
|
2492
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2493
|
+
|
2494
|
+
|
2495
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 17:29:23 +0100
|
2496
|
+
Processing by Blogit::PostsController#show as HTML
|
2497
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2498
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2499
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
|
2500
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (172.5ms)
|
2501
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2502
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
|
2503
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2504
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (0.9ms)
|
2505
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (178.9ms)
|
2506
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2507
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2508
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
2509
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.3ms)
|
2510
|
+
Rendered blogit/posts/_post_footer.html.erb (3.9ms)
|
2511
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
2512
|
+
Rendered collection (0.0ms)
|
2513
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.5ms)
|
2514
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.0ms)
|
2515
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (189.1ms)
|
2516
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2517
|
+
Completed 200 OK in 197ms (Views: 195.3ms | ActiveRecord: 0.8ms)
|
2518
|
+
|
2519
|
+
|
2520
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:29:23 +0100
|
2521
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2522
|
+
|
2523
|
+
|
2524
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:29:24 +0100
|
2525
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2526
|
+
|
2527
|
+
|
2528
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:24 +0100
|
2529
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2530
|
+
|
2531
|
+
|
2532
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:24 +0100
|
2533
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2534
|
+
|
2535
|
+
|
2536
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:24 +0100
|
2537
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2538
|
+
|
2539
|
+
|
2540
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:24 +0100
|
2541
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2542
|
+
|
2543
|
+
|
2544
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:29:24 +0100
|
2545
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2546
|
+
Connecting to database specified by database.yml
|
2547
|
+
|
2548
|
+
|
2549
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 17:33:49 +0100
|
2550
|
+
Processing by Blogit::PostsController#show as HTML
|
2551
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2552
|
+
[1m[36mBlogit::Post Load (0.3ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2553
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (90.9ms)
|
2554
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (171.6ms)
|
2555
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2556
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (20.2ms)
|
2557
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2558
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (16.0ms)
|
2559
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (303.5ms)
|
2560
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2561
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2562
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
2563
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (45.2ms)
|
2564
|
+
Rendered blogit/posts/_post_footer.html.erb (46.2ms)
|
2565
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
2566
|
+
Rendered collection (0.0ms)
|
2567
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (7.4ms)
|
2568
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (10.9ms)
|
2569
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (384.1ms)
|
2570
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2571
|
+
Completed 200 OK in 428ms (Views: 415.7ms | ActiveRecord: 2.4ms)
|
2572
|
+
|
2573
|
+
|
2574
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:33:50 +0100
|
2575
|
+
Served asset /blogit/index.css - 304 Not Modified (2ms)
|
2576
|
+
|
2577
|
+
|
2578
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:33:50 +0100
|
2579
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
2580
|
+
|
2581
|
+
|
2582
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:33:50 +0100
|
2583
|
+
Served asset /jquery_ujs.js - 304 Not Modified (9ms)
|
2584
|
+
|
2585
|
+
|
2586
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:33:50 +0100
|
2587
|
+
Served asset /application.js - 304 Not Modified (5ms)
|
2588
|
+
|
2589
|
+
|
2590
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:33:50 +0100
|
2591
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
2592
|
+
|
2593
|
+
|
2594
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:33:50 +0100
|
2595
|
+
Served asset /blogit/archive.js - 304 Not Modified (2ms)
|
2596
|
+
|
2597
|
+
|
2598
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:33:50 +0100
|
2599
|
+
Served asset /blogit/index.js - 304 Not Modified (2ms)
|
2600
|
+
Connecting to database specified by database.yml
|
2601
|
+
|
2602
|
+
|
2603
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 17:34:32 +0100
|
2604
|
+
Processing by Blogit::PostsController#show as HTML
|
2605
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2606
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2607
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (70.9ms)
|
2608
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (172.8ms)
|
2609
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2610
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (19.9ms)
|
2611
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2612
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (15.2ms)
|
2613
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (284.1ms)
|
2614
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2615
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2616
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
2617
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (44.8ms)
|
2618
|
+
Rendered blogit/posts/_post_footer.html.erb (46.0ms)
|
2619
|
+
[1m[36mBlogit::Comment Load (0.2ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
2620
|
+
Rendered collection (0.0ms)
|
2621
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (7.0ms)
|
2622
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (10.6ms)
|
2623
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (364.3ms)
|
2624
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2625
|
+
Completed 200 OK in 406ms (Views: 395.7ms | ActiveRecord: 2.4ms)
|
2626
|
+
|
2627
|
+
|
2628
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:34:33 +0100
|
2629
|
+
Served asset /blogit/index.css - 304 Not Modified (2ms)
|
2630
|
+
|
2631
|
+
|
2632
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:34:33 +0100
|
2633
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
2634
|
+
|
2635
|
+
|
2636
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:33 +0100
|
2637
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
2638
|
+
|
2639
|
+
|
2640
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:33 +0100
|
2641
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
2642
|
+
|
2643
|
+
|
2644
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:33 +0100
|
2645
|
+
Served asset /application.js - 304 Not Modified (4ms)
|
2646
|
+
|
2647
|
+
|
2648
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:33 +0100
|
2649
|
+
Served asset /blogit/archive.js - 304 Not Modified (2ms)
|
2650
|
+
|
2651
|
+
|
2652
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:33 +0100
|
2653
|
+
Served asset /blogit/index.js - 304 Not Modified (3ms)
|
2654
|
+
|
2655
|
+
|
2656
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 17:34:41 +0100
|
2657
|
+
Processing by Blogit::PostsController#show as HTML
|
2658
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2659
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2660
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
2661
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (182.9ms)
|
2662
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2663
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
|
2664
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2665
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.4ms)
|
2666
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (190.0ms)
|
2667
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2668
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2669
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
2670
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.4ms)
|
2671
|
+
Rendered blogit/posts/_post_footer.html.erb (4.1ms)
|
2672
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
2673
|
+
Rendered collection (0.0ms)
|
2674
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.3ms)
|
2675
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (3.6ms)
|
2676
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (199.9ms)
|
2677
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2678
|
+
Completed 200 OK in 207ms (Views: 205.2ms | ActiveRecord: 0.8ms)
|
2679
|
+
|
2680
|
+
|
2681
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 17:34:41 +0100
|
2682
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2683
|
+
|
2684
|
+
|
2685
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 17:34:41 +0100
|
2686
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2687
|
+
|
2688
|
+
|
2689
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:41 +0100
|
2690
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2691
|
+
|
2692
|
+
|
2693
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:41 +0100
|
2694
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2695
|
+
|
2696
|
+
|
2697
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:41 +0100
|
2698
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2699
|
+
|
2700
|
+
|
2701
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:41 +0100
|
2702
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2703
|
+
|
2704
|
+
|
2705
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 17:34:41 +0100
|
2706
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2707
|
+
Connecting to database specified by database.yml
|
2708
|
+
Connecting to database specified by database.yml
|
2709
|
+
|
2710
|
+
|
2711
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 18:00:39 +0100
|
2712
|
+
Processing by Blogit::PostsController#show as HTML
|
2713
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2714
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2715
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (71.9ms)
|
2716
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (4.9ms)
|
2717
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (79.3ms)
|
2718
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (84.6ms)
|
2719
|
+
Completed 500 Internal Server Error in 105ms
|
2720
|
+
|
2721
|
+
ActionView::Template::Error ([blogit] The pygmentize command could not be found in your load path!
|
2722
|
+
Please either do one of the following:
|
2723
|
+
|
2724
|
+
$ sudo easy_install Pygments) # to install it
|
2725
|
+
|
2726
|
+
or
|
2727
|
+
|
2728
|
+
set config.highlight_code_syntax to false in your blogit.rb config file.
|
2729
|
+
|
2730
|
+
):
|
2731
|
+
1: <%= format_content(post.body) %>
|
2732
|
+
/Users/Gavin/Gems/blogit/lib/blogit/parsers/markdown_parser.rb:48:in `ensure_pygments_is_installed'
|
2733
|
+
/Users/Gavin/Gems/blogit/lib/blogit/parsers/markdown_parser.rb:12:in `parsed'
|
2734
|
+
/Users/Gavin/Gems/blogit/app/helpers/blogit/application_helper.rb:28:in `format_content'
|
2735
|
+
/Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb:1:in `___sers__avin__ems_blogit_app_views_blogit_posts__post_body_html_erb___565794632098263310_70296976529080'
|
2736
|
+
actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render'
|
2737
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
|
2738
|
+
actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
|
2739
|
+
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
|
2740
|
+
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
|
2741
|
+
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
2742
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
|
2743
|
+
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
2744
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
|
2745
|
+
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
2746
|
+
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:237:in `render'
|
2747
|
+
actionpack (3.2.8) lib/action_view/renderer/renderer.rb:41:in `render_partial'
|
2748
|
+
actionpack (3.2.8) lib/action_view/helpers/rendering_helper.rb:27:in `render'
|
2749
|
+
/Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb:7:in `block in ___sers__avin__ems_blogit_app_views_blogit_posts__post_html_erb__580331434581751533_70296978766740'
|
2750
|
+
actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
|
2751
|
+
actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
|
2752
|
+
actionpack (3.2.8) lib/action_view/helpers/capture_helper.rb:40:in `capture'
|
2753
|
+
actionpack (3.2.8) lib/action_view/helpers/tag_helper.rb:95:in `content_tag'
|
2754
|
+
/Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb:1:in `___sers__avin__ems_blogit_app_views_blogit_posts__post_html_erb__580331434581751533_70296978766740'
|
2755
|
+
actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render'
|
2756
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
|
2757
|
+
actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
|
2758
|
+
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
|
2759
|
+
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
|
2760
|
+
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
2761
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
|
2762
|
+
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
2763
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
|
2764
|
+
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
2765
|
+
actionpack (3.2.8) lib/action_view/renderer/partial_renderer.rb:237:in `render'
|
2766
|
+
actionpack (3.2.8) lib/action_view/renderer/renderer.rb:41:in `render_partial'
|
2767
|
+
actionpack (3.2.8) lib/action_view/helpers/rendering_helper.rb:27:in `render'
|
2768
|
+
/Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb:1:in `___sers__avin__ems_blogit_app_views_blogit_posts_show_html_erb__818609365965346330_70296978878800'
|
2769
|
+
actionpack (3.2.8) lib/action_view/template.rb:145:in `block in render'
|
2770
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:125:in `instrument'
|
2771
|
+
actionpack (3.2.8) lib/action_view/template.rb:143:in `render'
|
2772
|
+
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
|
2773
|
+
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
|
2774
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
|
2775
|
+
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
2776
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
|
2777
|
+
actionpack (3.2.8) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
|
2778
|
+
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
|
2779
|
+
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
|
2780
|
+
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
|
2781
|
+
actionpack (3.2.8) lib/action_view/renderer/template_renderer.rb:18:in `render'
|
2782
|
+
actionpack (3.2.8) lib/action_view/renderer/renderer.rb:36:in `render_template'
|
2783
|
+
actionpack (3.2.8) lib/action_view/renderer/renderer.rb:17:in `render'
|
2784
|
+
actionpack (3.2.8) lib/abstract_controller/rendering.rb:110:in `_render_template'
|
2785
|
+
actionpack (3.2.8) lib/action_controller/metal/streaming.rb:225:in `_render_template'
|
2786
|
+
actionpack (3.2.8) lib/abstract_controller/rendering.rb:103:in `render_to_body'
|
2787
|
+
actionpack (3.2.8) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
|
2788
|
+
actionpack (3.2.8) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
|
2789
|
+
actionpack (3.2.8) lib/abstract_controller/rendering.rb:88:in `render'
|
2790
|
+
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:16:in `render'
|
2791
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
|
2792
|
+
activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
|
2793
|
+
/Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
|
2794
|
+
activesupport (3.2.8) lib/active_support/core_ext/benchmark.rb:5:in `ms'
|
2795
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
|
2796
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
|
2797
|
+
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
|
2798
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:39:in `render'
|
2799
|
+
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
2800
|
+
actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
2801
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
|
2802
|
+
actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
2803
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
|
2804
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__452247299678931154__process_action__2310806406290898008__callbacks'
|
2805
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
2806
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
|
2807
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
2808
|
+
actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
|
2809
|
+
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
2810
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
|
2811
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `block in instrument'
|
2812
|
+
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
2813
|
+
activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
|
2814
|
+
actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
|
2815
|
+
actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
|
2816
|
+
activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
2817
|
+
actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
|
2818
|
+
actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
|
2819
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
|
2820
|
+
actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
|
2821
|
+
actionpack (3.2.8) lib/action_controller/metal.rb:246:in `block in action'
|
2822
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
|
2823
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
|
2824
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
|
2825
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
2826
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
2827
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
2828
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
2829
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
2830
|
+
railties (3.2.8) lib/rails/railtie/configurable.rb:30:in `method_missing'
|
2831
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
2832
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
2833
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
2834
|
+
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
|
2835
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
2836
|
+
rack (1.4.1) lib/rack/etag.rb:23:in `call'
|
2837
|
+
rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
|
2838
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
|
2839
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
2840
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
2841
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
|
2842
|
+
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
|
2843
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
|
2844
|
+
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
|
2845
|
+
activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
|
2846
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
2847
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__3288660937958956851__call__3149872817018234628__callbacks'
|
2848
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
|
2849
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
2850
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
2851
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
2852
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
2853
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
2854
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
2855
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
2856
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
2857
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
2858
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
2859
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
2860
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
2861
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
2862
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
2863
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
2864
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
2865
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
2866
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
2867
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
2868
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
2869
|
+
/Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
2870
|
+
/Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
2871
|
+
/Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
2872
|
+
|
2873
|
+
|
2874
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
2875
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
|
2876
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.9ms)
|
2877
|
+
Connecting to database specified by database.yml
|
2878
|
+
|
2879
|
+
|
2880
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 18:02:20 +0100
|
2881
|
+
Processing by Blogit::PostsController#show as HTML
|
2882
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2883
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2884
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (74.3ms)
|
2885
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (172.5ms)
|
2886
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2887
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (20.3ms)
|
2888
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2889
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (18.7ms)
|
2890
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (290.8ms)
|
2891
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2892
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2893
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
2894
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (42.2ms)
|
2895
|
+
Rendered blogit/posts/_post_footer.html.erb (43.3ms)
|
2896
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
2897
|
+
Rendered collection (0.0ms)
|
2898
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (7.3ms)
|
2899
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (10.8ms)
|
2900
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (367.4ms)
|
2901
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2902
|
+
Completed 200 OK in 407ms (Views: 396.4ms | ActiveRecord: 2.2ms)
|
2903
|
+
|
2904
|
+
|
2905
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 18:02:21 +0100
|
2906
|
+
Served asset /blogit/index.css - 304 Not Modified (3ms)
|
2907
|
+
|
2908
|
+
|
2909
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 18:02:21 +0100
|
2910
|
+
Served asset /application.js - 304 Not Modified (12ms)
|
2911
|
+
|
2912
|
+
|
2913
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 18:02:21 +0100
|
2914
|
+
Served asset /jquery_ujs.js - 304 Not Modified (1ms)
|
2915
|
+
|
2916
|
+
|
2917
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 18:02:21 +0100
|
2918
|
+
Served asset /jquery.js - 304 Not Modified (2ms)
|
2919
|
+
|
2920
|
+
|
2921
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 18:02:21 +0100
|
2922
|
+
Served asset /blogit/archive.js - 304 Not Modified (2ms)
|
2923
|
+
|
2924
|
+
|
2925
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 18:02:21 +0100
|
2926
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
2927
|
+
|
2928
|
+
|
2929
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 18:02:21 +0100
|
2930
|
+
Served asset /blogit/index.js - 304 Not Modified (4ms)
|
2931
|
+
Connecting to database specified by database.yml
|
2932
|
+
|
2933
|
+
|
2934
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 18:21:11 +0100
|
2935
|
+
Processing by Blogit::PostsController#show as HTML
|
2936
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2937
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2938
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms)
|
2939
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (209.0ms)
|
2940
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2941
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
|
2942
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2943
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms)
|
2944
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (217.4ms)
|
2945
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2946
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
2947
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
2948
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.0ms)
|
2949
|
+
Rendered blogit/posts/_post_footer.html.erb (4.7ms)
|
2950
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
2951
|
+
Rendered collection (0.0ms)
|
2952
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.9ms)
|
2953
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.6ms)
|
2954
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (229.6ms)
|
2955
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
2956
|
+
Completed 200 OK in 240ms (Views: 238.4ms | ActiveRecord: 0.9ms)
|
2957
|
+
|
2958
|
+
|
2959
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 18:21:12 +0100
|
2960
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
2961
|
+
|
2962
|
+
|
2963
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 18:21:12 +0100
|
2964
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2965
|
+
|
2966
|
+
|
2967
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 18:21:12 +0100
|
2968
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
2969
|
+
|
2970
|
+
|
2971
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 18:21:12 +0100
|
2972
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
2973
|
+
|
2974
|
+
|
2975
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 18:21:12 +0100
|
2976
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2977
|
+
|
2978
|
+
|
2979
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 18:21:12 +0100
|
2980
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
2981
|
+
|
2982
|
+
|
2983
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 18:21:12 +0100
|
2984
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
2985
|
+
|
2986
|
+
|
2987
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 18:21:55 +0100
|
2988
|
+
Processing by Blogit::PostsController#show as HTML
|
2989
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
2990
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
2991
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
|
2992
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (172.1ms)
|
2993
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
2994
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
|
2995
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
2996
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.4ms)
|
2997
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (179.5ms)
|
2998
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
2999
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
3000
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
3001
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.6ms)
|
3002
|
+
Rendered blogit/posts/_post_footer.html.erb (4.3ms)
|
3003
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
3004
|
+
Rendered collection (0.0ms)
|
3005
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.6ms)
|
3006
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.1ms)
|
3007
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (190.6ms)
|
3008
|
+
Completed 500 Internal Server Error in 207ms
|
3009
|
+
|
3010
|
+
ActionView::Template::Error (couldn't find file 'blogit/pygments'
|
3011
|
+
(in /Users/Gavin/Gems/blogit/spec/dummy/app/assets/stylesheets/application.css:7)):
|
3012
|
+
2: <html>
|
3013
|
+
3: <head>
|
3014
|
+
4: <title>Dummy</title>
|
3015
|
+
5: <%= stylesheet_link_tag "blogit", "application" %>
|
3016
|
+
6: <%= csrf_meta_tags %>
|
3017
|
+
7: </head>
|
3018
|
+
8: <body>
|
3019
|
+
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__245696387247541801_70120291360540'
|
3020
|
+
|
3021
|
+
|
3022
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
3023
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
|
3024
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.4ms)
|
3025
|
+
|
3026
|
+
|
3027
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 18:22:24 +0100
|
3028
|
+
Processing by Blogit::PostsController#show as HTML
|
3029
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
3030
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]
|
3031
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
3032
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (174.8ms)
|
3033
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
3034
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
|
3035
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3036
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.0ms)
|
3037
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (181.3ms)
|
3038
|
+
[1m[36mActsAsTaggableOn::Tag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
3039
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
3040
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC[0m
|
3041
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.6ms)
|
3042
|
+
Rendered blogit/posts/_post_footer.html.erb (5.4ms)
|
3043
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
3044
|
+
Rendered collection (0.0ms)
|
3045
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.9ms)
|
3046
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.4ms)
|
3047
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (193.4ms)
|
3048
|
+
Completed 500 Internal Server Error in 205ms
|
3049
|
+
|
3050
|
+
ActionView::Template::Error (cannot load such file -- sass
|
3051
|
+
(in /Users/Gavin/Gems/blogit/app/assets/stylesheets/blogit/pygments.css.scss)):
|
3052
|
+
2: <html>
|
3053
|
+
3: <head>
|
3054
|
+
4: <title>Dummy</title>
|
3055
|
+
5: <%= stylesheet_link_tag "blogit", "application" %>
|
3056
|
+
6: <%= csrf_meta_tags %>
|
3057
|
+
7: </head>
|
3058
|
+
8: <body>
|
3059
|
+
app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__245696387247541801_70120291360540'
|
3060
|
+
|
3061
|
+
|
3062
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
3063
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms)
|
3064
|
+
Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.5ms)
|
3065
|
+
|
3066
|
+
|
3067
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 18:24:32 +0100
|
3068
|
+
Processing by Blogit::PostsController#show as HTML
|
3069
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
3070
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
3071
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
|
3072
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (171.4ms)
|
3073
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3074
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.9ms)
|
3075
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
3076
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.1ms)
|
3077
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (178.6ms)
|
3078
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
3079
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
3080
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
3081
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.7ms)
|
3082
|
+
Rendered blogit/posts/_post_footer.html.erb (4.4ms)
|
3083
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
3084
|
+
Rendered collection (0.0ms)
|
3085
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.5ms)
|
3086
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.0ms)
|
3087
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (189.6ms)
|
3088
|
+
Compiled blogit/pygments.css (0ms) (pid 2799)
|
3089
|
+
Compiled application.css (61ms) (pid 2799)
|
3090
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
3091
|
+
Completed 200 OK in 279ms (Views: 277.7ms | ActiveRecord: 0.8ms)
|
3092
|
+
|
3093
|
+
|
3094
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 18:24:32 +0100
|
3095
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
3096
|
+
|
3097
|
+
|
3098
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 18:24:32 +0100
|
3099
|
+
Served asset /application.css - 200 OK (14ms)
|
3100
|
+
|
3101
|
+
|
3102
|
+
Started GET "/assets/blogit/pygments.css?body=1" for 127.0.0.1 at 2013-04-14 18:24:32 +0100
|
3103
|
+
Served asset /blogit/pygments.css - 200 OK (4ms)
|
3104
|
+
|
3105
|
+
|
3106
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 18:24:32 +0100
|
3107
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3108
|
+
|
3109
|
+
|
3110
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 18:24:32 +0100
|
3111
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3112
|
+
|
3113
|
+
|
3114
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 18:24:33 +0100
|
3115
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3116
|
+
|
3117
|
+
|
3118
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 18:24:33 +0100
|
3119
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
3120
|
+
|
3121
|
+
|
3122
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 18:24:33 +0100
|
3123
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
3124
|
+
|
3125
|
+
|
3126
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 18:25:47 +0100
|
3127
|
+
Processing by Blogit::PostsController#show as HTML
|
3128
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
3129
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
3130
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
3131
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (171.6ms)
|
3132
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3133
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
|
3134
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
3135
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.0ms)
|
3136
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (178.8ms)
|
3137
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.2ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
3138
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
3139
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
3140
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.8ms)
|
3141
|
+
Rendered blogit/posts/_post_footer.html.erb (4.6ms)
|
3142
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
3143
|
+
Rendered collection (0.0ms)
|
3144
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.7ms)
|
3145
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.3ms)
|
3146
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (190.4ms)
|
3147
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
3148
|
+
Completed 200 OK in 198ms (Views: 196.9ms | ActiveRecord: 0.8ms)
|
3149
|
+
|
3150
|
+
|
3151
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 18:25:48 +0100
|
3152
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
3153
|
+
|
3154
|
+
|
3155
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 18:25:48 +0100
|
3156
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3157
|
+
|
3158
|
+
|
3159
|
+
Started GET "/assets/blogit/pygments.css?body=1" for 127.0.0.1 at 2013-04-14 18:25:48 +0100
|
3160
|
+
Served asset /blogit/pygments.css - 304 Not Modified (0ms)
|
3161
|
+
|
3162
|
+
|
3163
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 18:25:48 +0100
|
3164
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3165
|
+
|
3166
|
+
|
3167
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 18:25:48 +0100
|
3168
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
3169
|
+
|
3170
|
+
|
3171
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 18:25:48 +0100
|
3172
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3173
|
+
|
3174
|
+
|
3175
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 18:25:48 +0100
|
3176
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
3177
|
+
|
3178
|
+
|
3179
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 18:25:48 +0100
|
3180
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
3181
|
+
|
3182
|
+
|
3183
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 18:26:04 +0100
|
3184
|
+
Processing by Blogit::PostsController#show as HTML
|
3185
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
3186
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
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 (190.6ms)
|
3189
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3190
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms)
|
3191
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
3192
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.1ms)
|
3193
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (197.9ms)
|
3194
|
+
[1m[35mActsAsTaggableOn::Tag Load (0.1ms)[0m SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
|
3195
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)[0m
|
3196
|
+
[1m[35mBlogit::Post Load (0.1ms)[0m SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
|
3197
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.3ms)
|
3198
|
+
Rendered blogit/posts/_post_footer.html.erb (4.0ms)
|
3199
|
+
[1m[36mBlogit::Comment Load (0.1ms)[0m [1mSELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2[0m
|
3200
|
+
Rendered collection (0.0ms)
|
3201
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.4ms)
|
3202
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.2ms)
|
3203
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (208.6ms)
|
3204
|
+
Compiled application.css (0ms) (pid 2799)
|
3205
|
+
[1m[35mBlogit::Post Load (0.2ms)[0m SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
|
3206
|
+
Completed 200 OK in 232ms (Views: 229.8ms | ActiveRecord: 0.8ms)
|
3207
|
+
|
3208
|
+
|
3209
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 18:26:04 +0100
|
3210
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
3211
|
+
|
3212
|
+
|
3213
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 18:26:04 +0100
|
3214
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3215
|
+
|
3216
|
+
|
3217
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 18:26:04 +0100
|
3218
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3219
|
+
|
3220
|
+
|
3221
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 18:26:04 +0100
|
3222
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3223
|
+
|
3224
|
+
|
3225
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 18:26:04 +0100
|
3226
|
+
Served asset /application.css - 200 OK (3ms)
|
3227
|
+
|
3228
|
+
|
3229
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 18:26:04 +0100
|
3230
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
3231
|
+
|
3232
|
+
|
3233
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 18:26:04 +0100
|
3234
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|
3235
|
+
Connecting to database specified by database.yml
|
3236
|
+
Connecting to database specified by database.yml
|
3237
|
+
Connecting to database specified by database.yml
|
3238
|
+
Connecting to database specified by database.yml
|
3239
|
+
Connecting to database specified by database.yml
|
3240
|
+
Connecting to database specified by database.yml
|
3241
|
+
Connecting to database specified by database.yml
|
3242
|
+
Connecting to database specified by database.yml
|
3243
|
+
Connecting to database specified by database.yml
|
3244
|
+
Connecting to database specified by database.yml
|
3245
|
+
Connecting to database specified by database.yml
|
3246
|
+
Connecting to database specified by database.yml
|
3247
|
+
Connecting to database specified by database.yml
|
3248
|
+
Connecting to database specified by database.yml
|
3249
|
+
|
3250
|
+
|
3251
|
+
Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-04-14 19:02:06 +0100
|
3252
|
+
Processing by Blogit::PostsController#show as HTML
|
3253
|
+
Parameters: {"id"=>"2-this-is-a-new-blog-post"}
|
3254
|
+
[1m[36mBlogit::Post Load (0.1ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1[0m [["id", "2-this-is-a-new-blog-post"]]
|
3255
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
|
3256
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (180.2ms)
|
3257
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
3258
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
|
3259
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
|
3260
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms)
|
3261
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (188.0ms)
|
3262
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_footer.html.erb (0.3ms)
|
3263
|
+
[1m[35mBlogit::Comment Load (0.1ms)[0m SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
|
3264
|
+
Rendered collection (0.0ms)
|
3265
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.7ms)
|
3266
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.7ms)
|
3267
|
+
Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (196.0ms)
|
3268
|
+
[1m[36mBlogit::Post Load (0.2ms)[0m [1mSELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC[0m
|
3269
|
+
Completed 200 OK in 205ms (Views: 203.4ms | ActiveRecord: 0.6ms)
|
3270
|
+
|
3271
|
+
|
3272
|
+
Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-04-14 19:02:07 +0100
|
3273
|
+
Served asset /blogit/index.css - 304 Not Modified (0ms)
|
3274
|
+
|
3275
|
+
|
3276
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-14 19:02:07 +0100
|
3277
|
+
Served asset /application.css - 304 Not Modified (9ms)
|
3278
|
+
|
3279
|
+
|
3280
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-14 19:02:07 +0100
|
3281
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
3282
|
+
|
3283
|
+
|
3284
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-14 19:02:07 +0100
|
3285
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
3286
|
+
|
3287
|
+
|
3288
|
+
Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-04-14 19:02:07 +0100
|
3289
|
+
Served asset /blogit/archive.js - 304 Not Modified (0ms)
|
3290
|
+
|
3291
|
+
|
3292
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-14 19:02:07 +0100
|
3293
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
3294
|
+
|
3295
|
+
|
3296
|
+
Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-04-14 19:02:07 +0100
|
3297
|
+
Served asset /blogit/index.js - 304 Not Modified (0ms)
|