blogit 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. data/app/controllers/blogit/application_controller.rb +11 -11
  2. data/app/helpers/blogit/application_helper.rb +18 -0
  3. data/app/helpers/blogit/posts_helper.rb +5 -21
  4. data/app/views/blogit/comments/_comment.html.erb +1 -1
  5. data/app/views/blogit/posts/_blogger_information.html.erb +1 -1
  6. data/app/views/blogit/posts/_disqus_comments.html.erb +1 -1
  7. data/app/views/blogit/posts/_post_head.html.erb +1 -1
  8. data/app/views/blogit/posts/_related.html.erb +18 -0
  9. data/config/initializers/url_protocol_name.rb +9 -0
  10. data/config/locales/en.yml +2 -0
  11. data/config/locales/fr.yml +18 -0
  12. data/lib/blogit/version.rb +1 -1
  13. data/spec/dummy/app/views/blogit/posts/_post_footer.html.erb +1 -0
  14. data/spec/dummy/app/views/layouts/application.html.erb +3 -1
  15. data/spec/dummy/db/development.sqlite3 +0 -0
  16. data/spec/dummy/db/test.sqlite3 +0 -0
  17. data/spec/dummy/log/development.log +1046 -132
  18. data/spec/dummy/log/test.log +2414 -5883
  19. data/spec/dummy/tmp/cache/assets/C5B/630/sprockets%2F8a34981857e0826772a246e2d7215ce5 +0 -0
  20. data/spec/dummy/tmp/cache/assets/CB5/DD0/sprockets%2F346324d2a51df58457807bee661c449c +0 -0
  21. data/spec/dummy/tmp/cache/assets/CB6/ED0/sprockets%2F4390d06699f3ad4262e342be530f9f91 +0 -0
  22. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  23. data/spec/dummy/tmp/cache/assets/CE7/230/sprockets%2F6f493a817d97133a8dbf674bcd322670 +0 -0
  24. data/spec/dummy/tmp/cache/assets/CEE/310/sprockets%2F89642af8492e579dcd7162a0e2b7f155 +0 -0
  25. data/spec/dummy/tmp/cache/assets/D01/8C0/sprockets%2F332d5a9ce3e800c6c4a7a99058023ba2 +0 -0
  26. data/spec/dummy/tmp/cache/assets/D11/CC0/sprockets%2F3a12dfa6665b5318fa99d097203ac7e7 +0 -0
  27. data/spec/dummy/tmp/cache/assets/D12/8E0/sprockets%2F589dd1f5f312060f7ea7179ed0d1b690 +0 -0
  28. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  30. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  31. data/spec/dummy/tmp/cache/assets/D5B/660/sprockets%2F4bb4e11ca3769b37bdac230e17180f2f +0 -0
  32. data/spec/dummy/tmp/cache/assets/D60/F70/sprockets%2F336e00e00f731efa2546eeae7691ba1e +0 -0
  33. data/spec/dummy/tmp/cache/assets/D61/6F0/sprockets%2F02da53eeca228bcef0c49278517111fe +0 -0
  34. data/spec/dummy/tmp/cache/assets/DCA/9B0/sprockets%2Fdf0e8f8a85e5d4056b3fe1cec3b7131a +0 -0
  35. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  36. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  37. data/spec/dummy/tmp/pids/server.pid +1 -0
  38. data/spec/helpers/blogit/application_helper_spec.rb +12 -7
  39. data/spec/helpers/blogit/posts_helper_spec.rb +29 -45
  40. data/spec/lib/action_dispatch/http/url_spec.rb +21 -0
  41. data/spec/routing/post_routing_spec.rb +49 -46
  42. metadata +48 -5
  43. data/app/helpers/blogit/comments_helper.rb +0 -19
@@ -2,24 +2,24 @@ module Blogit
2
2
 
3
3
  # Inherits from the application's controller instead of ActionController::Base
4
4
  class ApplicationController < ::ApplicationController
5
-
6
- helper Blogit::ApplicationHelper, Blogit::PostsHelper, Blogit::CommentsHelper
5
+
6
+ helper Blogit::ApplicationHelper, Blogit::PostsHelper
7
7
  helper_method :current_blogger, :blogit_conf
8
-
8
+
9
9
  # Sets a class method to specify a before-filter calling
10
10
  # whatever Blogit.configuration.authentication_method is set to
11
11
  # Accepts the usual before_filter optionss
12
12
  def self.blogit_authenticate(options ={})
13
13
  before_filter blogit_conf.authentication_method, options
14
14
  end
15
-
15
+
16
16
  # A helper method to access the Blogit::configuration
17
17
  # at the class level
18
18
  def self.blogit_conf
19
19
  Blogit::configuration
20
20
  end
21
-
22
- # Turns on page caching for the given actions if
21
+
22
+ # Turns on page caching for the given actions if
23
23
  # Blogit.configuration.cache_pages is true
24
24
  def self.blogit_cacher(*args)
25
25
  if blogit_conf.cache_pages
@@ -27,31 +27,31 @@ module Blogit
27
27
  end
28
28
  end
29
29
 
30
- # Sets a cache sweeper to observe changes if
30
+ # Sets a cache sweeper to observe changes if
31
31
  # Blogit.configuration.cache_pages is true
32
32
  def self.blogit_sweeper(*args)
33
33
  if blogit_conf.cache_pages
34
34
  cache_sweeper Blogit::BlogitSweeper, only: args
35
35
  end
36
36
  end
37
-
37
+
38
38
  # A helper method to access the Blogit::configuration
39
39
  # at the controller instance level
40
40
  def blogit_conf
41
41
  self.class.blogit_conf
42
42
  end
43
-
43
+
44
44
  # Returns the currently logged in blogger by calling
45
45
  # whatever Blogit.current_blogger_method is set to
46
46
  def current_blogger
47
47
  send blogit_conf.current_blogger_method
48
48
  end
49
-
49
+
50
50
  # Returns true if the current_blogger is the owner of the post
51
51
  # @param post An instance of Blogit::Post
52
52
  def this_blogger?(post)
53
53
  current_blogger == post.blogger
54
54
  end
55
-
55
+
56
56
  end
57
57
  end
@@ -3,6 +3,24 @@ module Blogit
3
3
 
4
4
  TIMETAG_FORMAT = "%Y-%m-%dT%TZ"
5
5
 
6
+ # Creates a div tag with class 'blog_' + (post|comment) + '_' + name
7
+ # Eg:
8
+ # blog_tag(:title, "") # => <div class="blog_post_title"></div>
9
+ # blog_tag(:email, "", {:type => "comment"}) # => <div class="blog_comment_email"></div>
10
+ # blog_tag(:tweet, "", {:type => "status"}) # => <div class="blog_status_tweet"></div>
11
+ def blog_tag(name, content_or_options = {}, options = {}, &block)
12
+ tag_type = options.delete(:type) || "post"
13
+
14
+ if block_given?
15
+ content = capture(&block)
16
+ options = content_or_options
17
+ else
18
+ content = content_or_options
19
+ end
20
+ options[:class] = "#{options[:class]} blog_#{tag_type}_#{name}".strip
21
+ content_tag(name, content, options)
22
+ end
23
+
6
24
  # Format content using the {Blogit::Configuration#default_parser_class default_parser_class}
7
25
  def format_content(content = nil, &block)
8
26
  content = capture(&block) if block_given?
@@ -1,20 +1,6 @@
1
1
  module Blogit
2
2
  module PostsHelper
3
3
 
4
- # Creates a div tag with class 'blog_post_' + name
5
- # Eg:
6
- # blog_post_tag(:title, "") # => <div class="blog_post_title"></div>
7
- def blog_post_tag(name, content_or_options = {}, options ={}, &block)
8
- if block_given?
9
- content = capture(&block)
10
- options = content_or_options
11
- else
12
- content = content_or_options
13
- end
14
- options[:class] = "#{options[:class]} blog_post_#{name}".strip
15
- content_tag(name, content, options)
16
- end
17
-
18
4
  # A comments tag corresponding to the comments configuration
19
5
  def comments_for(post)
20
6
  render(partial: "blogit/posts/#{Blogit.configuration.include_comments}_comments", locals: { post: post, comment: Blogit::Comment.new })
@@ -22,11 +8,8 @@ module Blogit
22
8
 
23
9
  # A share bar as configured
24
10
  def share_bar_for(post)
25
- if !Blogit.configuration.include_share_bar
26
- ""
27
- else
28
- render(partial: "blogit/posts/share_bar", locals: { post: post})
29
- end
11
+ return "" unless Blogit.configuration.include_share_bar
12
+ render(partial: "blogit/posts/share_bar", locals: { post: post})
30
13
  end
31
14
 
32
15
  # Creates a ul tag tree with posts by year and monthes. Include
@@ -35,7 +18,8 @@ module Blogit
35
18
  # @param month_css [String, Symbol] The CSS class of the month UL tag
36
19
  # @param post_css [String, Symbol] The CSS class of the year LI tag
37
20
  # @param archive_posts [ActiveRecord::Relation, Array] The posts to be included in the archive (defaults to Post.all)
38
- def blog_posts_archive_tag(year_css, month_css, post_css, archive_posts = Post.all)
21
+ # @yield[post] block responsible for writing the link (or whatever) to the post
22
+ def blog_posts_archive_tag(year_css, month_css, post_css, archive_posts = Post.order("created_at DESC"))
39
23
  posts_tree = archive_posts.chunk {|post| post.created_at.year}.map do |year, posts_of_year|
40
24
  [year, posts_of_year.chunk {|post| l(post.created_at, format: :plain_month_only) }]
41
25
  end
@@ -47,7 +31,7 @@ module Blogit
47
31
  posts_by_month.each do |month, posts|
48
32
  result << "<li><a data-blogit-click-to-toggle-children>#{CGI.escape_html(month)}</a><ul class=\"#{post_css}\">"
49
33
  posts.each do |post|
50
- result << "<li><a href=\"#{blogit.post_path(post)}\">#{CGI.escape_html(post.title)}</a></li>"
34
+ result << "<li>#{yield post}</li>"
51
35
  end
52
36
  result << "</ul></li>"
53
37
  end
@@ -9,7 +9,7 @@
9
9
  <%= format_content comment.body || "" %>
10
10
  <% end %>
11
11
 
12
- <%= blog_comment_tag(:footer) do %>
12
+ <%= blog_tag(:footer, type: "comment") do %>
13
13
  <%=t :posted_on, scope: 'blogit.comments'%> <%= time_tag(comment.created_at, Blogit.configuration.datetime_format) %>
14
14
  <% end %>
15
15
 
@@ -1,4 +1,4 @@
1
- <%= blog_post_tag :footer do %>
1
+ <%= blog_tag :footer do %>
2
2
  <%=t :written_by, scope: 'blogit.posts', author: post.blogger_display_name %>
3
3
  <%= time_tag(post.created_at, blogit_conf.datetime_format) %>
4
4
  <% end %>
@@ -6,7 +6,7 @@
6
6
  /* * * DON'T EDIT BELOW THIS LINE * * */
7
7
  (function() {
8
8
  var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
9
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
9
+ dsq.src = '<%= request.protocol %>' + disqus_shortname + '.disqus.com/embed.js?<%= request.protocol_name %>';
10
10
  (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
11
11
  })();
12
12
  </script>
@@ -1,3 +1,3 @@
1
- <%= blog_post_tag :header do %>
1
+ <%= blog_tag :header do %>
2
2
  <%= content_tag(:h1, link_to(post.title, post)) %>
3
3
  <% end %>
@@ -0,0 +1,18 @@
1
+ <div id="blog_related">
2
+ <div id="blog_tags">
3
+ <h2><%= t :tags, :scope => "blogit.posts" %></h2>
4
+ <ul>
5
+ <% post.tag_list.each do |tag| %>
6
+ <li><%= link_to tag, tagged_blog_posts_path(tag) %></li>
7
+ <% end %>
8
+ </ul>
9
+ </div>
10
+ <div id="blog_related_posts">
11
+ <h2><%= t :related_posts, :scope => "blogit.posts" %></h2>
12
+ <ul>
13
+ <% post.find_related_on_tags.each do |other_post| %>
14
+ <li><%= link_to other_post.title, post_path(other_post) %></li>
15
+ <% end %>
16
+ </ul>
17
+ </div>
18
+ </div>
@@ -0,0 +1,9 @@
1
+ module ActionDispatch
2
+ module Http
3
+ module URL
4
+ def protocol_name
5
+ protocol.gsub(/:\/\/$/, "")
6
+ end
7
+ end
8
+ end
9
+ end
@@ -39,6 +39,8 @@ en:
39
39
  blog_post_was_successfully_created: "Blog post was successfully created."
40
40
  blog_post_was_successfully_updated: "Blog post was successfully updated."
41
41
  blog_post_was_successfully_destroyed: "Blog post was successfully destroyed."
42
+ tags: "Tags"
43
+ related_posts: "Related posts"
42
44
  share_bar:
43
45
  facebook: "en_US"
44
46
 
@@ -40,6 +40,8 @@ fr:
40
40
  blog_post_was_successfully_created: "Article ajouté avec succès."
41
41
  blog_post_was_successfully_updated: "Article modifié avec succès."
42
42
  blog_post_was_successfully_destroyed: "Article supprimé avec succès."
43
+ tags: "Catégories"
44
+ related_posts: "Articles similaires"
43
45
  share_bar:
44
46
  facebook: "fr_FR"
45
47
 
@@ -59,3 +61,19 @@ fr:
59
61
  name: "nom"
60
62
  body: "corps"
61
63
 
64
+ views:
65
+ pagination:
66
+ first: "&laquo; Premiers"
67
+ last: "Derniers &raquo;"
68
+ previous: "&lsaquo; Précédents"
69
+ next: "Suivants &rsaquo;"
70
+ truncate: "&hellip;"
71
+ helpers:
72
+ page_entries_info:
73
+ one_page:
74
+ display_entries:
75
+ zero: "Aucun %{entry_name} n'a été trouvé"
76
+ one: "<b>1</b> %{entry_name}"
77
+ other: "<b>Tous les %{count}</b> %{entry_name}s"
78
+ more_pages:
79
+ display_entries: "${entry_name}s <b>%{first}&nbsp;-&nbsp;%{last}</b> d'un total de <b>%{total}</b>"
@@ -1,3 +1,3 @@
1
1
  module Blogit
2
- VERSION = "0.5.1"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -0,0 +1 @@
1
+ <%= render "blogit/posts/related", post: post %>
@@ -21,7 +21,9 @@
21
21
  </div>
22
22
 
23
23
  <div id="sidebar">
24
- <%= blog_posts_archive_tag('archive-year', 'archive-month', 'archive-post') %>
24
+ <%= blog_posts_archive_tag('archive-year', 'archive-month', 'archive-post') do |post| %>
25
+ <% link_to(post.title, blogit.post_path(post)) %>
26
+ <% end %>
25
27
  </div>
26
28
 
27
29
  <footer id="application_footer">
Binary file
@@ -1,155 +1,1069 @@
1
1
  Connecting to database specified by database.yml
2
-  (0.1ms) select sqlite_version(*)
3
-  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
-  (0.0ms) PRAGMA index_list("schema_migrations")
5
-  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2
+
3
+
4
+ Started GET "/" for 127.0.0.1 at 2013-01-17 21:19:25 +0000
5
+ Processing by Blogit::PostsController#index as HTML
6
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (20.9ms)
7
+ Completed 500 Internal Server Error in 33ms
8
+
9
+ ActionView::Template::Error (Could not find table 'users'):
10
+ 1: <%= login_required class: "actions", id: "new_blog_post_link" do %>
11
+ 2: <%= link_to t(:new_blog_post, scope: 'blogit.posts'), new_post_path %>
12
+ 3: <% end %>
13
+ 4:
14
+ app/controllers/application_controller.rb:9:in `current_user'
15
+
16
+
17
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@KatanaCode/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
18
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@KatanaCode/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
19
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@KatanaCode/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.2ms)
6
20
  Connecting to database specified by database.yml
7
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
21
+  (0.1ms) select sqlite_version(*)
22
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
23
+  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
8
25
  Migrating to CreateUsers (20110814091304)
9
-  (0.0ms) select sqlite_version(*)
10
26
   (0.0ms) begin transaction
11
27
   (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
12
28
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')
13
-  (51.1ms) commit transaction
14
- Migrating to CreatePeople (20110819103335)
29
+  (10.3ms) commit transaction
30
+ Migrating to CreateBlogPosts (20110814091434)
15
31
   (0.1ms) begin transaction
16
-  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
17
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')
18
-  (4.2ms) commit transaction
19
- Migrating to CreateBlogPosts (20111118222920)
20
-  (0.0ms) begin transaction
21
32
   (0.4ms) CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
22
-  (0.0ms) PRAGMA index_list("blog_posts")
23
-  (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")
24
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222920')
25
-  (5.7ms) commit transaction
26
- Migrating to CreateBlogComments (20111118222921)
27
-  (0.0ms) begin transaction
28
-  (0.3ms) CREATE TABLE "blog_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "website" varchar(255), "body" text NOT NULL, "post_id" integer NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
29
-  (0.0ms) PRAGMA index_list("blog_comments")
30
-  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
31
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222921')
32
-  (4.1ms) commit transaction
33
- Migrating to ActsAsTaggableOnMigration (20111118222922)
34
-  (0.1ms) begin transaction
35
-  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
36
-  (0.1ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime) 
37
-  (0.0ms) PRAGMA index_list("taggings")
38
-  (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
39
-  (0.0ms) PRAGMA index_list("taggings")
40
-  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
41
-  (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
42
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222922')
43
-  (4.7ms) commit transaction
44
-  (0.3ms) select sqlite_version(*)
45
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
46
-  (0.0ms) PRAGMA index_list("blog_comments")
47
-  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')
48
-  (0.0ms) PRAGMA index_list("blog_posts")
49
-  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
50
-  (0.0ms) PRAGMA index_list("people")
51
-  (0.0ms) PRAGMA index_list("taggings")
52
-  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
53
-  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
54
-  (0.0ms) PRAGMA index_list("tags")
55
-  (0.0ms) PRAGMA index_list("users")
56
- Connecting to database specified by database.yml
57
- Connecting to database specified by database.yml
58
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
59
- Migrating to CreateUsers (20110814091304)
60
- Migrating to CreateBlogPosts (20110814091434)
61
-  (0.0ms) select sqlite_version(*)
62
-  (0.0ms) begin transaction
63
-  (0.3ms) CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
64
- SQLite3::SQLException: table "blog_posts" already exists: CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
65
-  (0.1ms) rollback transaction
66
- Connecting to database specified by database.yml
67
-  (0.1ms) select sqlite_version(*)
68
-  (53.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
69
-  (0.0ms) PRAGMA index_list("schema_migrations")
70
-  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
71
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
72
- Migrating to CreateUsers (20110814091304)
73
-  (0.0ms) begin transaction
74
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
75
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')
76
-  (4.6ms) commit transaction
77
- Migrating to CreateBlogPosts (20110814091434)
78
-  (0.0ms) begin transaction
79
-  (0.3ms) CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
80
-  (0.0ms) PRAGMA index_list("blog_posts")
81
33
   (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")
82
34
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091434')
83
-  (5.5ms) commit transaction
35
+  (2.5ms) commit transaction
84
36
  Migrating to CreateBlogComments (20110814093229)
85
37
   (0.0ms) begin transaction
86
-  (0.3ms) CREATE TABLE "blog_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "website" varchar(255), "body" text NOT NULL, "post_id" integer NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
87
-  (0.0ms) PRAGMA index_list("blog_comments")
88
-  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
89
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')
90
-  (4.5ms) commit transaction
38
+  (0.4ms) CREATE TABLE "blog_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "website" varchar(255), "body" text NOT NULL, "post_id" integer NOT NULL, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
39
+  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")
40
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')
41
+  (7.7ms) commit transaction
91
42
  Migrating to ActsAsTaggableOnMigration (20110814103306)
92
-  (0.0ms) begin transaction
93
-  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
94
-  (0.1ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime)
95
-  (0.0ms) PRAGMA index_list("taggings")
43
+  (0.0ms) begin transaction
44
+  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
45
+  (0.1ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "tagger_id" integer, "tagger_type" varchar(255), "context" varchar(255), "created_at" datetime) 
96
46
   (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
97
-  (0.0ms) PRAGMA index_list("taggings")
98
-  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
99
47
   (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
100
48
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814103306')
101
-  (4.0ms) commit transaction
49
+  (3.7ms) commit transaction
102
50
  Migrating to CreatePeople (20110819103335)
103
51
   (0.0ms) begin transaction
104
-  (0.4ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
52
+  (0.8ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
105
53
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')
106
-  (4.3ms) commit transaction
107
-  (0.3ms) select sqlite_version(*)
108
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
109
-  (0.0ms) PRAGMA index_list("blog_comments")
110
-  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')
111
-  (0.0ms) PRAGMA index_list("blog_posts")
112
-  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
113
-  (0.0ms) PRAGMA index_list("people")
114
-  (0.0ms) PRAGMA index_list("taggings")
115
-  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
116
-  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
117
-  (0.0ms) PRAGMA index_list("tags")
118
-  (0.0ms) PRAGMA index_list("users")
54
+  (5.0ms) commit transaction
55
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
119
56
  Connecting to database specified by database.yml
120
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
121
- Migrating to CreateUsers (20110814091304)
122
- Migrating to CreatePeople (20110819103335)
123
-  (0.2ms) select sqlite_version(*)
124
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
125
-  (0.0ms) PRAGMA index_list("blog_comments")
126
-  (0.1ms) PRAGMA index_info('index_blog_comments_on_post_id')
127
-  (0.0ms) PRAGMA index_list("blog_posts")
128
-  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
129
-  (0.0ms) PRAGMA index_list("people")
130
-  (0.0ms) PRAGMA index_list("taggings")
131
-  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
132
-  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
133
-  (0.0ms) PRAGMA index_list("tags")
134
-  (0.0ms) PRAGMA index_list("users")
57
+
58
+
59
+ Started GET "/" for 127.0.0.1 at 2013-01-17 21:19:56 +0000
60
+ Processing by Blogit::PostsController#index as HTML
61
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
62
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
63
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (9.2ms)
64
+  (0.2ms) SELECT COUNT(*) FROM "blog_posts" 
65
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (20.4ms)
66
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (90.9ms)
67
+ Compiled blogit/index.css (0ms) (pid 36676)
68
+ Compiled application.css (0ms) (pid 36676)
69
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
70
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
71
+ Compiled jquery.js (2ms) (pid 36676)
72
+ Compiled jquery_ujs.js (1ms) (pid 36676)
73
+ Compiled application.js (112ms) (pid 36676)
74
+ Compiled blogit/archive.js (0ms) (pid 36676)
75
+ Compiled blogit/index.js (20ms) (pid 36676)
76
+ Completed 200 OK in 517ms (Views: 514.3ms | ActiveRecord: 1.4ms)
77
+
78
+
79
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
80
+ Served asset /jquery.js - 304 Not Modified (37ms)
81
+
82
+
83
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
84
+ Served asset /application.js - 200 OK (7ms)
85
+
86
+
87
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
88
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
89
+
90
+
91
+ Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
92
+ Served asset /blogit/index.css - 200 OK (2ms)
93
+
94
+
95
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
96
+ Served asset /application.css - 200 OK (3ms)
97
+
98
+
99
+ Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
100
+ Served asset /blogit/archive.js - 200 OK (8ms)
101
+
102
+
103
+ Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-01-17 21:19:57 +0000
104
+ Served asset /blogit/index.js - 200 OK (16ms)
105
+
106
+
107
+ Started GET "/session/new" for 127.0.0.1 at 2013-01-17 21:20:02 +0000
108
+ Processing by SessionsController#new as HTML
109
+ Rendered sessions/new.html.erb within layouts/application (9.2ms)
110
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
111
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
112
+ Completed 200 OK in 35ms (Views: 34.3ms | ActiveRecord: 0.3ms)
113
+
114
+
115
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:20:02 +0000
116
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
117
+
118
+
119
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:20:02 +0000
120
+ Served asset /jquery.js - 304 Not Modified (0ms)
135
121
  Connecting to database specified by database.yml
136
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
137
- Migrating to CreateUsers (20110814091304)
138
- Migrating to CreateBlogPosts (20110814091434)
139
- Migrating to CreateBlogComments (20110814093229)
140
- Migrating to ActsAsTaggableOnMigration (20110814103306)
141
- Migrating to CreatePeople (20110819103335)
142
-  (0.3ms) select sqlite_version(*)
143
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
144
-  (0.0ms) PRAGMA index_list("blog_comments")
145
-  (0.1ms) PRAGMA index_info('index_blog_comments_on_post_id')
146
-  (0.0ms) PRAGMA index_list("blog_posts")
147
-  (0.1ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')
148
-  (0.0ms) PRAGMA index_list("people")
149
-  (0.0ms) PRAGMA index_list("taggings")
150
-  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')
151
-  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')
152
-  (0.0ms) PRAGMA index_list("tags")
153
-  (0.0ms) PRAGMA index_list("users")
154
122
  Connecting to database specified by database.yml
123
+
124
+
125
+ Started GET "/session" for 127.0.0.1 at 2013-01-17 21:21:08 +0000
126
+
127
+ ActionController::RoutingError (No route matches [GET] "/session"):
128
+ actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
129
+ actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
130
+ railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
131
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
132
+ activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
133
+ railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
134
+ actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
135
+ rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
136
+ rack (1.4.4) lib/rack/runtime.rb:17:in `call'
137
+ activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
138
+ rack (1.4.4) lib/rack/lock.rb:15:in `call'
139
+ actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
140
+ railties (3.2.11) lib/rails/engine.rb:479:in `call'
141
+ railties (3.2.11) lib/rails/application.rb:223:in `call'
142
+ rack (1.4.4) lib/rack/content_length.rb:14:in `call'
143
+ railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call'
144
+ rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service'
145
+ /Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
146
+ /Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
147
+ /Users/Gavin/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
148
+
149
+
150
+ Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@KatanaCode/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (6.0ms)
151
+
152
+
153
+ Started GET "/" for 127.0.0.1 at 2013-01-17 21:21:13 +0000
154
+ Processing by Blogit::PostsController#index as HTML
155
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
156
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
157
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (8.8ms)
158
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
159
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (3.6ms)
160
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (35.6ms)
161
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
162
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
163
+ Completed 200 OK in 98ms (Views: 95.3ms | ActiveRecord: 1.3ms)
164
+
165
+
166
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:13 +0000
167
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
168
+
169
+
170
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:13 +0000
171
+ Served asset /jquery.js - 304 Not Modified (2ms)
172
+
173
+
174
+ Started GET "/session/new" for 127.0.0.1 at 2013-01-17 21:21:15 +0000
175
+ Processing by SessionsController#new as HTML
176
+ Rendered sessions/new.html.erb within layouts/application (2.7ms)
177
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
178
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
179
+ Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.3ms)
180
+
181
+
182
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:15 +0000
183
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
184
+
185
+
186
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:15 +0000
187
+ Served asset /jquery.js - 304 Not Modified (0ms)
188
+
189
+
190
+ Started POST "/session" for 127.0.0.1 at 2013-01-17 21:21:18 +0000
191
+ Processing by SessionsController#create as HTML
192
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "session"=>{"username"=>"gavinmorrice", "password"=>"[FILTERED]"}, "commit"=>"Log in"}
193
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'gavinmorrice' AND "users"."password" = 'password' LIMIT 1
194
+ Redirected to http://localhost:3000/
195
+ Completed 302 Found in 10ms (ActiveRecord: 0.2ms)
196
+
197
+
198
+ Started GET "/" for 127.0.0.1 at 2013-01-17 21:21:18 +0000
199
+ Processing by Blogit::PostsController#index as HTML
200
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
201
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
202
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_empty.html.erb (0.1ms)
203
+  (0.2ms) SELECT COUNT(*) FROM "blog_posts" 
204
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (24.5ms)
205
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (29.1ms)
206
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
207
+ Completed 200 OK in 41ms (Views: 39.5ms | ActiveRecord: 0.7ms)
208
+
209
+
210
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:18 +0000
211
+ Served asset /jquery.js - 304 Not Modified (0ms)
212
+
213
+
214
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:18 +0000
215
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
216
+
217
+
218
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:21:21 +0000
219
+ Processing by Blogit::PostsController#new as HTML
220
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
221
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
222
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (69.6ms)
223
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (84.2ms)
224
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
225
+ Completed 200 OK in 170ms (Views: 91.0ms | ActiveRecord: 1.0ms)
226
+
227
+
228
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:21 +0000
229
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
230
+
231
+
232
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:21 +0000
233
+ Served asset /jquery.js - 304 Not Modified (0ms)
234
+
235
+
236
+ Started POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:21:33 +0000
237
+ Processing by Blogit::PostsController#create as HTML
238
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"Test Blog Post", "body"=>"osfjaos fjasofdja osfjd aosidfj aosidfj aoisj", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
239
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
240
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
241
+  (0.0ms) begin transaction
242
+ SQL (10.1ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "osfjaos fjasofdja osfjd aosidfj aosidfj aoisj"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00], ["title", "Test Blog Post"], ["updated_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00]]
243
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
244
+ ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'one' LIMIT 1
245
+ SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "one"]]
246
+ ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'two' LIMIT 1
247
+ SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "two"]]
248
+ ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'three' LIMIT 1
249
+ SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "three"]]
250
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
251
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
252
+ SQL (0.4ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00], ["tag_id", 1], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
253
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
254
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00], ["tag_id", 2], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
255
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 1 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
256
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:21:33 UTC +00:00], ["tag_id", 3], ["taggable_id", 1], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
257
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
258
+  (3.1ms) commit transaction
259
+ Redirected to http://localhost:3000/blog/posts/1-test-blog-post
260
+ Completed 302 Found in 183ms (ActiveRecord: 15.3ms)
261
+
262
+
263
+ Started GET "/blog/posts/1-test-blog-post" for 127.0.0.1 at 2013-01-17 21:21:33 +0000
264
+ Processing by Blogit::PostsController#show as HTML
265
+ Parameters: {"id"=>"1-test-blog-post"}
266
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-blog-post"]]
267
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
268
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (1.0ms)
269
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
270
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (3.3ms)
271
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
272
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.4ms)
273
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (35.6ms)
274
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.9ms)
275
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
276
+ CACHE (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
277
+ Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
278
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.9ms)
279
+ Rendered blogit/posts/_post_footer.html.erb (7.7ms)
280
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
281
+ Rendered collection (0.0ms)
282
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (5.8ms)
283
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (10.3ms)
284
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (107.2ms)
285
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
286
+ Completed 200 OK in 116ms (Views: 113.7ms | ActiveRecord: 1.5ms)
287
+
288
+
289
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:34 +0000
290
+ Served asset /jquery.js - 304 Not Modified (0ms)
291
+
292
+
293
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:34 +0000
294
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
295
+
296
+
297
+ Started GET "/blog/posts/tagged/one" for 127.0.0.1 at 2013-01-17 21:21:47 +0000
298
+ Processing by Blogit::PostsController#tagged as HTML
299
+ Parameters: {"tag"=>"one"}
300
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one')
301
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
302
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" JOIN taggings posts_taggings_3b091e3 ON posts_taggings_3b091e3.taggable_id = blog_posts.id AND posts_taggings_3b091e3.taggable_type = 'Blogit::Post' AND posts_taggings_3b091e3.tag_id = 1 LIMIT 5 OFFSET 0) subquery_for_count
303
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" JOIN taggings posts_taggings_3b091e3 ON posts_taggings_3b091e3.taggable_id = blog_posts.id AND posts_taggings_3b091e3.taggable_type = 'Blogit::Post' AND posts_taggings_3b091e3.tag_id = 1 ORDER BY created_at DESC LIMIT 5 OFFSET 0
304
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms)
305
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
306
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.1ms)
307
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
308
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.7ms)
309
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (21.7ms)
310
+  (0.2ms) SELECT COUNT(*) FROM "blog_posts" JOIN taggings posts_taggings_3b091e3 ON posts_taggings_3b091e3.taggable_id = blog_posts.id AND posts_taggings_3b091e3.taggable_type = 'Blogit::Post' AND posts_taggings_3b091e3.tag_id = 1
311
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.9ms)
312
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (30.1ms)
313
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
314
+ Completed 200 OK in 95ms (Views: 37.0ms | ActiveRecord: 1.1ms)
315
+
316
+
317
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:47 +0000
318
+ Served asset /jquery.js - 304 Not Modified (0ms)
319
+
320
+
321
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:21:47 +0000
322
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
155
323
  Connecting to database specified by database.yml
324
+
325
+
326
+ Started GET "/blog/posts/tagged/one" for 127.0.0.1 at 2013-01-17 21:24:00 +0000
327
+ Processing by Blogit::PostsController#tagged as HTML
328
+ Parameters: {"tag"=>"one"}
329
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one')
330
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
331
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" JOIN taggings posts_taggings_95370d8 ON posts_taggings_95370d8.taggable_id = blog_posts.id AND posts_taggings_95370d8.taggable_type = 'Blogit::Post' AND posts_taggings_95370d8.tag_id = 1 LIMIT 5 OFFSET 0) subquery_for_count 
332
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" JOIN taggings posts_taggings_95370d8 ON posts_taggings_95370d8.taggable_id = blog_posts.id AND posts_taggings_95370d8.taggable_type = 'Blogit::Post' AND posts_taggings_95370d8.tag_id = 1 ORDER BY created_at DESC LIMIT 5 OFFSET 0
333
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (2.4ms)
334
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.9ms)
335
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms)
336
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
337
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (15.5ms)
338
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (26.4ms)
339
+  (0.2ms) SELECT COUNT(*) FROM "blog_posts" JOIN taggings posts_taggings_95370d8 ON posts_taggings_95370d8.taggable_id = blog_posts.id AND posts_taggings_95370d8.taggable_type = 'Blogit::Post' AND posts_taggings_95370d8.tag_id = 1
340
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (4.1ms)
341
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (142.5ms)
342
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
343
+ Completed 200 OK in 326ms (Views: 207.0ms | ActiveRecord: 2.1ms)
344
+
345
+
346
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:01 +0000
347
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
348
+
349
+
350
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:01 +0000
351
+ Served asset /jquery.js - 304 Not Modified (2ms)
352
+
353
+
354
+ Started GET "/blog/posts/1-test-blog-post" for 127.0.0.1 at 2013-01-17 21:24:05 +0000
355
+ Processing by Blogit::PostsController#show as HTML
356
+ Parameters: {"id"=>"1-test-blog-post"}
357
+ Blogit::Post Load (0.4ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-blog-post"]]
358
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
359
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (2.6ms)
360
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
361
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (6.1ms)
362
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
363
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (8.2ms)
364
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (33.1ms)
365
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.9ms)
366
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
367
+ CACHE (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
368
+ Blogit::Post Load (0.3ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
369
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (60.3ms)
370
+ Rendered blogit/posts/_post_footer.html.erb (73.1ms)
371
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1
372
+ Rendered collection (0.0ms)
373
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (5.2ms)
374
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (13.6ms)
375
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (171.3ms)
376
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
377
+ Completed 200 OK in 183ms (Views: 180.0ms | ActiveRecord: 1.8ms)
378
+
379
+
380
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:05 +0000
381
+ Served asset /jquery.js - 304 Not Modified (0ms)
382
+
383
+
384
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:05 +0000
385
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
386
+
387
+
388
+ Started GET "/blog/" for 127.0.0.1 at 2013-01-17 21:24:30 +0000
389
+ Processing by Blogit::PostsController#index as HTML
390
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
391
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
392
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
393
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
394
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
395
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
396
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
397
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.7ms)
398
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (16.9ms)
399
+  (0.2ms) SELECT COUNT(*) FROM "blog_posts"
400
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.7ms)
401
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (31.8ms)
402
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
403
+ Completed 200 OK in 48ms (Views: 43.5ms | ActiveRecord: 0.8ms)
404
+
405
+
406
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:30 +0000
407
+ Served asset /jquery.js - 304 Not Modified (0ms)
408
+
409
+
410
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:30 +0000
411
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
412
+
413
+
414
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:24:32 +0000
415
+ Processing by Blogit::PostsController#new as HTML
416
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
417
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
418
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (12.2ms)
419
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (29.1ms)
420
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
421
+ Completed 200 OK in 42ms (Views: 38.1ms | ActiveRecord: 0.6ms)
422
+
423
+
424
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:32 +0000
425
+ Served asset /jquery.js - 304 Not Modified (0ms)
426
+
427
+
428
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:32 +0000
429
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
430
+
431
+
432
+ Started POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:24:45 +0000
433
+ Processing by Blogit::PostsController#create as HTML
434
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"sadfiasjf oasijfd", "body"=>"oijsafo iajsodf ijaosidfj", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
435
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
436
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
437
+  (0.0ms) begin transaction
438
+ SQL (0.8ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "oijsafo iajsodf ijaosidfj"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00], ["title", "sadfiasjf oasijfd"], ["updated_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00]]
439
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
440
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
441
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
442
+ SQL (0.4ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00], ["tag_id", 1], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
443
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
444
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00], ["tag_id", 2], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
445
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 2 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
446
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:45 UTC +00:00], ["tag_id", 3], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
447
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" 
448
+  (4.9ms) commit transaction
449
+ Redirected to http://localhost:3000/blog/posts/2-sadfiasjf-oasijfd
450
+ Completed 302 Found in 90ms (ActiveRecord: 7.3ms)
451
+
452
+
453
+ Started GET "/blog/posts/2-sadfiasjf-oasijfd" for 127.0.0.1 at 2013-01-17 21:24:45 +0000
454
+ Processing by Blogit::PostsController#show as HTML
455
+ Parameters: {"id"=>"2-sadfiasjf-oasijfd"}
456
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-sadfiasjf-oasijfd"]]
457
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
458
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
459
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
460
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.2ms)
461
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
462
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms)
463
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.2ms)
464
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
465
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
466
+ CACHE (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
467
+ Blogit::Post Load (0.3ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
468
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.8ms)
469
+ Rendered blogit/posts/_post_footer.html.erb (6.6ms)
470
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2
471
+ Rendered collection (0.0ms)
472
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.5ms)
473
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.5ms)
474
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.3ms)
475
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
476
+ Completed 200 OK in 34ms (Views: 31.7ms | ActiveRecord: 1.2ms)
477
+
478
+
479
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:45 +0000
480
+ Served asset /jquery.js - 304 Not Modified (0ms)
481
+
482
+
483
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:45 +0000
484
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
485
+
486
+
487
+ Started GET "/blog/" for 127.0.0.1 at 2013-01-17 21:24:46 +0000
488
+ Processing by Blogit::PostsController#index as HTML
489
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
490
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
491
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
492
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.4ms)
493
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
494
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.9ms)
495
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
496
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
497
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
498
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.6ms)
499
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.4ms)
500
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
501
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.1ms)
502
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (25.2ms)
503
+  (0.2ms) SELECT COUNT(*) FROM "blog_posts"
504
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (5.0ms)
505
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (35.7ms)
506
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
507
+ Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.9ms)
508
+
509
+
510
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:46 +0000
511
+ Served asset /jquery.js - 304 Not Modified (0ms)
512
+
513
+
514
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:46 +0000
515
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
516
+
517
+
518
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:24:47 +0000
519
+ Processing by Blogit::PostsController#new as HTML
520
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
521
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
522
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (5.6ms)
523
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (9.4ms)
524
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
525
+ Completed 200 OK in 23ms (Views: 20.4ms | ActiveRecord: 0.6ms)
526
+
527
+
528
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:47 +0000
529
+ Served asset /jquery.js - 304 Not Modified (0ms)
530
+
531
+
532
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:47 +0000
533
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
534
+
535
+
536
+ Started POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:24:58 +0000
537
+ Processing by Blogit::PostsController#create as HTML
538
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"ASDfpasf kapsodfk apsodfka", "body"=>"pokfaspdfo kaspod fkapsdfk apsdfok apsdfkapsdofk paodkf psodkf apsodkfa posdkf", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
539
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
540
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
541
+  (0.0ms) begin transaction
542
+ SQL (2.4ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "pokfaspdfo kaspod fkapsdfk apsdfok apsdfkapsdofk paodkf psodkf apsodkfa posdkf"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00], ["title", "ASDfpasf kapsodfk apsodfka"], ["updated_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00]]
543
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
544
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
545
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 3 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
546
+ SQL (0.3ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00], ["tag_id", 1], ["taggable_id", 3], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
547
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 3 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
548
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00], ["tag_id", 2], ["taggable_id", 3], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
549
+ ActsAsTaggableOn::Tagging Exists (2.8ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 3 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
550
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:24:58 UTC +00:00], ["tag_id", 3], ["taggable_id", 3], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
551
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" 
552
+  (62.0ms) commit transaction
553
+ Redirected to http://localhost:3000/blog/posts/3-asdfpasf-kapsodfk-apsodfka
554
+ Completed 302 Found in 100ms (ActiveRecord: 68.7ms)
555
+
556
+
557
+ Started GET "/blog/posts/3-asdfpasf-kapsodfk-apsodfka" for 127.0.0.1 at 2013-01-17 21:24:59 +0000
558
+ Processing by Blogit::PostsController#show as HTML
559
+ Parameters: {"id"=>"3-asdfpasf-kapsodfk-apsodfka"}
560
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "3-asdfpasf-kapsodfk-apsodfka"]]
561
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
562
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
563
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
564
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.3ms)
565
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
566
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms)
567
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.0ms)
568
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
569
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
570
+ CACHE (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
571
+ Blogit::Post Load (0.3ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 3 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
572
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.3ms)
573
+ Rendered blogit/posts/_post_footer.html.erb (6.1ms)
574
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 3
575
+ Rendered collection (0.0ms)
576
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.1ms)
577
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.0ms)
578
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (22.8ms)
579
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
580
+ Completed 200 OK in 33ms (Views: 31.5ms | ActiveRecord: 1.1ms)
581
+
582
+
583
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:59 +0000
584
+ Served asset /jquery.js - 304 Not Modified (0ms)
585
+
586
+
587
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:24:59 +0000
588
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
589
+
590
+
591
+ Started GET "/blog/" for 127.0.0.1 at 2013-01-17 21:25:12 +0000
592
+ Processing by Blogit::PostsController#index as HTML
593
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
594
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count
595
+ Blogit::Post Load (0.4ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
596
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms)
597
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.5ms)
598
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.9ms)
599
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
600
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
601
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (2.0ms)
602
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
603
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (3.7ms)
604
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
605
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
606
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
607
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
608
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
609
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
610
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.9ms)
611
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (33.4ms)
612
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
613
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (3.8ms)
614
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (44.0ms)
615
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
616
+ Completed 200 OK in 55ms (Views: 53.0ms | ActiveRecord: 1.2ms)
617
+
618
+
619
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:12 +0000
620
+ Served asset /jquery.js - 304 Not Modified (0ms)
621
+
622
+
623
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:12 +0000
624
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
625
+
626
+
627
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:25:18 +0000
628
+ Processing by Blogit::PostsController#new as HTML
629
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
630
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
631
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.1ms)
632
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (8.4ms)
633
+ Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
634
+ Completed 200 OK in 27ms (Views: 24.6ms | ActiveRecord: 0.7ms)
635
+
636
+
637
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:18 +0000
638
+ Served asset /jquery.js - 304 Not Modified (0ms)
639
+
640
+
641
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:18 +0000
642
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
643
+
644
+
645
+ Started POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:25:28 +0000
646
+ Processing by Blogit::PostsController#create as HTML
647
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"Afo aisdjf oasijdfao sidfjasdf ", "body"=>"aosdfj aosdifj asoidfj aosidfj aosdfija osfjweoifjao widjf oasijfd asd", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
648
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
649
+ ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
650
+  (0.1ms) begin transaction
651
+ SQL (0.6ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "aosdfj aosdifj asoidfj aosidfj aosdfija osfjweoifjao widjf oasijfd asd"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00], ["title", "Afo aisdjf oasijdfao sidfjasdf "], ["updated_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00]]
652
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
653
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 4 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
654
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 4 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
655
+ SQL (0.3ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00], ["tag_id", 1], ["taggable_id", 4], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
656
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 4 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
657
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00], ["tag_id", 2], ["taggable_id", 4], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
658
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 4 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
659
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:28 UTC +00:00], ["tag_id", 3], ["taggable_id", 4], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
660
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
661
+  (6.4ms) commit transaction
662
+ Redirected to http://localhost:3000/blog/posts/4-afo-aisdjf-oasijdfao-sidfjasdf
663
+ Completed 302 Found in 30ms (ActiveRecord: 8.7ms)
664
+
665
+
666
+ Started GET "/blog/posts/4-afo-aisdjf-oasijdfao-sidfjasdf" for 127.0.0.1 at 2013-01-17 21:25:28 +0000
667
+ Processing by Blogit::PostsController#show as HTML
668
+ Parameters: {"id"=>"4-afo-aisdjf-oasijdfao-sidfjasdf"}
669
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "4-afo-aisdjf-oasijdfao-sidfjasdf"]]
670
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
671
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
672
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
673
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.7ms)
674
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
675
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.4ms)
676
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.7ms)
677
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
678
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 4 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
679
+ CACHE (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 4 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
680
+ Blogit::Post Load (0.4ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 4 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
681
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.8ms)
682
+ Rendered blogit/posts/_post_footer.html.erb (7.6ms)
683
+ Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 4
684
+ Rendered collection (0.0ms)
685
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.8ms)
686
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (6.3ms)
687
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (26.3ms)
688
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
689
+ Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 1.3ms)
690
+
691
+
692
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:28 +0000
693
+ Served asset /jquery.js - 304 Not Modified (0ms)
694
+
695
+
696
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:28 +0000
697
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
698
+
699
+
700
+ Started GET "/blog/" for 127.0.0.1 at 2013-01-17 21:25:29 +0000
701
+ Processing by Blogit::PostsController#index as HTML
702
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
703
+  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
704
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
705
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
706
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
707
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (3.6ms)
708
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
709
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.1ms)
710
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.2ms)
711
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
712
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (3.4ms)
713
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
714
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
715
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
716
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
717
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
718
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
719
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.1ms)
720
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
721
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
722
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.9ms)
723
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
724
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
725
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (53.6ms)
726
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts" 
727
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.5ms)
728
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (61.6ms)
729
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
730
+ Completed 200 OK in 119ms (Views: 117.1ms | ActiveRecord: 1.0ms)
731
+
732
+
733
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:29 +0000
734
+ Served asset /jquery.js - 304 Not Modified (0ms)
735
+
736
+
737
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:29 +0000
738
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
739
+
740
+
741
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:25:31 +0000
742
+ Processing by Blogit::PostsController#new as HTML
743
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
744
+ ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
745
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (5.2ms)
746
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (6.4ms)
747
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
748
+ Completed 200 OK in 19ms (Views: 16.1ms | ActiveRecord: 0.7ms)
749
+
750
+
751
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:31 +0000
752
+ Served asset /jquery.js - 304 Not Modified (0ms)
753
+
754
+
755
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:31 +0000
756
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
757
+
758
+
759
+ Started POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:25:48 +0000
760
+ Processing by Blogit::PostsController#create as HTML
761
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"Lorem ipsum", "body"=>"lorem oiasjf oasjdfs aoidfjs aoidjf aosidjf aosidjfa osidjfasodifj asodi jfaosidf", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"}
762
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
763
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
764
+  (0.0ms) begin transaction
765
+ SQL (0.6ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "lorem oiasjf oasjdfs aoidfjs aoidjf aosidjf aosidjfa osidjfasodifj asodi jfaosidf"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00], ["title", "Lorem ipsum"], ["updated_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00]]
766
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three')
767
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 5 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
768
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 1 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 5 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
769
+ SQL (0.3ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00], ["tag_id", 1], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
770
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 5 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
771
+ SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00], ["tag_id", 2], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
772
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 5 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
773
+ SQL (1.7ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:25:48 UTC +00:00], ["tag_id", 3], ["taggable_id", 5], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
774
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
775
+  (3.1ms) commit transaction
776
+ Redirected to http://localhost:3000/blog/posts/5-lorem-ipsum
777
+ Completed 302 Found in 32ms (ActiveRecord: 6.7ms)
778
+
779
+
780
+ Started GET "/blog/posts/5-lorem-ipsum" for 127.0.0.1 at 2013-01-17 21:25:48 +0000
781
+ Processing by Blogit::PostsController#show as HTML
782
+ Parameters: {"id"=>"5-lorem-ipsum"}
783
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "5-lorem-ipsum"]]
784
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
785
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
786
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
787
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.0ms)
788
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
789
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms)
790
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.5ms)
791
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
792
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 5 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
793
+ CACHE (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 5 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
794
+ Blogit::Post Load (0.3ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 5 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC
795
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.3ms)
796
+ Rendered blogit/posts/_post_footer.html.erb (7.6ms)
797
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 5
798
+ Rendered collection (0.0ms)
799
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.1ms)
800
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.7ms)
801
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (23.6ms)
802
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
803
+ Completed 200 OK in 34ms (Views: 31.9ms | ActiveRecord: 1.1ms)
804
+
805
+
806
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:48 +0000
807
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
808
+
809
+
810
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:48 +0000
811
+ Served asset /jquery.js - 304 Not Modified (0ms)
812
+
813
+
814
+ Started GET "/blog/" for 127.0.0.1 at 2013-01-17 21:25:51 +0000
815
+ Processing by Blogit::PostsController#index as HTML
816
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
817
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
818
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
819
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
820
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (1.0ms)
821
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (4.2ms)
822
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
823
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.8ms)
824
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
825
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (4.3ms)
826
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
827
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
828
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
829
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
830
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.6ms)
831
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.5ms)
832
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
833
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (3.7ms)
834
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
835
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (1.7ms)
836
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.4ms)
837
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
838
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.7ms)
839
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
840
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
841
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
842
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
843
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.7ms)
844
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (60.2ms)
845
+  (0.2ms) SELECT COUNT(*) FROM "blog_posts"
846
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.3ms)
847
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (67.8ms)
848
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
849
+ Completed 200 OK in 78ms (Views: 76.6ms | ActiveRecord: 0.9ms)
850
+
851
+
852
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:52 +0000
853
+ Served asset /jquery.js - 304 Not Modified (0ms)
854
+
855
+
856
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:52 +0000
857
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
858
+
859
+
860
+ Started GET "/blog/posts/new" for 127.0.0.1 at 2013-01-17 21:25:53 +0000
861
+ Processing by Blogit::PostsController#new as HTML
862
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
863
+ ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
864
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (5.1ms)
865
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (6.1ms)
866
+ Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
867
+ Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.7ms)
868
+
869
+
870
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:53 +0000
871
+ Served asset /jquery.js - 304 Not Modified (0ms)
872
+
873
+
874
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:25:53 +0000
875
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
876
+
877
+
878
+ Started POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:26:06 +0000
879
+ Processing by Blogit::PostsController#create as HTML
880
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"aosdifj aosidfjaoiejfw oaijrf oisjfoasifdj aosidfjoasdfj aosdifjaosidfjaosi dfj", "body"=>"ASfd oaijdfo asdijfas oidfj aoijfa sodifj asodifj saodif jasoidfj", "tag_list"=>"two, three"}, "commit"=>"Create Post"}
881
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
882
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
883
+  (0.0ms) begin transaction
884
+  (0.0ms) rollback transaction
885
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (5.1ms)
886
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (6.7ms)
887
+ Blogit::Post Load (0.6ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
888
+ Completed 200 OK in 34ms (Views: 27.0ms | ActiveRecord: 1.0ms)
889
+
890
+
891
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:06 +0000
892
+ Served asset /jquery.js - 304 Not Modified (0ms)
893
+
894
+
895
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:06 +0000
896
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
897
+
898
+
899
+ Started POST "/blog/posts" for 127.0.0.1 at 2013-01-17 21:26:10 +0000
900
+ Processing by Blogit::PostsController#create as HTML
901
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"dGyZ8iVO5GJw2ZCrtka6SKgx2EigsKtjCY8+sKz7YWY=", "post"=>{"title"=>"aosdifj aosidfjaoiejfw oaijrf oisjfoasifdj aosidfjoasdfj", "body"=>"ASfd oaijdfo asdijfas oidfj aoijfa sodifj asodifj saodif jasoidfj", "tag_list"=>"two, three"}, "commit"=>"Create Post"}
902
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
903
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" IS NULL AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
904
+  (0.0ms) begin transaction
905
+ SQL (0.5ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "ASfd oaijdfo asdijfas oidfj aoijfa sodifj asodifj saodif jasoidfj"], ["comments_count", 0], ["created_at", Thu, 17 Jan 2013 21:26:10 UTC +00:00], ["title", "aosdifj aosidfjaoiejfw oaijrf oisjfoasifdj aosidfjoasdfj"], ["updated_at", Thu, 17 Jan 2013 21:26:10 UTC +00:00]]
906
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'two' OR lower(name) = 'three')
907
+ ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 6 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
908
+ ActsAsTaggableOn::Tagging Exists (0.1ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 6 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
909
+ SQL (0.3ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:26:10 UTC +00:00], ["tag_id", 2], ["taggable_id", 6], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
910
+ ActsAsTaggableOn::Tagging Exists (0.2ms) SELECT 1 AS one FROM "taggings" WHERE ("taggings"."tag_id" = 3 AND "taggings"."taggable_type" = 'Blogit::Post' AND "taggings"."taggable_id" = 6 AND "taggings"."context" = 'tags' AND "taggings"."tagger_id" IS NULL AND "taggings"."tagger_type" IS NULL) LIMIT 1
911
+ SQL (0.2ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Thu, 17 Jan 2013 21:26:10 UTC +00:00], ["tag_id", 3], ["taggable_id", 6], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]]
912
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"
913
+  (3.0ms) commit transaction
914
+ Redirected to http://localhost:3000/blog/posts/6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj
915
+ Completed 302 Found in 32ms (ActiveRecord: 4.9ms)
916
+
917
+
918
+ Started GET "/blog/posts/6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj" for 127.0.0.1 at 2013-01-17 21:26:10 +0000
919
+ Processing by Blogit::PostsController#show as HTML
920
+ Parameters: {"id"=>"6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj"}
921
+ Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "6-aosdifj-aosidfjaoiejfw-oaijrf-oisjfoasifdj-aosidfjoasdfj"]]
922
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
923
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (10.3ms)
924
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
925
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.9ms)
926
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
927
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms)
928
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (20.2ms)
929
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.2ms)
930
+ ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 6 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
931
+ CACHE (0.0ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 6 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL)
932
+ Blogit::Post Load (0.3ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 6 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('two','three')) GROUP BY blog_posts.id ORDER BY count DESC
933
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.5ms)
934
+ Rendered blogit/posts/_post_footer.html.erb (9.7ms)
935
+ Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 6
936
+ Rendered collection (0.0ms)
937
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.0ms)
938
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.5ms)
939
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (41.5ms)
940
+ Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
941
+ Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 1.2ms)
942
+
943
+
944
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:11 +0000
945
+ Served asset /jquery.js - 304 Not Modified (0ms)
946
+
947
+
948
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:11 +0000
949
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
950
+
951
+
952
+ Started GET "/blog/" for 127.0.0.1 at 2013-01-17 21:26:14 +0000
953
+ Processing by Blogit::PostsController#index as HTML
954
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
955
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count 
956
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0
957
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.9ms)
958
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
959
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.4ms)
960
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
961
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
962
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
963
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
964
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
965
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
966
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.0ms)
967
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms)
968
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
969
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
970
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
971
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.5ms)
972
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.5ms)
973
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms)
974
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
975
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
976
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.5ms)
977
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
978
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
979
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.2ms)
980
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
981
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (2.6ms)
982
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (40.6ms)
983
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
984
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (14.4ms)
985
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (131.1ms)
986
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
987
+ Completed 200 OK in 142ms (Views: 140.6ms | ActiveRecord: 0.9ms)
988
+
989
+
990
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:14 +0000
991
+ Served asset /jquery.js - 304 Not Modified (0ms)
992
+
993
+
994
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:14 +0000
995
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
996
+
997
+
998
+ Started GET "/blog/posts/page/2" for 127.0.0.1 at 2013-01-17 21:26:17 +0000
999
+ Processing by Blogit::PostsController#index as HTML
1000
+ Parameters: {"page"=>"2"}
1001
+ User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1002
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 5) subquery_for_count 
1003
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 5
1004
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (2.6ms)
1005
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms)
1006
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms)
1007
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1008
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms)
1009
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (21.9ms)
1010
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
1011
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (201.8ms)
1012
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (232.5ms)
1013
+ Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
1014
+ Completed 200 OK in 246ms (Views: 242.9ms | ActiveRecord: 2.2ms)
1015
+
1016
+
1017
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:17 +0000
1018
+ Served asset /jquery.js - 304 Not Modified (0ms)
1019
+
1020
+
1021
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:26:17 +0000
1022
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1023
+
1024
+
1025
+ Started GET "/blog/posts/page/2" for 127.0.0.1 at 2013-01-17 21:30:06 +0000
1026
+ Processing by Blogit::PostsController#index as HTML
1027
+ Parameters: {"page"=>"2"}
1028
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1029
+  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 5) subquery_for_count 
1030
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 5
1031
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms)
1032
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.6ms)
1033
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms)
1034
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
1035
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.5ms)
1036
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (11.7ms)
1037
+  (0.1ms) SELECT COUNT(*) FROM "blog_posts"
1038
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (9.0ms)
1039
+ Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (25.8ms)
1040
+ Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC
1041
+ Completed 200 OK in 47ms (Views: 42.5ms | ActiveRecord: 0.9ms)
1042
+
1043
+
1044
+ Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-01-17 21:30:06 +0000
1045
+ Served asset /blogit/index.css - 304 Not Modified (16ms)
1046
+
1047
+
1048
+ Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1049
+ Served asset /blogit/archive.js - 304 Not Modified (4ms)
1050
+
1051
+
1052
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1053
+ Served asset /jquery.js - 304 Not Modified (0ms)
1054
+
1055
+
1056
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1057
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1058
+
1059
+
1060
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1061
+ Served asset /application.js - 304 Not Modified (4ms)
1062
+
1063
+
1064
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1065
+ Served asset /application.css - 304 Not Modified (5ms)
1066
+
1067
+
1068
+ Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-01-17 21:30:07 +0000
1069
+ Served asset /blogit/index.js - 304 Not Modified (4ms)