Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20110814091304)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (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)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')  (51.1ms) commit transaction Migrating to CreatePeople (20110819103335)  (0.1ms) begin transaction  (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)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')  (4.2ms) commit transaction Migrating to CreateBlogPosts (20111118222920)  (0.0ms) begin transaction  (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)  (0.0ms) PRAGMA index_list("blog_posts")  (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222920')  (5.7ms) commit transaction Migrating to CreateBlogComments (20111118222921)  (0.0ms) begin transaction  (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)  (0.0ms) PRAGMA index_list("blog_comments")  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222921')  (4.1ms) commit transaction Migrating to ActsAsTaggableOnMigration (20111118222922)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))  (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)   (0.0ms) PRAGMA index_list("taggings")  (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.0ms) PRAGMA index_list("taggings")  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')  (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111118222922')  (4.7ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("blog_comments")  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')  (0.0ms) PRAGMA index_list("blog_posts")  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')  (0.0ms) PRAGMA index_list("people")  (0.0ms) PRAGMA index_list("taggings")  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')  (0.0ms) PRAGMA index_list("tags")  (0.0ms) PRAGMA index_list("users") Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20110814091304) Migrating to CreateBlogPosts (20110814091434)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (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) 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)  (0.1ms) rollback transaction Connecting to database specified by database.yml  (0.1ms) select sqlite_version(*)  (53.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20110814091304)  (0.0ms) begin transaction  (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)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')  (4.6ms) commit transaction Migrating to CreateBlogPosts (20110814091434)  (0.0ms) begin transaction  (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)   (0.0ms) PRAGMA index_list("blog_posts")  (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091434')  (5.5ms) commit transaction Migrating to CreateBlogComments (20110814093229)  (0.0ms) begin transaction  (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)   (0.0ms) PRAGMA index_list("blog_comments")  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')  (4.5ms) commit transaction Migrating to ActsAsTaggableOnMigration (20110814103306)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))   (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)  (0.0ms) PRAGMA index_list("taggings")  (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.0ms) PRAGMA index_list("taggings")  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')  (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814103306')  (4.0ms) commit transaction Migrating to CreatePeople (20110819103335)  (0.0ms) begin transaction  (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)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')  (4.3ms) commit transaction  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("blog_comments")  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')  (0.0ms) PRAGMA index_list("blog_posts")  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')  (0.0ms) PRAGMA index_list("people")  (0.0ms) PRAGMA index_list("taggings")  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')  (0.0ms) PRAGMA index_list("tags")  (0.0ms) PRAGMA index_list("users") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20110814091304) Migrating to CreatePeople (20110819103335)  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("blog_comments")  (0.1ms) PRAGMA index_info('index_blog_comments_on_post_id')  (0.0ms) PRAGMA index_list("blog_posts")  (0.0ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')  (0.0ms) PRAGMA index_list("people")  (0.0ms) PRAGMA index_list("taggings")  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')  (0.0ms) PRAGMA index_list("tags")  (0.0ms) PRAGMA index_list("users") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20110814091304) Migrating to CreateBlogPosts (20110814091434) Migrating to CreateBlogComments (20110814093229) Migrating to ActsAsTaggableOnMigration (20110814103306) Migrating to CreatePeople (20110819103335)  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("blog_comments")  (0.1ms) PRAGMA index_info('index_blog_comments_on_post_id')  (0.0ms) PRAGMA index_list("blog_posts")  (0.1ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')  (0.0ms) PRAGMA index_list("people")  (0.0ms) PRAGMA index_list("taggings")  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')  (0.0ms) PRAGMA index_list("tags")  (0.0ms) PRAGMA index_list("users") Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.2ms) select sqlite_version(*)  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) PRAGMA index_list("schema_migrations")  (3.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") Connecting to database specified by database.yml  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateUsers (20110814091304)  (0.0ms) select sqlite_version(*)  (0.0ms) begin transaction  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091304')  (54.1ms) commit transaction Migrating to CreateBlogPosts (20110814091434)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "blogger_id" integer, "blogger_type" varchar(255), "comments_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) PRAGMA index_list("blog_posts")  (0.1ms) CREATE INDEX "index_blog_posts_on_blogger_type_and_blogger_id" ON "blog_posts" ("blogger_type", "blogger_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814091434')  (4.6ms) commit transaction Migrating to CreateBlogComments (20110814093229)  (0.1ms) begin transaction  (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)  (0.0ms) PRAGMA index_list("blog_comments")  (0.1ms) CREATE INDEX "index_blog_comments_on_post_id" ON "blog_comments" ("post_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814093229')  (4.8ms) commit transaction Migrating to ActsAsTaggableOnMigration (20110814103306)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))  (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)   (0.0ms) PRAGMA index_list("taggings")  (0.1ms) CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")  (0.0ms) PRAGMA index_list("taggings")  (0.0ms) PRAGMA index_info('index_taggings_on_tag_id')  (0.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814103306')  (4.5ms) commit transaction Migrating to CreatePeople (20110819103335)  (0.0ms) begin transaction  (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)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110819103335')  (4.2ms) commit transaction  (0.5ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("blog_comments")  (0.0ms) PRAGMA index_info('index_blog_comments_on_post_id')  (0.1ms) PRAGMA index_list("blog_posts")  (0.1ms) PRAGMA index_info('index_blog_posts_on_blogger_type_and_blogger_id')  (0.0ms) PRAGMA index_list("people")  (0.0ms) PRAGMA index_list("taggings")  (0.0ms) PRAGMA index_info('index_taggings_on_taggable_id_and_taggable_type_and_context')  (0.1ms) PRAGMA index_info('index_taggings_on_tag_id')  (0.0ms) PRAGMA index_list("tags")  (0.0ms) PRAGMA index_list("users") Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/" for 127.0.0.1 at 2013-02-27 15:01:54 +0000 Processing by Blogit::PostsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (101.3ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (24.5ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (170.0ms)  (0.2ms) SELECT COUNT(*) FROM "blog_posts" Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (17.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (255.7ms) Compiled blogit/index.css (0ms) (pid 9812) Compiled application.css (0ms) (pid 9812) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Compiled jquery.js (4ms) (pid 9812) Compiled jquery_ujs.js (0ms) (pid 9812) Compiled application.js (90ms) (pid 9812) Compiled blogit/archive.js (0ms) (pid 9812) Compiled blogit/index.js (29ms) (pid 9812) Completed 200 OK in 567ms (Views: 564.2ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000 Served asset /jquery_ujs.js - 200 OK (7ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000 Served asset /blogit/index.css - 200 OK (9ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000 Served asset /application.js - 200 OK (10ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000 Served asset /jquery.js - 200 OK (5ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000 Served asset /blogit/archive.js - 200 OK (3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000 Served asset /application.css - 200 OK (2ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:01:55 +0000 Served asset /blogit/index.js - 200 OK (5ms) Started GET "/blog/posts/1-test-postasdfa-sdf-afas-d" for 127.0.0.1 at 2013-02-27 15:01:57 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"1-test-postasdfa-sdf-afas-d"} Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "1-test-postasdfa-sdf-afas-d"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (9.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.8ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 1 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN (NULL)) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (64.4ms) Rendered blogit/posts/_post_footer.html.erb (79.7ms) Blogit::Comment Load (0.3ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 1 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (6.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (16.3ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (201.5ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 212ms (Views: 208.4ms | ActiveRecord: 2.0ms) Started GET "/session/new" for 127.0.0.1 at 2013-02-27 15:01:59 +0000 Processing by SessionsController#new as HTML Rendered sessions/new.html.erb within layouts/application (1.8ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 25ms (Views: 24.7ms | ActiveRecord: 0.2ms) Started POST "/session" for 127.0.0.1 at 2013-02-27 15:02:06 +0000 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "session"=>{"username"=>"bodacious", "password"=>"[FILTERED]"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'bodacious' AND "users"."password" = 'password' LIMIT 1 Rendered sessions/new.html.erb within layouts/application (1.6ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 31ms (Views: 28.9ms | ActiveRecord: 0.5ms) Connecting to database specified by database.yml Started POST "/session" for 127.0.0.1 at 2013-02-27 15:02:39 +0000 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "session"=>{"username"=>"gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'gavin' AND "users"."password" = '' LIMIT 1 Rendered sessions/new.html.erb within layouts/application (13.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 33ms (Views: 31.1ms | ActiveRecord: 0.6ms) Started POST "/session" for 127.0.0.1 at 2013-02-27 15:03:09 +0000 Processing by SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "session"=>{"username"=>"Gavin", "password"=>"[FILTERED]"}, "commit"=>"Log in"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = 'Gavin' AND "users"."password" = 'password' LIMIT 1 Redirected to http://localhost:3000/ Completed 302 Found in 2ms (ActiveRecord: 0.2ms) Started GET "/" for 127.0.0.1 at 2013-02-27 15:03:09 +0000 Processing by Blogit::PostsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1  (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "blog_posts" LIMIT 5 OFFSET 0) subquery_for_count Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC LIMIT 5 OFFSET 0 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.2ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.0ms)  (0.1ms) SELECT COUNT(*) FROM "blog_posts"  Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_pagination.html.erb (2.3ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/index.html.erb within layouts/application (14.5ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 24ms (Views: 22.5ms | ActiveRecord: 0.8ms) Started GET "/blog/posts/new" for 127.0.0.1 at 2013-02-27 15:03:12 +0000 Processing by Blogit::PostsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 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) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.9ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/new.html.erb within layouts/application (85.7ms) Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 96ms (Views: 92.8ms | ActiveRecord: 0.5ms) Started POST "/blog/posts" for 127.0.0.1 at 2013-02-27 15:03:26 +0000 Processing by Blogit::PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Create Post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 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)  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "blog_posts" ("blogger_id", "blogger_type", "body", "comments_count", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["blogger_id", 1], ["blogger_type", "User"], ["body", "Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij"], ["comments_count", 0], ["created_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00], ["title", "This is a new blog post"], ["updated_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00]] ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three') ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'one' LIMIT 1 SQL (0.2ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "one"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'two' LIMIT 1 SQL (0.1ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "two"]] ActsAsTaggableOn::Tag Exists (0.1ms) SELECT 1 AS one FROM "tags" WHERE "tags"."name" = 'three' LIMIT 1 SQL (0.0ms) INSERT INTO "tags" ("name") VALUES (?) [["name", "three"]] 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) 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 SQL (0.4ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00], ["tag_id", 1], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]] 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 SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00], ["tag_id", 2], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]] 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 SQL (0.1ms) INSERT INTO "taggings" ("context", "created_at", "tag_id", "taggable_id", "taggable_type", "tagger_id", "tagger_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["context", "tags"], ["created_at", Wed, 27 Feb 2013 15:03:26 UTC +00:00], ["tag_id", 3], ["taggable_id", 2], ["taggable_type", "Blogit::Post"], ["tagger_id", nil], ["tagger_type", nil]] Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts"  (56.6ms) commit transaction Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post Completed 302 Found in 126ms (ActiveRecord: 59.8ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:03:26 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_share_bar.html.erb (0.1ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (6.2ms) Rendered blogit/posts/_post_footer.html.erb (6.9ms) Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.9ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (22.9ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 33ms (Views: 31.6ms | ActiveRecord: 1.0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:05:46 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (75.2ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (19.1ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (15.5ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (114.8ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (26.8ms) Rendered blogit/posts/_post_footer.html.erb (27.7ms) Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (6.8ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (10.4ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (192.0ms) Completed 500 Internal Server Error in 310ms ActionView::Template::Error (undefined local variable or method `root_path' for #<#:0x007ff1346c6290>): 15: <%= link_to("log in", main_app.new_session_path) %> 16: <% end %> 17: 18:

<%= link_to("My Awesome Blog", root_path) %>

19: 20: <%= yield %> 21: app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb___3211448699255320262_70336983835780' Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.5ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:06:10 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.4ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (9.4ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.8ms) Rendered blogit/posts/_post_footer.html.erb (6.8ms) Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.4ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.5ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (24.8ms) Completed 500 Internal Server Error in 44ms ActionView::Template::Error (undefined local variable or method `blogit_root_path' for #<#:0x007ff136c94670>): 15: <%= link_to("log in", main_app.new_session_path) %> 16: <% end %> 17: 18:

<%= link_to("My Awesome Blog", blogit_root_path) %>

19: 20: <%= yield %> 21: app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb___3211448699255320262_70336991484120' Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/Gavin/.rvm/gems/ruby-1.9.3-p194@blogit/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.3ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:06:16 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (6.6ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.5ms) Rendered blogit/posts/_post_footer.html.erb (6.4ms) Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (20.4ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 45ms (Views: 42.2ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000 Served asset /application.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000 Served asset /jquery_ujs.js - 304 Not Modified (6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000 Served asset /jquery.js - 304 Not Modified (14ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000 Served asset /blogit/archive.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000 Served asset /application.js - 304 Not Modified (6ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000 Served asset /blogit/index.js - 304 Not Modified (24ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:16 +0000 Served asset /blogit/index.css - 304 Not Modified (2ms) Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:06:21 +0000 Processing by Blogit::PostsController#edit as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] 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) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.3ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (9.0ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 21ms (Views: 17.0ms | ActiveRecord: 0.8ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:21 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Processing by Blogit::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]  (0.1ms) begin transaction 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) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three') 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)  (0.1ms) commit transaction Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post Completed 302 Found in 18ms (ActiveRecord: 0.7ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (6.8ms) 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) 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) 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 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.6ms) Rendered blogit/posts/_post_footer.html.erb (5.2ms) Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.9ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.8ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (19.9ms) Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 28ms (Views: 26.0ms | ActiveRecord: 0.9ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:06:27 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:07:04 +0000 Processing by Blogit::PostsController#edit as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] 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) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (13.3ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (14.4ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 46ms (Views: 22.5ms | ActiveRecord: 1.4ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:05 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:07:06 +0000 Processing by Blogit::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]  (0.1ms) begin transaction 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) ActsAsTaggableOn::Tag Load (0.3ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three') 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)  (0.1ms) commit transaction Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post Completed 302 Found in 13ms (ActiveRecord: 1.1ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:07:06 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.8ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.4ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.8ms) 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) 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) 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 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.8ms) Rendered blogit/posts/_post_footer.html.erb (5.5ms) Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.4ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (7.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (60.9ms) Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 70ms (Views: 67.1ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:07 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:07:56 +0000 Processing by Blogit::PostsController#edit as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] 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) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (95.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (108.4ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 198ms (Views: 145.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000 Served asset /blogit/index.css - 304 Not Modified (2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000 Served asset /application.js - 304 Not Modified (4ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:56 +0000 Served asset /blogit/archive.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:57 +0000 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:57 +0000 Served asset /blogit/index.js - 304 Not Modified (2ms) Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Processing by Blogit::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]  (0.1ms) begin transaction 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) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three') 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)  (0.1ms) commit transaction Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post Completed 302 Found in 16ms (ActiveRecord: 0.8ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (1.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.3ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (5.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (14.0ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (5.1ms) Rendered blogit/posts/_post_footer.html.erb (6.6ms) Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (4.3ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (7.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (47.6ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 56ms (Views: 53.3ms | ActiveRecord: 1.3ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:07:58 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:06 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (83.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (20.8ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (17.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (126.9ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (33.6ms) Rendered blogit/posts/_post_footer.html.erb (34.5ms) Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (7.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (11.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (194.1ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 258ms (Views: 245.9ms | ActiveRecord: 2.3ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000 Served asset /blogit/index.css - 304 Not Modified (3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000 Served asset /application.js - 304 Not Modified (12ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000 Served asset /blogit/archive.js - 304 Not Modified (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:06 +0000 Served asset /blogit/index.js - 304 Not Modified (4ms) Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:09:07 +0000 Processing by Blogit::PostsController#edit as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] 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) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (6.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (8.6ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:07 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Processing by Blogit::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"} User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]  (0.1ms) begin transaction ActsAsTaggableOn::Tag Load (0.4ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Blogit::Post' AND (taggings.context = 'tags' AND taggings.tagger_id IS NULL) ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three') 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)  (0.1ms) commit transaction Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post Completed 302 Found in 37ms (ActiveRecord: 1.8ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (2.9ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.3ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (8.5ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.7ms) Rendered blogit/posts/_post_footer.html.erb (4.4ms) Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (4.2ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (21.0ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.9ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:09 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:42 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (90.9ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.7ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (25.4ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (18.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (139.7ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (34.2ms) Rendered blogit/posts/_post_footer.html.erb (35.5ms) Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (8.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (12.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (212.8ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 286ms (Views: 272.0ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000 Served asset /application.css - 304 Not Modified (2ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000 Served asset /blogit/index.css - 304 Not Modified (2ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000 Served asset /blogit/archive.js - 304 Not Modified (2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000 Served asset /application.js - 304 Not Modified (6ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000 Served asset /blogit/index.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:42 +0000 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:09:43 +0000 Processing by Blogit::PostsController#edit as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] 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) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (7.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (9.5ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 23ms (Views: 18.2ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:43 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Processing by Blogit::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]  (0.0ms) begin transaction 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) ActsAsTaggableOn::Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three') 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)  (0.0ms) commit transaction Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post Completed 302 Found in 16ms (ActiveRecord: 0.8ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.6ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (6.6ms) 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) 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) Blogit::Post Load (0.1ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (3.6ms) Rendered blogit/posts/_post_footer.html.erb (4.2ms) Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (3.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (5.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (19.1ms) Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 28ms (Views: 26.1ms | ActiveRecord: 0.8ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:09:45 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:13:26 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.3ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (89.9ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.9ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (22.2ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (18.5ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (136.6ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (32.1ms) Rendered blogit/posts/_post_footer.html.erb (33.1ms) Blogit::Comment Load (0.2ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (7.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (12.4ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (208.7ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 271ms (Views: 254.5ms | ActiveRecord: 2.4ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000 Served asset /blogit/index.css - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000 Served asset /jquery_ujs.js - 304 Not Modified (6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000 Served asset /application.css - 304 Not Modified (1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000 Served asset /jquery.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000 Served asset /application.js - 304 Not Modified (5ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000 Served asset /blogit/archive.js - 304 Not Modified (2ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:27 +0000 Served asset /blogit/index.js - 304 Not Modified (4ms) Started GET "/blog/posts/2-this-is-a-new-blog-post/edit" for 127.0.0.1 at 2013-02-27 15:13:29 +0000 Processing by Blogit::PostsController#edit as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] 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) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_form.html.erb (6.9ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/edit.html.erb within layouts/application (8.5ms) Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 0.7ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:29 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Started PUT "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:13:30 +0000 Processing by Blogit::PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"jxRC1MwFpiGworG7h3LQF5j+fflZUMuhosbM/XymGoI=", "post"=>{"title"=>"This is a new blog post", "body"=>"Thiso jfaosfja sodfj aosifj aoisdfj osaidjf aosidjfasoidj faosij", "tag_list"=>"one, two, three"}, "commit"=>"Update Post", "id"=>"2-this-is-a-new-blog-post"} This is called!! User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."blogger_id" = 1 AND "blog_posts"."blogger_type" = 'User' AND "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]]  (0.1ms) begin transaction 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) ActsAsTaggableOn::Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE (lower(name) = 'one' OR lower(name) = 'two' OR lower(name) = 'three') 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)  (0.1ms) commit transaction Redirected to http://localhost:3000/blog/posts/2-this-is-a-new-blog-post Completed 302 Found in 22ms (ActiveRecord: 1.0ms) Started GET "/blog/posts/2-this-is-a-new-blog-post" for 127.0.0.1 at 2013-02-27 15:13:30 +0000 Processing by Blogit::PostsController#show as HTML Parameters: {"id"=>"2-this-is-a-new-blog-post"} Blogit::Post Load (0.1ms) SELECT "blog_posts".* FROM "blog_posts" WHERE "blog_posts"."id" = ? LIMIT 1 [["id", "2-this-is-a-new-blog-post"]] Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_head.html.erb (0.7ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_body.html.erb (0.2ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post_links.html.erb (1.7ms) CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1 Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_blogger_information.html.erb (1.4ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_post.html.erb (7.4ms) 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) 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) Blogit::Post Load (0.2ms) SELECT blog_posts.*, COUNT(tags.id) AS count FROM blog_posts, tags, taggings WHERE (blog_posts.id != 2 AND blog_posts.id = taggings.taggable_id AND taggings.taggable_type = 'Blogit::Post' AND taggings.tag_id = tags.id AND tags.name IN ('one','two','three')) GROUP BY blog_posts.id ORDER BY count DESC Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_related.html.erb (4.4ms) Rendered blogit/posts/_post_footer.html.erb (5.2ms) Blogit::Comment Load (0.1ms) SELECT "blog_comments".* FROM "blog_comments" WHERE "blog_comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/comments/_form.html.erb (2.6ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/_active_record_comments.html.erb (4.1ms) Rendered /Users/Gavin/Gems/blogit/app/views/blogit/posts/show.html.erb within layouts/application (19.2ms) Blogit::Post Load (0.2ms) SELECT "blog_posts".* FROM "blog_posts" ORDER BY created_at DESC Completed 200 OK in 27ms (Views: 25.4ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/blogit/index.css?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000 Served asset /blogit/index.css - 304 Not Modified (0ms) Started GET "/assets/blogit/archive.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000 Served asset /blogit/archive.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/blogit/index.js?body=1" for 127.0.0.1 at 2013-02-27 15:13:31 +0000 Served asset /blogit/index.js - 304 Not Modified (0ms) Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml