ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddUpvoteToArticle (20141111104708)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "articles" ADD "upvotes" integer DEFAULT 0 SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141111104708"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateVotes (20141111110813)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "votes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "article_id" integer, "up" boolean, "from" varchar(32), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141111110813"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started POST "/articles" for 127.0.0.1 at 2014-11-11 13:33:14 +0000 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"dfsdfgs", "url"=>"sdfbsdfb", "body"=>"sdfbsdfb", "author"=>"sfbfsdgn"}} Unpermitted parameters: url  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "articles" ("author", "body", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["author", "sfbfsdgn"], ["body", "sdfbsdfb"], ["created_at", "2014-11-11 13:33:15.078850"], ["title", "dfsdfgs"], ["updated_at", "2014-11-11 13:33:15.078850"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/articles/10 Completed 302 Found in 34ms (ActiveRecord: 1.6ms) Started GET "/articles/10" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"10"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 10]] Vote Load (0.2ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 10]] Rendered articles/show.html.erb within layouts/application (25.2ms) Completed 200 OK in 193ms (Views: 189.5ms | ActiveRecord: 0.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:15 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:33:19 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (56.4ms) Completed 200 OK in 142ms (Views: 138.9ms | ActiveRecord: 2.4ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 1], ["created_at", "2014-11-11 13:33:22.345057"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 13:33:22.345057"]]  (0.6ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 13ms (ActiveRecord: 1.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (31.9ms) Completed 200 OK in 95ms (Views: 92.9ms | ActiveRecord: 1.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:22 +0000 Started POST "/articles/1/votes?up=false" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"false", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.4ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 1], ["created_at", "2014-11-11 13:33:25.126858"], ["from", "127.0.0.1"], ["up", "f"], ["updated_at", "2014-11-11 13:33:25.126858"]]  (17.7ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 24ms (ActiveRecord: 18.3ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (32.3ms) Completed 200 OK in 96ms (Views: 92.7ms | ActiveRecord: 1.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:33:25 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddVoteCounterToArticle (20141111134256)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "articles" ADD "counter_cache" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141111134256"]]  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.3ms) Completed 200 OK in 97ms (Views: 92.7ms | ActiveRecord: 2.1ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:47:25 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (27.1ms) Completed 200 OK in 81ms (Views: 78.8ms | ActiveRecord: 1.7ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:48:52 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 13:48:55 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (32.8ms) Completed 200 OK in 92ms (Views: 89.5ms | ActiveRecord: 2.1ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (33.0ms) Completed 200 OK in 89ms (Views: 84.4ms | ActiveRecord: 2.2ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:50:46 +0000 Started POST "/articles/4/votes?up=true" for 127.0.0.1 at 2014-11-11 13:50:55 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"4"} Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.4ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 4], ["created_at", "2014-11-11 13:50:55.072384"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 13:50:55.072384"]] SQL (0.3ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 4 SQLite3::SQLException: no such column: votes_count: UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 4  (8.0ms) rollback transaction Completed 500 Internal Server Error in 18ms ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: votes_count: UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 4): app/controllers/votes_controller.rb:5:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.8ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddVoteCounterToArticle (20141111134256)  (0.1ms) begin transaction  (1.3ms) CREATE TEMPORARY TABLE "aarticles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(256), "body" text, "created_at" datetime, "updated_at" datetime, "author" varchar(2048), "url" varchar(2048), "upvotes" integer DEFAULT 0, "counter_cache" integer)  (0.2ms) SELECT * FROM "articles"  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (1, 'Review lunch', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae imperdiet nisi. Pellentesque id tempus nulla. Donec sapien massa, pulvinar at nulla et, aliquam hendrerit urna. Nullam faucibus arcu tincidunt sapien dignissim volutpat. Phasellus laoreet, dolor in lobortis facilisis, libero ante ullamcorper neque, ac feugiat mauris diam vel enim. Fusce commodo est eget condimentum consequat. Vivamus sit amet mattis nisi. Vivamus vel mi ac dolor fermentum pretium. Integer a ex vitae lacus dictum placerat sit amet id libero. Curabitur a rhoncus ligula. Integer auctor sed lectus sit amet tincidunt. Pellentesque placerat ex et dolor pellentesque imperdiet. Nulla mollis in tortor vel fermentum. Aliquam est mauris, placerat in urna ut, rutrum eleifend eros. Nullam scelerisque lectus efficitur nulla interdum feugiat. Duis eget tortor egestas, pharetra quam ac, tincidunt nisi. Vestibulum maximus cursus dignissim. Maecenas et augue ultrices, tincidunt ante eget, euismod libero. In ullamcorper efficitur elit sit amet vehicula. Nullam commodo est et consequat fermentum. Donec vitae erat mi. Praesent id leo vel lorem venenatis volutpat eget eget quam. Suspendisse potenti. Mauris dapibus dui at turpis varius euismod. Vestibulum sit amet metus quis lacus hendrerit hendrerit ut mattis purus. Nunc finibus porttitor urna, vitae ornare eros pulvinar convallis. In volutpat a nisi eu pretium. Pellentesque vulputate posuere mauris id malesuada. Sed quis orci lorem. Praesent id porta augue, nec feugiat neque.', '2014-11-10 14:34:47.091425', '2014-11-10 14:34:47.091425', 'A Diner', NULL, 0, NULL)  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (2, 'A vegan''s perspective on Paris', 'Curabitur blandit odio sit amet urna mollis vulputate. Aenean aliquam magna ut sagittis interdum. Etiam congue est in semper convallis. Nunc fringilla lorem at ipsum pulvinar tincidunt. Phasellus fermentum aliquet ex ut imperdiet. Praesent vulputate consectetur est, sed rhoncus diam. Nullam sodales ipsum rhoncus, lacinia mi at, vestibulum ipsum. Nullam aliquet quam a nulla scelerisque porttitor. Fusce at eros metus. Quisque consectetur velit nec diam varius, id feugiat sem faucibus. Etiam malesuada eget nulla euismod placerat. Donec pretium justo sed leo fringilla lobortis. Proin eleifend luctus turpis, eu maximus enim feugiat non. Morbi accumsan quam diam, vel fringilla enim elementum efficitur. Nam rhoncus lectus eget magna tincidunt vehicula facilisis eu arcu. Nulla accumsan eu arcu a posuere. Maecenas tempus nisi dui, et felis aliquam et. Sed pretium id lacus in pretium. Duis congue turpis nunc, a scelerisque dui fermentum et. Proin nulla mauris, scelerisque non nibh id, vehicula pharetra est. Vestibulum non arcu dapibus, dictum lectus eu, dictum justo.', '2014-11-10 14:34:47.091425', '2014-11-10 14:34:47.091425', 'R D Crank', NULL, 0, NULL)  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (3, 'x', 'Proin sapien odio, cursus in diam vel, ultrices tempus elit. Vestibulum ornare luctus sagittis. Cras eu lectus eget sem lacinia finibus. Ut non magna quis odio convallis viverra vel at enim. Maecenas efficitur id neque eget congue. Aliquam eu feugiat lectus, sed dignissim ex. Vivamus eget diam at dolor imperdiet congue. Nullam diam mi, euismod at commodo quis, rhoncus non tortor. Vestibulum tristique purus at diam ornare commodo. Phasellus eu turpis et ex congue pellentesque a sit amet nisi. Suspendisse potenti. Pellentesque sit amet arcu egestas, pulvinar eros id, vehicula sapien. Aliquam facilisis, ex ut tincidunt placerat, mauris elit mattis turpis, ac gravida mauris sem sit amet eros. Sed sagittis, odio ac posuere molestie, erat nibh eleifend neque, id porttitor dui ex id mauris. Ut ut sem imperdiet, condimentum mi eget, pulvinar mi. Vestibulum sollicitudin cursus libero, sit amet aliquet elit fringilla sed. Sed feugiat urna nunc. Mauris aliquet, magna sit amet placerat sollicitudin, augue turpis lacinia sapien, at faucibus massa tellus at augue. Donec iaculis auctor diam, sed molestie diam facilisis quis. Nam mauris tortor, tristique nec leo a, viverra finibus velit. Ut neque massa, accumsan et elit non, luctus lacinia mauris. Curabitur dapibus, mi vitae pretium gravida, eros ligula tempor ipsum, ac faucibus diam eros placerat elit. Vivamus porta tortor justo, et volutpat tellus placerat in. Pellentesque molestie hendrerit diam, eu suscipit nisi pretium eu. Etiam erat turpis, dignissim at tempor non, pretium quis ex. Sed pharetra urna id augue ullamcorper dapibus. Ut feugiat, lorem quis tempor bibendum, arcu ligula imperdiet urna, vitae volutpat nunc mauris non metus. ', '2014-11-10 16:36:25.013952', '2014-11-11 11:00:33.632329', 'z', NULL, 0, NULL)  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (4, 'a', 'b', '2014-11-10 16:39:33.818074', '2014-11-10 16:39:33.818074', 'c', NULL, 0, NULL)  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (5, 'newasdfasdf', 'what does this come from', '2014-11-10 16:41:21.491016', '2014-11-11 11:10:52.952766', 'new', NULL, 0, NULL)  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (6, 's', 't', '2014-11-10 16:55:10.297610', '2014-11-10 16:55:10.297610', 'r', NULL, 0, NULL)  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (7, 'u', 'i', '2014-11-10 17:00:41.266272', '2014-11-10 17:00:41.266272', 'b', NULL, 0, NULL)  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (8, 'wrg', 'wregw', '2014-11-10 17:02:40.159457', '2014-11-10 17:02:40.159457', 'wrhwh', NULL, 0, NULL)  (0.1ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (9, 'asdfasd', 'asdfasdf', '2014-11-10 17:04:41.590569', '2014-11-10 17:04:41.590569', 'asdfasdf', NULL, 0, NULL)  (0.0ms) INSERT INTO "aarticles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (10, 'dfsdfgs', 'sdfbsdfb', '2014-11-11 13:33:15.078850', '2014-11-11 13:33:15.078850', 'sfbfsdgn', NULL, 0, NULL)  (0.8ms) DROP TABLE "articles"  (0.2ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(256), "body" text, "created_at" datetime, "updated_at" datetime, "author" varchar(2048), "url" varchar(2048), "upvotes" integer DEFAULT 0, "counter_cache" integer)   (0.1ms) SELECT * FROM "aarticles"  (0.1ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (1, 'Review lunch', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae imperdiet nisi. Pellentesque id tempus nulla. Donec sapien massa, pulvinar at nulla et, aliquam hendrerit urna. Nullam faucibus arcu tincidunt sapien dignissim volutpat. Phasellus laoreet, dolor in lobortis facilisis, libero ante ullamcorper neque, ac feugiat mauris diam vel enim. Fusce commodo est eget condimentum consequat. Vivamus sit amet mattis nisi. Vivamus vel mi ac dolor fermentum pretium. Integer a ex vitae lacus dictum placerat sit amet id libero. Curabitur a rhoncus ligula. Integer auctor sed lectus sit amet tincidunt. Pellentesque placerat ex et dolor pellentesque imperdiet. Nulla mollis in tortor vel fermentum. Aliquam est mauris, placerat in urna ut, rutrum eleifend eros. Nullam scelerisque lectus efficitur nulla interdum feugiat. Duis eget tortor egestas, pharetra quam ac, tincidunt nisi. Vestibulum maximus cursus dignissim. Maecenas et augue ultrices, tincidunt ante eget, euismod libero. In ullamcorper efficitur elit sit amet vehicula. Nullam commodo est et consequat fermentum. Donec vitae erat mi. Praesent id leo vel lorem venenatis volutpat eget eget quam. Suspendisse potenti. Mauris dapibus dui at turpis varius euismod. Vestibulum sit amet metus quis lacus hendrerit hendrerit ut mattis purus. Nunc finibus porttitor urna, vitae ornare eros pulvinar convallis. In volutpat a nisi eu pretium. Pellentesque vulputate posuere mauris id malesuada. Sed quis orci lorem. Praesent id porta augue, nec feugiat neque.', '2014-11-10 14:34:47.091425', '2014-11-10 14:34:47.091425', 'A Diner', NULL, 0, NULL)  (0.1ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (2, 'A vegan''s perspective on Paris', 'Curabitur blandit odio sit amet urna mollis vulputate. Aenean aliquam magna ut sagittis interdum. Etiam congue est in semper convallis. Nunc fringilla lorem at ipsum pulvinar tincidunt. Phasellus fermentum aliquet ex ut imperdiet. Praesent vulputate consectetur est, sed rhoncus diam. Nullam sodales ipsum rhoncus, lacinia mi at, vestibulum ipsum. Nullam aliquet quam a nulla scelerisque porttitor. Fusce at eros metus. Quisque consectetur velit nec diam varius, id feugiat sem faucibus. Etiam malesuada eget nulla euismod placerat. Donec pretium justo sed leo fringilla lobortis. Proin eleifend luctus turpis, eu maximus enim feugiat non. Morbi accumsan quam diam, vel fringilla enim elementum efficitur. Nam rhoncus lectus eget magna tincidunt vehicula facilisis eu arcu. Nulla accumsan eu arcu a posuere. Maecenas tempus nisi dui, et felis aliquam et. Sed pretium id lacus in pretium. Duis congue turpis nunc, a scelerisque dui fermentum et. Proin nulla mauris, scelerisque non nibh id, vehicula pharetra est. Vestibulum non arcu dapibus, dictum lectus eu, dictum justo.', '2014-11-10 14:34:47.091425', '2014-11-10 14:34:47.091425', 'R D Crank', NULL, 0, NULL)  (0.1ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (3, 'x', 'Proin sapien odio, cursus in diam vel, ultrices tempus elit. Vestibulum ornare luctus sagittis. Cras eu lectus eget sem lacinia finibus. Ut non magna quis odio convallis viverra vel at enim. Maecenas efficitur id neque eget congue. Aliquam eu feugiat lectus, sed dignissim ex. Vivamus eget diam at dolor imperdiet congue. Nullam diam mi, euismod at commodo quis, rhoncus non tortor. Vestibulum tristique purus at diam ornare commodo. Phasellus eu turpis et ex congue pellentesque a sit amet nisi. Suspendisse potenti. Pellentesque sit amet arcu egestas, pulvinar eros id, vehicula sapien. Aliquam facilisis, ex ut tincidunt placerat, mauris elit mattis turpis, ac gravida mauris sem sit amet eros. Sed sagittis, odio ac posuere molestie, erat nibh eleifend neque, id porttitor dui ex id mauris. Ut ut sem imperdiet, condimentum mi eget, pulvinar mi. Vestibulum sollicitudin cursus libero, sit amet aliquet elit fringilla sed. Sed feugiat urna nunc. Mauris aliquet, magna sit amet placerat sollicitudin, augue turpis lacinia sapien, at faucibus massa tellus at augue. Donec iaculis auctor diam, sed molestie diam facilisis quis. Nam mauris tortor, tristique nec leo a, viverra finibus velit. Ut neque massa, accumsan et elit non, luctus lacinia mauris. Curabitur dapibus, mi vitae pretium gravida, eros ligula tempor ipsum, ac faucibus diam eros placerat elit. Vivamus porta tortor justo, et volutpat tellus placerat in. Pellentesque molestie hendrerit diam, eu suscipit nisi pretium eu. Etiam erat turpis, dignissim at tempor non, pretium quis ex. Sed pharetra urna id augue ullamcorper dapibus. Ut feugiat, lorem quis tempor bibendum, arcu ligula imperdiet urna, vitae volutpat nunc mauris non metus. ', '2014-11-10 16:36:25.013952', '2014-11-11 11:00:33.632329', 'z', NULL, 0, NULL)  (0.0ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (4, 'a', 'b', '2014-11-10 16:39:33.818074', '2014-11-10 16:39:33.818074', 'c', NULL, 0, NULL)  (0.0ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (5, 'newasdfasdf', 'what does this come from', '2014-11-10 16:41:21.491016', '2014-11-11 11:10:52.952766', 'new', NULL, 0, NULL)  (0.0ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (6, 's', 't', '2014-11-10 16:55:10.297610', '2014-11-10 16:55:10.297610', 'r', NULL, 0, NULL)  (0.0ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (7, 'u', 'i', '2014-11-10 17:00:41.266272', '2014-11-10 17:00:41.266272', 'b', NULL, 0, NULL)  (0.0ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (8, 'wrg', 'wregw', '2014-11-10 17:02:40.159457', '2014-11-10 17:02:40.159457', 'wrhwh', NULL, 0, NULL)  (0.0ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (9, 'asdfasd', 'asdfasdf', '2014-11-10 17:04:41.590569', '2014-11-10 17:04:41.590569', 'asdfasdf', NULL, 0, NULL)  (0.0ms) INSERT INTO "articles" ("id","title","body","created_at","updated_at","author","url","upvotes","counter_cache") VALUES (10, 'dfsdfgs', 'sdfbsdfb', '2014-11-11 13:33:15.078850', '2014-11-11 13:33:15.078850', 'sfbfsdgn', NULL, 0, NULL)  (0.3ms) DROP TABLE "aarticles" SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20141111134256'  (1.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddVoteCounterToArticle (20141111134256)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "articles" ADD "votes_count" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141111134256"]]  (8.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started POST "/articles/4/votes?up=true" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"4"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 4], ["created_at", "2014-11-11 13:53:01.583372"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 13:53:01.583372"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 4  (9.1ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 26ms (ActiveRecord: 10.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.6ms) Completed 200 OK in 87ms (Views: 84.2ms | ActiveRecord: 1.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:53:01 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:55:27 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (34.3ms) Completed 200 OK in 91ms (Views: 86.4ms | ActiveRecord: 2.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:55:28 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:56:05 +0000 Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 3ms NameError (uninitialized constant ArticlesController::DESC): app/controllers/articles_controller.rb:9:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:56:25 +0000 Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 3ms NameError (uninitialized constant ArticlesController::ASC): app/controllers/articles_controller.rb:9:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (34.5ms) Completed 200 OK in 93ms (Views: 88.2ms | ActiveRecord: 2.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:56:49 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:57:35 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.9ms) Completed 200 OK in 92ms (Views: 87.3ms | ActiveRecord: 2.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:57:36 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (36.3ms) Completed 200 OK in 96ms (Views: 92.9ms | ActiveRecord: 2.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:58:59 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:03 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:03 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:03 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:03 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:03 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (38.5ms) Completed 200 OK in 103ms (Views: 97.1ms | ActiveRecord: 2.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:27 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 13:59:37 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.2ms) Completed 200 OK in 87ms (Views: 84.9ms | ActiveRecord: 1.8ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.0ms) Completed 200 OK in 95ms (Views: 89.9ms | ActiveRecord: 2.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 13:59:53 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:00:17 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (38.5ms) Completed 200 OK in 95ms (Views: 90.1ms | ActiveRecord: 2.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:18 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:00:30 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.3ms) Completed 200 OK in 95ms (Views: 89.9ms | ActiveRecord: 2.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:31 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (40.7ms) Completed 200 OK in 108ms (Views: 102.3ms | ActiveRecord: 2.7ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:00:41 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:00:55 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Completed 500 Internal Server Error in 3ms NameError (uninitialized constant ArticlesController::DESC): app/controllers/articles_controller.rb:6:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.5ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (33.8ms) Completed 200 OK in 104ms (Views: 99.4ms | ActiveRecord: 2.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:01:04 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (34.2ms) Completed 200 OK in 102ms (Views: 97.0ms | ActiveRecord: 2.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:13 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.4ms) Completed 200 OK in 103ms (Views: 98.5ms | ActiveRecord: 2.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:27 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.2ms) Completed 200 OK in 92ms (Views: 90.0ms | ActiveRecord: 1.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:29 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (30.3ms) Completed 200 OK in 87ms (Views: 84.7ms | ActiveRecord: 1.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:02:55 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (31.9ms) Completed 200 OK in 97ms (Views: 93.7ms | ActiveRecord: 1.7ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:03:44 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (30.0ms) Completed 200 OK in 143ms (Views: 140.7ms | ActiveRecord: 1.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:07 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.3ms) Completed 200 OK in 86ms (Views: 83.4ms | ActiveRecord: 1.7ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:17 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (27.6ms) Completed 200 OK in 85ms (Views: 82.4ms | ActiveRecord: 1.7ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:46 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:47 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:47 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:47 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:47 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:47 +0000 Started POST "/articles/7/votes?up=true" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"7"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.4ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 7], ["created_at", "2014-11-11 14:05:52.397438"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:05:52.397438"]] SQL (0.2ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 7  (8.9ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 20ms (ActiveRecord: 9.8ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (37.6ms) Completed 200 OK in 104ms (Views: 101.3ms | ActiveRecord: 2.4ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:05:52 +0000 Started POST "/articles/7/votes?up=true" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"7"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.4ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 7], ["created_at", "2014-11-11 14:06:00.775547"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:06:00.775547"]] SQL (0.5ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 7  (8.3ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 14ms (ActiveRecord: 9.3ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (33.0ms) Completed 200 OK in 95ms (Views: 92.0ms | ActiveRecord: 2.1ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:06:00 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:06:57 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (32.5ms) Completed 200 OK in 88ms (Views: 85.0ms | ActiveRecord: 2.0ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.2ms) Completed 200 OK in 121ms (Views: 118.8ms | ActiveRecord: 1.7ms) Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:07:43 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:49 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:49 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:49 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:49 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:07:49 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (27.6ms) Completed 200 OK in 104ms (Views: 101.1ms | ActiveRecord: 1.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:08:59 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.1ms) Completed 200 OK in 122ms (Views: 119.6ms | ActiveRecord: 1.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:36 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (38.9ms) Completed 200 OK in 120ms (Views: 117.3ms | ActiveRecord: 2.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:09:46 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:10:16 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.9ms) Completed 200 OK in 98ms (Views: 94.7ms | ActiveRecord: 2.3ms) Started POST "/articles/7/votes?up=true" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"7"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.2ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 7], ["created_at", "2014-11-11 14:10:32.531536"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:10:32.531536"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 7  (8.7ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 14ms (ActiveRecord: 9.3ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (27.5ms) Completed 200 OK in 84ms (Views: 81.8ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:10:32 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:10:37 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (32.8ms) Completed 200 OK in 90ms (Views: 86.5ms | ActiveRecord: 2.3ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 1], ["created_at", "2014-11-11 14:12:29.211207"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:12:29.211207"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 1  (9.0ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 17ms (ActiveRecord: 9.7ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (30.9ms) Completed 200 OK in 102ms (Views: 99.6ms | ActiveRecord: 1.8ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:29 +0000 Started POST "/articles/8/votes?up=true" for 127.0.0.1 at 2014-11-11 14:12:33 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"8"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 8]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 8], ["created_at", "2014-11-11 14:12:33.993103"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:12:33.993103"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 8  (8.2ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 14ms (ActiveRecord: 9.0ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (27.4ms) Completed 200 OK in 83ms (Views: 81.2ms | ActiveRecord: 1.6ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:12:34 +0000 Started GET "/articles/1" for 127.0.0.1 at 2014-11-11 14:15:04 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Vote Load (0.2ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Rendered articles/show.html.erb within layouts/application (29.3ms) Completed 200 OK in 85ms (Views: 82.9ms | ActiveRecord: 0.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:15:23 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.4ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (37.5ms) Completed 200 OK in 92ms (Views: 89.2ms | ActiveRecord: 2.7ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (29.5ms) Completed 200 OK in 86ms (Views: 83.6ms | ActiveRecord: 1.7ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:45 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:19:47 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (31.2ms) Completed 200 OK in 93ms (Views: 90.3ms | ActiveRecord: 1.8ms) Started POST "/articles/9/votes?sort=votes&up=true" for 127.0.0.1 at 2014-11-11 14:19:57 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"votes", "up"=>"true", "article_id"=>"9"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 9], ["created_at", "2014-11-11 14:19:57.888481"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:19:57.888481"]] SQL (0.2ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 9  (9.2ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 16ms (ActiveRecord: 10.0ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:19:57 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (26.9ms) Completed 200 OK in 82ms (Views: 79.7ms | ActiveRecord: 1.7ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:19:58 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (34.4ms) Completed 200 OK in 93ms (Views: 87.8ms | ActiveRecord: 2.4ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:34 +0000 Started POST "/articles/7/votes?up=true" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"7"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (1.0ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 7], ["created_at", "2014-11-11 14:20:38.359831"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:20:38.359831"]] SQL (0.2ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 7  (9.3ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 25ms (ActiveRecord: 10.8ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.7ms) Completed 200 OK in 89ms (Views: 86.9ms | ActiveRecord: 1.6ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:20:38 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (29.3ms) Completed 200 OK in 93ms (Views: 90.4ms | ActiveRecord: 1.6ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:29 +0000 Started POST "/articles/8/votes?up=false" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"false", "article_id"=>"8"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 8]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 8], ["created_at", "2014-11-11 14:22:41.637150"], ["from", "127.0.0.1"], ["up", "f"], ["updated_at", "2014-11-11 14:22:41.637150"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 8  (8.3ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 15ms (ActiveRecord: 9.0ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (33.0ms) Completed 200 OK in 98ms (Views: 95.1ms | ActiveRecord: 2.3ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:22:41 +0000 Started POST "/articles/4/votes?up=true" for 127.0.0.1 at 2014-11-11 14:23:50 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"4"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 4]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 4], ["created_at", "2014-11-11 14:23:50.843526"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:23:50.843526"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 4  (8.9ms) commit transaction Completed 500 Internal Server Error in 31ms NoMethodError (undefined method `redirect_to_articles_path' for #): app/controllers/votes_controller.rb:7:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.5ms) Started POST "/articles/4/votes?up=true" for 127.0.0.1 at 2014-11-11 14:24:38 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"4"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.6ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 4], ["created_at", "2014-11-11 14:24:38.906033"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:24:38.906033"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 4  (9.0ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 31ms (ActiveRecord: 11.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:24:38 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.6ms) Completed 200 OK in 94ms (Views: 91.7ms | ActiveRecord: 1.8ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:24:39 +0000 Started POST "/articles/4/votes?up=true" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"4"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 4], ["created_at", "2014-11-11 14:26:13.635976"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:26:13.635976"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 4  (8.4ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 27ms (ActiveRecord: 9.9ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (31.0ms) Completed 200 OK in 92ms (Views: 88.7ms | ActiveRecord: 2.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:26:13 +0000 Started POST "/articles/6/votes?up=true" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"6"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 6], ["created_at", "2014-11-11 14:27:00.717602"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:27:00.717602"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 6  (8.4ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 30ms (ActiveRecord: 9.9ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (42.0ms) Completed 200 OK in 113ms (Views: 109.2ms | ActiveRecord: 2.7ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:27:00 +0000 Started POST "/articles/3/votes?up=true" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"3"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 3], ["created_at", "2014-11-11 14:28:33.814185"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:28:33.814185"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 3  (9.0ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 26ms (ActiveRecord: 10.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.9ms) Completed 200 OK in 90ms (Views: 87.7ms | ActiveRecord: 1.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:28:33 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:28:34 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:28:43 +0000 Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 3ms NameError (undefined local variable or method `paramsx' for #): app/controllers/articles_controller.rb:3:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.7ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.6ms) Completed 200 OK in 102ms (Views: 96.9ms | ActiveRecord: 2.3ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:31:41 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (36.5ms) Completed 200 OK in 108ms (Views: 103.0ms | ActiveRecord: 2.4ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:32:07 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.6ms) Completed 200 OK in 98ms (Views: 93.2ms | ActiveRecord: 2.3ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:24 +0000 Started POST "/articles/6/votes?up=true" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"6"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 6], ["created_at", "2014-11-11 14:33:28.559090"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:33:28.559090"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 6  (9.0ms) commit transaction Redirected to http://localhost:3000/articles.6 Completed 302 Found in 20ms (ActiveRecord: 9.6ms) Started GET "/articles.6" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Processing by ArticlesController#index as Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (34.0ms) Completed 200 OK in 112ms (Views: 109.3ms | ActiveRecord: 1.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:33:28 +0000 Started GET "/articles.6" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Processing by ArticlesController#index as Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (41.7ms) Completed 200 OK in 102ms (Views: 96.7ms | ActiveRecord: 2.4ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:08 +0000 Started POST "/articles/9/votes?up=true" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"9"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.5ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 9], ["created_at", "2014-11-11 14:34:18.275738"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:34:18.275738"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 9  (8.7ms) commit transaction Redirected to http://localhost:3000/articles.9?sort=none Completed 302 Found in 19ms (ActiveRecord: 9.6ms) Started GET "/articles.9?sort=none" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Processing by ArticlesController#index as Parameters: {"sort"=>"none"} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (34.4ms) Completed 200 OK in 92ms (Views: 89.5ms | ActiveRecord: 1.8ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:18 +0000 Started POST "/articles/7/votes?sort=none&up=true" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"none", "up"=>"true", "article_id"=>"7"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.6ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 7], ["created_at", "2014-11-11 14:34:38.251279"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:34:38.251279"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 7  (9.1ms) commit transaction Redirected to http://localhost:3000/articles.7?sort=none Completed 302 Found in 29ms (ActiveRecord: 10.8ms) Started GET "/articles.7?sort=none" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Processing by ArticlesController#index as Parameters: {"sort"=>"none"} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.3ms) Completed 200 OK in 98ms (Views: 95.1ms | ActiveRecord: 1.7ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:38 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:34:53 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (38.2ms) Completed 200 OK in 104ms (Views: 98.2ms | ActiveRecord: 2.6ms) Started POST "/articles/8/votes?sort=votes&up=true" for 127.0.0.1 at 2014-11-11 14:34:56 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"votes", "up"=>"true", "article_id"=>"8"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 8]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 8], ["created_at", "2014-11-11 14:34:57.006123"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:34:57.006123"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 8  (8.7ms) commit transaction Redirected to http://localhost:3000/articles?sort=votes Completed 302 Found in 21ms (ActiveRecord: 9.3ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.4ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (39.9ms) Completed 200 OK in 113ms (Views: 108.9ms | ActiveRecord: 2.6ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:34:57 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:35:57 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (35.1ms) Completed 200 OK in 89ms (Views: 86.7ms | ActiveRecord: 2.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.7ms) Completed 200 OK in 92ms (Views: 89.2ms | ActiveRecord: 1.7ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:30 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:36:32 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (33.1ms) Completed 200 OK in 94ms (Views: 90.7ms | ActiveRecord: 2.0ms) Started POST "/articles/6/votes?sort=votes&up=true" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"votes", "up"=>"true", "article_id"=>"6"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 6], ["created_at", "2014-11-11 14:36:37.114438"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:36:37.114438"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 6  (9.1ms) commit transaction Redirected to http://localhost:3000/articles?sort=votes Completed 302 Found in 17ms (ActiveRecord: 9.8ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (28.8ms) Completed 200 OK in 89ms (Views: 86.1ms | ActiveRecord: 1.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:37 +0000 Started POST "/articles/6/votes?sort=votes&up=true" for 127.0.0.1 at 2014-11-11 14:36:40 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"votes", "up"=>"true", "article_id"=>"6"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 6], ["created_at", "2014-11-11 14:36:40.899989"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:36:40.899989"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 6  (8.5ms) commit transaction Redirected to http://localhost:3000/articles?sort=votes Completed 302 Found in 14ms (ActiveRecord: 9.0ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:36:40 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (29.3ms) Completed 200 OK in 84ms (Views: 82.0ms | ActiveRecord: 1.8ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:41 +0000 Started POST "/articles/6/votes?sort=votes&up=true" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"votes", "up"=>"true", "article_id"=>"6"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 6]]  (0.2ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 6], ["created_at", "2014-11-11 14:36:45.428668"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:36:45.428668"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 6  (8.2ms) commit transaction Redirected to http://localhost:3000/articles?sort=votes Completed 302 Found in 16ms (ActiveRecord: 8.9ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (29.7ms) Completed 200 OK in 92ms (Views: 89.5ms | ActiveRecord: 1.9ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:45 +0000 Started POST "/articles/7/votes?sort=votes&up=true" for 127.0.0.1 at 2014-11-11 14:36:47 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"votes", "up"=>"true", "article_id"=>"7"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.4ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 7], ["created_at", "2014-11-11 14:36:47.971790"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 14:36:47.971790"]] SQL (0.2ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 7  (0.8ms) commit transaction Redirected to http://localhost:3000/articles?sort=votes Completed 302 Found in 9ms (ActiveRecord: 1.6ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:36:47 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (30.9ms) Completed 200 OK in 93ms (Views: 89.7ms | ActiveRecord: 1.9ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:36:48 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:42:46 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY counter Completed 500 Internal Server Error in 36ms NoMethodError (undefined method `elif' for #): app/controllers/articles_controller.rb:8:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.3ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:43:08 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/articles_controller.rb:53: syntax error, unexpected end-of-input, expecting keyword_end): app/controllers/articles_controller.rb:53: syntax error, unexpected end-of-input, expecting keyword_end Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.6ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:44:01 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Completed 500 Internal Server Error in 5ms NameError (undefined local variable or method `desc' for #): app/controllers/articles_controller.rb:7:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.9ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:44:17 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY "articles"."counter" DESC SQLite3::SQLException: no such column: articles.counter: SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY "articles"."counter" DESC Rendered articles/index.html.erb within layouts/application (5.5ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (SQLite3::SQLException: no such column: articles.counter: SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY "articles"."counter" DESC): 5: <%= link_to 'New Article', :controller => 'articles', :action => "new" %> 6: 7:
8:
<% @articles.each do |article| %> 9: 10:
11:

<%= link_to article.title, action: 'show', id: article.id %> <%= article.author + ', ' + article.created_at.to_formatted_s(:short)%>

app/views/articles/index.html.erb:8:in `_app_views_articles_index_html_erb__1174936633586156242_70274183300700' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (15.3ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Rendered articles/index.html.erb within layouts/application (12.4ms) Completed 200 OK in 71ms (Views: 67.1ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:45:47 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:46:24 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY counter DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Rendered articles/index.html.erb within layouts/application (12.5ms) Completed 200 OK in 68ms (Views: 64.2ms | ActiveRecord: 1.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:25 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY counter DESC  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Rendered articles/index.html.erb within layouts/application (5.5ms) Completed 200 OK in 71ms (Views: 69.6ms | ActiveRecord: 0.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:46:31 +0000 Article Load (0.4ms) SELECT "articles".* FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" Article Load (0.7ms) SELECT articles.* FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" Article Load (0.3ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" Article Load (0.9ms) SELECT articles.* FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" Article Load (1.1ms) SELECT articles.* FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY id Article Load (0.7ms) SELECT articles.* FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY title Article Load (0.3ms) SELECT articles.*,count(:votes) FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY title Article Load (0.8ms) SELECT articles.* FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" ORDER BY title Article Load (0.3ms) SELECT articles.*,count(*) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" Article Load (0.4ms) SELECT articles.*,count(*) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" Article Load (0.8ms) SELECT articles.*,count(*) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:58:04 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id ORDER BY counter DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Rendered articles/index.html.erb within layouts/application (30.5ms) Completed 200 OK in 95ms (Views: 90.6ms | ActiveRecord: 2.1ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 14:58:05 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 14:58:37 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT articles.*, count(votes.id where votes.up) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id ORDER BY counter DESC SQLite3::SQLException: near "where": syntax error: SELECT articles.*, count(votes.id where votes.up) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id ORDER BY counter DESC Rendered articles/index.html.erb within layouts/application (5.5ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (SQLite3::SQLException: near "where": syntax error: SELECT articles.*, count(votes.id where votes.up) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id ORDER BY counter DESC): 5: <%= link_to 'New Article', :controller => 'articles', :action => "new" %> 6:
7:
8:
<% @articles.each do |article| %> 9: 10:
11:

<%= link_to article.title, action: 'show', id: article.id %> <%= article.author + ', ' + article.created_at.to_formatted_s(:short)%>

app/views/articles/index.html.erb:8:in `_app_views_articles_index_html_erb__1174936633586156242_70274183300700' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.1ms) Article Load (0.7ms) SELECT articles.*,count(:votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id SQLite3::SQLException: near ".": syntax error: SELECT articles.*,count(:votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id ORDER BY counter DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Rendered articles/index.html.erb within layouts/application (30.5ms) Completed 200 OK in 96ms (Views: 91.2ms | ActiveRecord: 2.2ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:00:07 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:02:58 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id ORDER BY counter DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Rendered articles/index.html.erb within layouts/application (25.3ms) Completed 500 Internal Server Error in 99ms ActionView::Template::Error (undefined method `pluralize_without_count' for #<#:0x007fd3f8853cb0>): 8: 9: 10:
11:

<%= link_to pluralize_without_count(params[:controller].capitalize,1), articles_path %>

12: <% flash.each do |key, value| %> 13:
<%= value %>
14: <% end %> app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___3711255987086493885_70274192138160' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.8ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:03:20 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id ORDER BY counter DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Rendered articles/index.html.erb within layouts/application (24.0ms) Completed 500 Internal Server Error in 80ms ActionView::Template::Error (undefined method `pluralize' for 1:Fixnum): 8: 9: 10:
11:

<%= link_to pluralize(params[:controller].capitalize,1), articles_path %>

12: <% flash.each do |key, value| %> 13:
<%= value %>
14: <% end %> app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___3711255987086493885_70274158188500' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.5ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT articles.*, count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id ORDER BY counter DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Rendered articles/index.html.erb within layouts/application (31.3ms) Completed 200 OK in 85ms (Views: 82.8ms | ActiveRecord: 1.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:03:30 +0000 Article Load (0.4ms) SELECT articles.*,count(:votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id SQLite3::SQLException: near ".": syntax error: SELECT articles.*,count(:votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id Article Load (0.5ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id Article Load (0.3ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING up = true SQLite3::SQLException: no such column: true: SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING up = true Article Load (0.6ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING up = 'true' Article Load (0.5ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING up = 1 Article Load (0.3ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING up = 0 Article Load (0.4ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING up != 0 Article Load (0.4ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING from != '127.0.0.1' SQLite3::SQLException: near "from": syntax error: SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING from != '127.0.0.1' Article Load (0.5ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING 'from' != '127.0.0.1' Article Load (0.6ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING 'from' != '127.0.0.' Article Load (0.7ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING 'up' != '127.0.0.' Article Load (0.6ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING 'up' != 'true' Article Load (0.6ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING 'up' != 'false' Article Load (0.5ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING 'up' = 'false' Article Load (0.7ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING 'votes.up' = 'false' Article Load (0.4ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING votes.up = 'false' Article Load (0.4ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING votes.up? SQLite3::SQLException: near "?": syntax error: SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id HAVING votes.up? Article Load (0.8ms) SELECT articles.*,count(votes.id) as counter FROM "articles" INNER JOIN "votes" ON "votes"."article_id" = "articles"."id" GROUP BY article_id Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:13:47 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (36.0ms) Completed 200 OK in 102ms (Views: 96.7ms | ActiveRecord: 2.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:13:48 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:13:58 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (32.4ms) Completed 200 OK in 93ms (Views: 90.1ms | ActiveRecord: 2.2ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:13:59 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (30.6ms) Completed 200 OK in 91ms (Views: 88.0ms | ActiveRecord: 2.0ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 15:19:00 +0000 Processing by ArticlesController#new as HTML Completed 500 Internal Server Error in 1ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :title, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :body, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :author, presence :true ^): app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/controllers/articles_controller.rb:16:in `new' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.2ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 15:19:01 +0000 Processing by ArticlesController#new as HTML Completed 500 Internal Server Error in 2ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :title, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :body, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :author, presence :true ^): app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/controllers/articles_controller.rb:16:in `new' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.5ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Processing by ArticlesController#new as HTML Rendered articles/new.html.erb within layouts/application (26.3ms) Completed 200 OK in 93ms (Views: 89.7ms | ActiveRecord: 0.4ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:19:24 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Processing by ArticlesController#new as HTML Rendered articles/new.html.erb within layouts/application (6.2ms) Completed 200 OK in 65ms (Views: 60.9ms | ActiveRecord: 0.4ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:22:50 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:23:20 +0000 Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 1ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :title, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :body, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :author, presence :true ^): app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/controllers/articles_controller.rb:6:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:23:20 +0000 Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 1ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :title, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :body, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :author, presence :true ^): app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/controllers/articles_controller.rb:6:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:23:26 +0000 Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 2ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :title, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :body, presence :true ^ /Users/Steer/steer-rails/stack/app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :author, presence :true ^): app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:5: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/models/article.rb:6: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/controllers/articles_controller.rb:6:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.9ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:26:24 +0000 Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 1ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' validates :title, presence :true ^): app/models/article.rb:4: syntax error, unexpected tSYMBEG, expecting keyword_do or '{' or '(' app/controllers/articles_controller.rb:6:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (44.1ms) Completed 200 OK in 105ms (Views: 100.0ms | ActiveRecord: 2.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:01 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (48.0ms) Completed 200 OK in 107ms (Views: 100.4ms | ActiveRecord: 2.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:20 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:27:57 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (40.7ms) Completed 200 OK in 94ms (Views: 91.9ms | ActiveRecord: 1.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:27:58 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 15:28:04 +0000 Processing by ArticlesController#new as HTML Rendered articles/new.html.erb within layouts/application (4.8ms) Completed 200 OK in 85ms (Views: 84.0ms | ActiveRecord: 0.0ms) Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:28:06 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/new.html.erb within layouts/application (2.8ms) Completed 200 OK in 78ms (Views: 71.5ms | ActiveRecord: 0.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:28:06 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:28:07 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:29:02 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/new.html.erb within layouts/application (10.7ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined local variable or method `article' for #<#:0x007fd3f4753030>): 1:

New Article

2:

Find me in app/views/articles/edit.html.erb

3:
4: <%= article.errors %> 5: <%= form_for @article do |form| %> 6: <%= form.label :title %><%= form.text_field :title %> 7: <%= form.label :url %><%= form.text_field :url %> app/views/articles/new.html.erb:4:in `_app_views_articles_new_html_erb___3210483729195403173_70274158070900' app/controllers/articles_controller.rb:25:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.4ms) Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.3ms) Completed 200 OK in 71ms (Views: 67.1ms | ActiveRecord: 0.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:21 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (4.0ms) Completed 200 OK in 63ms (Views: 59.8ms | ActiveRecord: 0.1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:29:41 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.3ms) Completed 200 OK in 61ms (Views: 57.8ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:30:21 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 70ms (Views: 58.0ms | ActiveRecord: 0.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:31:49 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:33:17 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Completed 500 Internal Server Error in 12ms ArgumentError (Unknown validator: 'MessageValidator'): app/models/article.rb:4:in `' app/models/article.rb:1:in `' app/controllers/articles_controller.rb:19:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.8ms) Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:34:30 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Completed 500 Internal Server Error in 1ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:4: syntax error, unexpected ',', expecting => validates :title, presence: {true,:message => "What's it all about"} ^ /Users/Steer/steer-rails/stack/app/models/article.rb:4: syntax error, unexpected '}', expecting keyword_end): app/models/article.rb:4: syntax error, unexpected ',', expecting => app/models/article.rb:4: syntax error, unexpected '}', expecting keyword_end app/controllers/articles_controller.rb:19:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.2ms) Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.0ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 107ms (Views: 97.3ms | ActiveRecord: 0.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:35:18 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 73ms (Views: 69.2ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:37:23 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.8ms) Completed 200 OK in 70ms (Views: 67.1ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:13 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.6ms) Completed 200 OK in 64ms (Views: 60.9ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:38:40 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 67ms (Views: 64.3ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:39:33 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:40:19 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.4ms) Completed 200 OK in 63ms (Views: 60.1ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:20 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:40:44 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (4.2ms) Completed 200 OK in 63ms (Views: 59.5ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:40:45 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.5ms) Completed 200 OK in 69ms (Views: 65.5ms | ActiveRecord: 0.1ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:41:11 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:47 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:47 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:47 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:47 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:41:47 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/new.html.erb within layouts/application (2.9ms) Completed 200 OK in 69ms (Views: 66.1ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:43:25 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.3ms) Completed 200 OK in 68ms (Views: 64.9ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:46:17 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.0ms) Completed 200 OK in 91ms (Views: 87.5ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:41 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/new.html.erb within layouts/application (2.4ms) Completed 200 OK in 62ms (Views: 57.9ms | ActiveRecord: 0.2ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:50:46 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"THis", "url"=>"should", "body"=>"validate", "author"=>"nicesly"}} Unpermitted parameters: url  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "articles" ("author", "body", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["author", "nicesly"], ["body", "validate"], ["created_at", "2014-11-11 15:51:23.796253"], ["title", "THis"], ["updated_at", "2014-11-11 15:51:23.796253"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/articles/11 Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET "/articles/11" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"11"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 11]] Rendered articles/show.html.erb within layouts/application (5.3ms) Completed 200 OK in 65ms (Views: 63.7ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:23 +0000 Started GET "/articles/11/edit" for 127.0.0.1 at 2014-11-11 15:51:29 +0000 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"11"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Rendered articles/_form.html.erb (6.0ms) Rendered articles/edit.html.erb within layouts/application (12.0ms) Completed 200 OK in 69ms (Views: 67.9ms | ActiveRecord: 0.1ms) Started PATCH "/articles/11" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Processing by ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"This", "url"=>"", "body"=>"validate", "author"=>"nicesly"}, "id"=>"11"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Unpermitted parameters: url Unpermitted parameters: url Unpermitted parameters: url  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "title" = ?, "updated_at" = ? WHERE "articles"."id" = 11 [["title", "This"], ["updated_at", "2014-11-11 15:51:34.504164"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/articles/11 Completed 302 Found in 6ms (ActiveRecord: 1.3ms) Started GET "/articles/11" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"11"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 11]] Rendered articles/show.html.erb within layouts/application (1.8ms) Completed 200 OK in 63ms (Views: 62.0ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:34 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:51:44 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (37.7ms) Completed 200 OK in 94ms (Views: 90.8ms | ActiveRecord: 2.9ms) Started POST "/articles/11/votes?up=true" for 127.0.0.1 at 2014-11-11 15:51:51 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"11"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 11], ["created_at", "2014-11-11 15:51:51.926153"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 15:51:51.926153"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 11  (0.9ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 9ms (ActiveRecord: 1.5ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:51:51 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (39.6ms) Completed 200 OK in 96ms (Views: 93.2ms | ActiveRecord: 2.1ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:52 +0000 Started POST "/articles/11/votes?up=true" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"11"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.2ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 11], ["created_at", "2014-11-11 15:51:57.443026"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 15:51:57.443026"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 11  (8.1ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 13ms (ActiveRecord: 8.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (30.9ms) Completed 200 OK in 93ms (Views: 90.2ms | ActiveRecord: 2.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:51:57 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:52:06 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (32.6ms) Completed 200 OK in 87ms (Views: 84.3ms | ActiveRecord: 2.1ms) Started POST "/articles/11/votes?sort=votes&up=true" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"votes", "up"=>"true", "article_id"=>"11"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 11], ["created_at", "2014-11-11 15:52:11.721046"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 15:52:11.721046"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 11  (8.2ms) commit transaction Redirected to http://localhost:3000/articles?sort=votes Completed 302 Found in 14ms (ActiveRecord: 8.8ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (30.0ms) Completed 200 OK in 92ms (Views: 89.6ms | ActiveRecord: 1.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:11 +0000 Started POST "/articles/11/votes?sort=votes&up=true" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "sort"=>"votes", "up"=>"true", "article_id"=>"11"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 11], ["created_at", "2014-11-11 15:52:18.344652"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-11 15:52:18.344652"]] SQL (0.2ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 11  (8.4ms) commit transaction Redirected to http://localhost:3000/articles?sort=votes Completed 302 Found in 15ms (ActiveRecord: 9.1ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (29.4ms) Completed 200 OK in 96ms (Views: 93.9ms | ActiveRecord: 1.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:52:18 +0000 Started GET "/articles/7" for 127.0.0.1 at 2014-11-11 15:57:46 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"7"} Completed 500 Internal Server Error in 1ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:7: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' validates_format_of :url, with: URI.regexp, unless url: nil ^): app/models/article.rb:7: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' app/controllers/articles_controller.rb:13:in `show' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.4ms) Started GET "/articles/7" for 127.0.0.1 at 2014-11-11 15:57:46 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"7"} Completed 500 Internal Server Error in 5ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:7: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' validates_format_of :url, with: URI.regexp, unless url: nil ^): app/models/article.rb:7: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' app/controllers/articles_controller.rb:13:in `show' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.5ms) Started GET "/articles/7" for 127.0.0.1 at 2014-11-11 15:59:00 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"7"} Completed 500 Internal Server Error in 1ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/article.rb:8: syntax error, unexpected '\n', expecting =>): app/models/article.rb:8: syntax error, unexpected '\n', expecting => app/controllers/articles_controller.rb:13:in `show' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms) Started GET "/articles/7" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"7"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]] Vote Load (0.2ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 7]] Rendered articles/show.html.erb within layouts/application (8.9ms) Completed 200 OK in 77ms (Views: 69.0ms | ActiveRecord: 0.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:21 +0000 Started GET "/articles/7/edit" for 127.0.0.1 at 2014-11-11 15:59:49 +0000 Processing by ArticlesController#edit as HTML Parameters: {"id"=>"7"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]] Rendered articles/_form.html.erb (4.9ms) Rendered articles/edit.html.erb within layouts/application (5.6ms) Completed 200 OK in 75ms (Views: 73.1ms | ActiveRecord: 0.1ms) Started PATCH "/articles/7" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Processing by ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"u", "url"=>"asdfsf", "body"=>"i", "author"=>"b"}, "id"=>"7"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]] Unpermitted parameters: url Unpermitted parameters: url Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/_form.html.erb (4.0ms) Rendered articles/edit.html.erb within layouts/application (5.4ms) Completed 200 OK in 65ms (Views: 59.7ms | ActiveRecord: 0.3ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 15:59:53 +0000 Started PATCH "/articles/7" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Processing by ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"u", "url"=>"aSAds", "body"=>"i", "author"=>"b"}, "id"=>"7"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]] Unpermitted parameters: url Unpermitted parameters: url Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/_form.html.erb (3.7ms) Rendered articles/edit.html.erb within layouts/application (4.9ms) Completed 200 OK in 73ms (Views: 68.8ms | ActiveRecord: 0.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:01:50 +0000 Started PATCH "/articles/7" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Processing by ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"u", "url"=>"aSAds", "body"=>"i", "author"=>"b"}, "id"=>"7"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]] Unpermitted parameters: url Unpermitted parameters: url Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/_form.html.erb (2.3ms) Rendered articles/edit.html.erb within layouts/application (3.0ms) Completed 200 OK in 61ms (Views: 57.5ms | ActiveRecord: 0.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:18 +0000 Started PATCH "/articles/7" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Processing by ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"u", "url"=>"aSAds", "body"=>"i", "author"=>"b"}, "id"=>"7"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]] Unpermitted parameters: url Unpermitted parameters: url Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/_form.html.erb (2.3ms) Rendered articles/edit.html.erb within layouts/application (2.9ms) Completed 200 OK in 64ms (Views: 60.3ms | ActiveRecord: 0.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:41 +0000 Started PATCH "/articles/7" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Processing by ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"u", "url"=>"", "body"=>"i", "author"=>"b"}, "id"=>"7"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 7]] Unpermitted parameters: url Unpermitted parameters: url Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/_form.html.erb (2.3ms) Rendered articles/edit.html.erb within layouts/application (2.9ms) Completed 200 OK in 71ms (Views: 66.0ms | ActiveRecord: 0.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:02:46 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (33.8ms) Completed 200 OK in 88ms (Views: 85.1ms | ActiveRecord: 2.3ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:01 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:03:08 +0000 Processing by ArticlesController#new as HTML Rendered articles/new.html.erb within layouts/application (3.2ms) Completed 200 OK in 67ms (Views: 66.4ms | ActiveRecord: 0.0ms) Started POST "/articles" for 127.0.0.1 at 2014-11-11 16:03:15 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"asdasd", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/new.html.erb within layouts/application (3.8ms) Completed 200 OK in 65ms (Views: 60.3ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:16 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "article"=>{"title"=>"", "url"=>"asdasdasd:", "body"=>"", "author"=>""}} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/new.html.erb within layouts/application (2.6ms) Completed 200 OK in 61ms (Views: 56.6ms | ActiveRecord: 0.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:03:24 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:04:23 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (33.4ms) Completed 200 OK in 94ms (Views: 90.6ms | ActiveRecord: 2.1ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:24 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (42.1ms) Completed 200 OK in 118ms (Views: 114.0ms | ActiveRecord: 3.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:04:29 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (31.9ms) Completed 200 OK in 89ms (Views: 86.8ms | ActiveRecord: 1.9ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:07:08 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:07:10 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (10.0ms) Rendered articles/new.html.erb within layouts/application (11.3ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007fd3f4936550>): 1:

New Article

2:

Find me in app/views/articles/edit.html.erb

3:
4: <%= simple_form_for @article do |form| %> 5: <%= form.label :title %><%= form.text_field :title %> 6: <%= form.label :url %><%= form.text_field :url %> 7: <%= form.label :body %><%= form.text_area :body %> app/views/articles/_form.html.erb:4:in `_app_views_articles__form_html_erb__175044515341553748_70274158849780' app/views/articles/new.html.erb:1:in `_app_views_articles_new_html_erb___3210483729195403173_70274159060200' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.7ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:07:10 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (10.2ms) Rendered articles/new.html.erb within layouts/application (11.2ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007fd3f47a8eb8>): 1:

New Article

2:

Find me in app/views/articles/edit.html.erb

3:
4: <%= simple_form_for @article do |form| %> 5: <%= form.label :title %><%= form.text_field :title %> 6: <%= form.label :url %><%= form.text_field :url %> 7: <%= form.label :body %><%= form.text_area :body %> app/views/articles/_form.html.erb:4:in `_app_views_articles__form_html_erb__175044515341553748_70274158217940' app/views/articles/new.html.erb:1:in `_app_views_articles_new_html_erb___3210483729195403173_70274158238820' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.3ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:10:28 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (31.0ms) Completed 200 OK in 93ms (Views: 90.5ms | ActiveRecord: 1.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:10:28 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:10:28 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:10:28 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:10:28 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:10:28 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:10:29 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:10:29 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:10:29 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:10:29 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:10:29 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:10:29 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:10:29 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:10:29 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:10:30 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (10.5ms) Rendered articles/new.html.erb within layouts/application (11.9ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007fd3f48e4228>): 1:

New Article

2:

Find me in app/views/articles/edit.html.erb

3:
4: <%= simple_form_for @article do |form| %> 5: <%= form.label :title %><%= form.input :title %> 6: <%= form.label :url %><%= form.input :url %> 7: <%= form.label :body %><%= form.input :body %> app/views/articles/_form.html.erb:4:in `_app_views_articles__form_html_erb__175044515341553748_70274158865980' app/views/articles/new.html.erb:1:in `_app_views_articles_new_html_erb___3210483729195403173_70274159060200' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.1ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:10:30 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (10.2ms) Rendered articles/new.html.erb within layouts/application (10.8ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `simple_form_for' for #<#:0x007fd3f8981998>): 1:

New Article

2:

Find me in app/views/articles/edit.html.erb

3:
4: <%= simple_form_for @article do |form| %> 5: <%= form.label :title %><%= form.input :title %> 6: <%= form.label :url %><%= form.input :url %> 7: <%= form.label :body %><%= form.input :body %> app/views/articles/_form.html.erb:4:in `_app_views_articles__form_html_erb__175044515341553748_70274192741860' app/views/articles/new.html.erb:1:in `_app_views_articles_new_html_erb___3210483729195403173_70274158238820' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.9ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:11:53 +0000 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (74.2ms) Rendered articles/new.html.erb within layouts/application (81.8ms) Completed 200 OK in 253ms (Views: 237.9ms | ActiveRecord: 0.3ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:11:54 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (6.3ms) Rendered articles/new.html.erb within layouts/application (7.0ms) Completed 200 OK in 69ms (Views: 67.9ms | ActiveRecord: 0.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:12:30 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:44 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:44 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:44 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:44 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:12:44 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (6.6ms) Rendered articles/new.html.erb within layouts/application (7.4ms) Completed 200 OK in 72ms (Views: 71.2ms | ActiveRecord: 0.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:13:45 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:15:30 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (0.6ms) Rendered articles/new.html.erb within layouts/application (1.3ms) Completed 500 Internal Server Error in 3ms SyntaxError (/Users/Steer/steer-rails/stack/app/views/articles/_form.html.erb:5: syntax error, unexpected '{', expecting ')' ...form.input :title, :imput_html{maxlength: 40} );@output_buff... ... ^ /Users/Steer/steer-rails/stack/app/views/articles/_form.html.erb:11: syntax error, unexpected keyword_end, expecting ')' '.freeze; end ^ /Users/Steer/steer-rails/stack/app/views/articles/_form.html.erb:15: syntax error, unexpected keyword_ensure, expecting ')' /Users/Steer/steer-rails/stack/app/views/articles/_form.html.erb:17: syntax error, unexpected keyword_end, expecting ')'): app/views/articles/_form.html.erb:5: syntax error, unexpected '{', expecting ')' app/views/articles/_form.html.erb:11: syntax error, unexpected keyword_end, expecting ')' app/views/articles/_form.html.erb:15: syntax error, unexpected keyword_ensure, expecting ')' app/views/articles/_form.html.erb:17: syntax error, unexpected keyword_end, expecting ')' app/views/articles/new.html.erb:1:in `_app_views_articles_new_html_erb__4364385764579367980_70182838637120' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.0ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:15:41 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (0.7ms) Rendered articles/new.html.erb within layouts/application (1.5ms) Completed 500 Internal Server Error in 5ms SyntaxError (/Users/Steer/steer-rails/stack/app/views/articles/_form.html.erb:5: syntax error, unexpected '{', expecting ')' ...form.input :title, :input_html{maxlength: 40} );@output_buff... ... ^ /Users/Steer/steer-rails/stack/app/views/articles/_form.html.erb:11: syntax error, unexpected keyword_end, expecting ')' '.freeze; end ^ /Users/Steer/steer-rails/stack/app/views/articles/_form.html.erb:15: syntax error, unexpected keyword_ensure, expecting ')' /Users/Steer/steer-rails/stack/app/views/articles/_form.html.erb:17: syntax error, unexpected keyword_end, expecting ')'): app/views/articles/_form.html.erb:5: syntax error, unexpected '{', expecting ')' app/views/articles/_form.html.erb:11: syntax error, unexpected keyword_end, expecting ')' app/views/articles/_form.html.erb:15: syntax error, unexpected keyword_ensure, expecting ')' app/views/articles/_form.html.erb:17: syntax error, unexpected keyword_end, expecting ')' app/views/articles/new.html.erb:1:in `_app_views_articles_new_html_erb__4364385764579367980_70182838637120' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.5ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:16:28 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (6.5ms) Rendered articles/new.html.erb within layouts/application (7.2ms) Completed 200 OK in 69ms (Views: 68.3ms | ActiveRecord: 0.0ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:16:29 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (6.3ms) Rendered articles/new.html.erb within layouts/application (7.0ms) Completed 200 OK in 61ms (Views: 60.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:17:02 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:18:22 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (69.8ms) Completed 200 OK in 133ms (Views: 129.4ms | ActiveRecord: 2.5ms) Started GET "/articles/1" for 127.0.0.1 at 2014-11-11 16:21:34 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]] Vote Load (0.2ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Rendered articles/show.html.erb within layouts/application (22.7ms) Completed 200 OK in 88ms (Views: 77.8ms | ActiveRecord: 1.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:22:30 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (46.4ms) Completed 200 OK in 102ms (Views: 98.7ms | ActiveRecord: 2.5ms) Started GET "/articles/1/comments/new" for 127.0.0.1 at 2014-11-11 16:22:35 +0000 ActionController::RoutingError (uninitialized constant CommentsController): activesupport (4.1.2) lib/active_support/inflector/methods.rb:238:in `const_get' activesupport (4.1.2) lib/active_support/inflector/methods.rb:238:in `block in constantize' activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `each' activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `inject' activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `constantize' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:78:in `controller_reference' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:68:in `controller' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.2) lib/active_record/migration.rb:380:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (37.9ms) Started GET "/articles/1/comments/new" for 127.0.0.1 at 2014-11-11 16:22:35 +0000 ActionController::RoutingError (uninitialized constant CommentsController): activesupport (4.1.2) lib/active_support/inflector/methods.rb:238:in `const_get' activesupport (4.1.2) lib/active_support/inflector/methods.rb:238:in `block in constantize' activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `each' activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `inject' activesupport (4.1.2) lib/active_support/inflector/methods.rb:236:in `constantize' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:78:in `controller_reference' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:68:in `controller' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.2) lib/active_record/migration.rb:380:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (23.8ms) Started GET "/articles/1/comments/new" for 127.0.0.1 at 2014-11-11 16:23:11 +0000 AbstractController::ActionNotFound (The action 'new' could not be found for CommentsController): actionpack (4.1.2) lib/abstract_controller/base.rb:131:in `process' actionview (4.1.2) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.2) lib/active_record/migration.rb:380:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (0.8ms) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateComments (20141111162448)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "article_id" integer, "comment" text, "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141111162448"]]  (1.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/articles/1/comments/new" for 127.0.0.1 at 2014-11-11 16:25:56 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CommentsController#new as HTML Parameters: {"article_id"=>"1"} Completed 500 Internal Server Error in 2ms ActionView::MissingTemplate (Missing template comments/new, application/new with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in: * "/Users/Steer/steer-rails/stack/app/views" ): actionview (4.1.2) lib/action_view/path_set.rb:46:in `find' actionview (4.1.2) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.2) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:41:in `determine_template' actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.1.2) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.2) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.2) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.2) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.2) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.2) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.2) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.2) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.2) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.2) lib/active_record/migration.rb:380:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.7ms) Started GET "/articles/1/comments/new" for 127.0.0.1 at 2014-11-11 16:26:58 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"1"} Rendered comments/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 209ms (Views: 208.0ms | ActiveRecord: 0.0ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:26:59 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:29:14 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Rendered articles/index.html.erb within layouts/application (16.5ms) Completed 500 Internal Server Error in 23ms ActionView::Template::Error (undefined method `comments' for nil:NilClass): 12: <%= simple_format article.body %> 13: <%= link_to "+", article_votes_path(article, :up => true, :sort => params[:sort]), :method => :post, :class => :plain %> <%=article.votes.where(up: true).size.to_s %>/ 14: <%= link_to "-", article_votes_path(article, :up => false, :sort => params[:sort]), :method => :post, :class => :plain %> <%=article.votes.where(up: false).size.to_s %> 15: <%= link_to "Comment", new_article_comment_path(article) %><%= pluralize @article.comments.count %> 16:
17:
18: <% end %> app/views/articles/index.html.erb:15:in `block in _app_views_articles_index_html_erb__5861499907071317_70182857892900' app/views/articles/index.html.erb:8:in `_app_views_articles_index_html_erb__5861499907071317_70182857892900' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (11.8ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (43.0ms) Completed 200 OK in 108ms (Views: 104.7ms | ActiveRecord: 2.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:29:44 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:30:44 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Rendered articles/index.html.erb within layouts/application (16.8ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (undefined method `pliralize' for #<#:0x007fa970b5b1e0>): 12: <%= simple_format article.body %> 13: <%= link_to "+", article_votes_path(article, :up => true, :sort => params[:sort]), :method => :post, :class => :plain %> <%=article.votes.where(up: true).size.to_s %>/ 14: <%= link_to "-", article_votes_path(article, :up => false, :sort => params[:sort]), :method => :post, :class => :plain %> <%=article.votes.where(up: false).size.to_s %> 15: <%= link_to "Add Comment", new_article_comment_path(article) %><%= pliralize(article.comments, "comments") %> 16: 17:
18: <% end %> app/views/articles/index.html.erb:15:in `block in _app_views_articles_index_html_erb__5861499907071317_70182858574560' app/views/articles/index.html.erb:8:in `_app_views_articles_index_html_erb__5861499907071317_70182858574560' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.7ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:30:57 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (41.9ms) Completed 200 OK in 107ms (Views: 103.4ms | ActiveRecord: 2.7ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:30:58 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (40.9ms) Completed 200 OK in 111ms (Views: 107.7ms | ActiveRecord: 2.8ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:12 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (40.9ms) Completed 200 OK in 116ms (Views: 112.7ms | ActiveRecord: 2.7ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:31:28 +0000 Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:31:36 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (0.3ms) Completed 200 OK in 75ms (Views: 74.5ms | ActiveRecord: 0.0ms) Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (0.1ms) Completed 200 OK in 67ms (Views: 64.1ms | ActiveRecord: 0.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:34:27 +0000 Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:35:47 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (11.7ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `comments_path' for #<#:0x007fa9720d3a90>): 1:
2: <%= simple_form_for @comment do |form| %> 3: <%= form.input :comment%> 4: <%= form.button :submit %> 5: app/views/comments/new.html.erb:2:in `_app_views_comments_new_html_erb__261012240828049042_70182869832180' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.8ms) Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:39:26 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (11.3ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `comments_path' for #<#:0x007fa970a49ce8>): 1:

New Comment

2:
3: <%= form_for @comment do |form| %> 4: <%= form.label :comment %><%= form.text_field :title %> 5: <%= button_to 'Submit', :controller => 'comments' %> 6: <% end %> app/views/comments/new.html.erb:3:in `_app_views_comments_new_html_erb__261012240828049042_70182858015840' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.9ms) Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:41:14 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Completed 500 Internal Server Error in 4ms RuntimeError (): app/controllers/comments_controller.rb:4:in `new' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms) Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:41:56 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (11.0ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `comments_path' for #<#:0x007fa96f2ebe48>): 1:

New Comment

2:
3: <%= form_for @comment do |form| %> 4: <%= form.label :comment %><%= form.text_field :title %> 5: <% end %> 6:
app/views/comments/new.html.erb:3:in `_app_views_comments_new_html_erb__261012240828049042_70182845763760' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.0ms) Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:42:36 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (1.0ms) Completed 500 Internal Server Error in 3ms ActionView::Template::Error (undefined method `comment' for nil:NilClass): 1:
2: <%= simple_form_for @article.comment do |form| %> 3: <%= form.input :comment%> 4: <%= form.button :submit %> 5: app/views/comments/new.html.erb:2:in `_app_views_comments_new_html_erb__261012240828049042_70182839998260' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.4ms) Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:43:36 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (11.5ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined local variable or method `article_create_comment_path' for #<#:0x007fa96e431f60>): 1:
2: <%= simple_form_for @comment, url: article_create_comment_path do |form| %> 3: <%= form.input :comment%> 4: <%= form.button :submit %> 5: app/views/comments/new.html.erb:2:in `_app_views_comments_new_html_erb__261012240828049042_70182838029380' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.2ms) Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:44:02 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (11.6ms) Completed 200 OK in 75ms (Views: 74.4ms | ActiveRecord: 0.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:44:03 +0000 Started POST "/comments/create" for 127.0.0.1 at 2014-11-11 16:44:34 +0000 ActionController::RoutingError (No route matches [POST] "/comments/create"): actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (25.2ms) Started POST "/comments/create" for 127.0.0.1 at 2014-11-11 16:45:45 +0000 ActionController::RoutingError (No route matches [POST] "/comments/create"): actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (22.5ms) Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (3.2ms) Completed 200 OK in 82ms (Views: 81.2ms | ActiveRecord: 0.0ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:45:50 +0000 Started POST "/articles/2/comments" for 127.0.0.1 at 2014-11-11 16:45:58 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"This is tour chane"}, "commit"=>"Create Comment", "article_id"=>"2"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Completed 500 Internal Server Error in 17ms NoMethodError (undefined method `save' for nil:NilClass): app/controllers/comments_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.4ms) Started POST "/articles/2/comments" for 127.0.0.1 at 2014-11-11 16:46:13 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"This is tour chane"}, "commit"=>"Create Comment", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction  (0.0ms) rollback transaction Completed 500 Internal Server Error in 17ms TypeError (can't cast ActionController::Parameters to text): app/controllers/comments_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.5ms) Started POST "/articles/2/comments" for 127.0.0.1 at 2014-11-11 16:47:26 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"This is tour chane"}, "commit"=>"Create Comment", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 2], ["comment", "This is tour chane"], ["created_at", "2014-11-11 16:47:26.899921"], ["updated_at", "2014-11-11 16:47:26.899921"]]  (9.2ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 27ms (ActiveRecord: 10.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:47:26 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (44.8ms) Completed 200 OK in 131ms (Views: 127.1ms | ActiveRecord: 2.9ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:47:27 +0000 Started GET "/articles/2" for 127.0.0.1 at 2014-11-11 16:47:32 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 2]] Rendered articles/show.html.erb within layouts/application (5.0ms) Completed 200 OK in 70ms (Views: 68.4ms | ActiveRecord: 0.2ms) Started GET "/articles/2" for 127.0.0.1 at 2014-11-11 16:49:08 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.2ms) SELECT COUNT(Comment) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Rendered articles/show.html.erb within layouts/application (3.0ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (wrong number of arguments (1 for 2..3)): 5:
6:

<%= @article.title %> <%= @article.author + ', ' + @article.created_at.to_formatted_s(:short)%>

7: <%= simple_format @article.body %> 8:

<%= pluralize(@article.comments.count "Comment")%>

9: <% @article.comments.each do |comment|%> 10: <%=comment.comment%> 11: <% end %> app/views/articles/show.html.erb:8:in `_app_views_articles_show_html_erb___2731940489918058264_70182838558460' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.7ms) Started GET "/articles/2" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 2]] Rendered articles/show.html.erb within layouts/application (5.0ms) Completed 200 OK in 76ms (Views: 73.9ms | ActiveRecord: 0.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:49:22 +0000 Started GET "/articles/2" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 2]] Rendered articles/show.html.erb within layouts/application (4.0ms) Completed 200 OK in 77ms (Views: 75.5ms | ActiveRecord: 0.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:50:10 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:51:15 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (46.1ms) Completed 200 OK in 118ms (Views: 114.1ms | ActiveRecord: 3.1ms) Started GET "/articles/4/comments/new" for 127.0.0.1 at 2014-11-11 16:51:20 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"4"} Rendered comments/new.html.erb within layouts/application (3.8ms) Completed 200 OK in 72ms (Views: 71.8ms | ActiveRecord: 0.0ms) Started POST "/articles/4/comments" for 127.0.0.1 at 2014-11-11 16:51:27 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"Another one bites the dust"}, "commit"=>"Create Comment", "article_id"=>"4"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 4], ["comment", "Another one bites the dust"], ["created_at", "2014-11-11 16:51:27.981878"], ["updated_at", "2014-11-11 16:51:27.981878"]]  (8.3ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 20ms (ActiveRecord: 8.8ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:51:27 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (46.2ms) Completed 200 OK in 110ms (Views: 105.9ms | ActiveRecord: 3.0ms) Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:51:28 +0000 Started GET "/articles/4" for 127.0.0.1 at 2014-11-11 16:51:44 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"4"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]] Vote Load (0.3ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 4]] Rendered articles/show.html.erb within layouts/application (13.6ms) Completed 200 OK in 78ms (Views: 76.2ms | ActiveRecord: 0.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:54:54 +0000 Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (1.0ms) Completed 500 Internal Server Error in 3ms SyntaxError (/Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:19: unknown regexp options - dv unmatched close parenthesis: /p> <% end );@output_buffer.safe_append=' ^ /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:26: unknown regexp options - dv /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:26: unterminated string meets end of file /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'): app/views/articles/index.html.erb:19: unknown regexp options - dv app/views/articles/index.html.erb:20: syntax error, unexpected '<' app/views/articles/index.html.erb:26: unknown regexp options - dv app/views/articles/index.html.erb:26: unterminated string meets end of file app/views/articles/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.5ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:54:54 +0000 Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (1.0ms) Completed 500 Internal Server Error in 3ms SyntaxError (/Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:19: unknown regexp options - dv unmatched close parenthesis: /p> <% end );@output_buffer.safe_append=' ^ /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:26: unknown regexp options - dv /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:26: unterminated string meets end of file /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')'): app/views/articles/index.html.erb:19: unknown regexp options - dv app/views/articles/index.html.erb:20: syntax error, unexpected '<' app/views/articles/index.html.erb:26: unknown regexp options - dv app/views/articles/index.html.erb:26: unterminated string meets end of file app/views/articles/index.html.erb:26: syntax error, unexpected end-of-input, expecting ')' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:55:25 +0000 Processing by ArticlesController#index as HTML Rendered articles/index.html.erb within layouts/application (9.8ms) Completed 500 Internal Server Error in 12ms SyntaxError (/Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:20: unknown regexp options - ct unmatched close parenthesis: /p> <% end );@output_buffer.safe_append=' ^ /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:23: unknown regexp options - artcl /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:25: syntax error, unexpected tCONSTANT, expecting ')' ...ut_buffer.append=( link_to 'New Article', :controller => 'ar... ... ^ /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:25: syntax error, unexpected tIDENTIFIER, expecting ')' ...icle', :controller => 'articles', :action => "new" );@output... ... ^ /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:26: syntax error, unexpected '<', expecting ')'
'.freeze;@output_buffer.to_s ^ /Users/Steer/steer-rails/stack/app/views/articles/index.html.erb:26: unterminated regexp meets end of file): app/views/articles/index.html.erb:20: unknown regexp options - ct app/views/articles/index.html.erb:21: syntax error, unexpected '<' app/views/articles/index.html.erb:23: unknown regexp options - artcl app/views/articles/index.html.erb:25: syntax error, unexpected tCONSTANT, expecting ')' app/views/articles/index.html.erb:25: syntax error, unexpected tIDENTIFIER, expecting ')' app/views/articles/index.html.erb:26: syntax error, unexpected '<', expecting ')' app/views/articles/index.html.erb:26: unterminated regexp meets end of file Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.0ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]]  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (45.8ms) Completed 200 OK in 109ms (Views: 104.7ms | ActiveRecord: 3.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:55:51 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (46.1ms) Completed 200 OK in 108ms (Views: 104.5ms | ActiveRecord: 3.3ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 16:58:49 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 16:59:36 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Rendered articles/index.html.erb within layouts/application (12.2ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `trim' for "This is tour chane":String): 13: <%= link_to "+", article_votes_path(article, :up => true, :sort => params[:sort]), :method => :post, :class => :plain %> <%=article.votes.where(up: true).size.to_s %>/ 14: <%= link_to "-", article_votes_path(article, :up => false, :sort => params[:sort]), :method => :post, :class => :plain %> <%=article.votes.where(up: false).size.to_s %> 15: <%= link_to "Add Comment", new_article_comment_path(article) %>, <%= pluralize(article.comments.count, "comments") %> 18: 19: app/views/articles/index.html.erb:16:in `block (2 levels) in _app_views_articles_index_html_erb__5861499907071317_70182858392660' app/views/articles/index.html.erb:15:in `block in _app_views_articles_index_html_erb__5861499907071317_70182858392660' app/views/articles/index.html.erb:8:in `_app_views_articles_index_html_erb__5861499907071317_70182858392660' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (45.8ms) Completed 200 OK in 120ms (Views: 116.4ms | ActiveRecord: 3.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:23 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (49.9ms) Completed 200 OK in 128ms (Views: 123.7ms | ActiveRecord: 3.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 17:00:59 +0000 Started GET "/articles/2/comments/new" for 127.0.0.1 at 2014-11-11 17:01:07 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"2"} Rendered comments/new.html.erb within layouts/application (2.5ms) Completed 200 OK in 70ms (Views: 69.4ms | ActiveRecord: 0.0ms) Started POST "/articles/2/comments" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"on the qhole wide world"}, "commit"=>"Create Comment", "article_id"=>"2"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 2], ["comment", "on the qhole wide world"], ["created_at", "2014-11-11 17:01:15.040608"], ["updated_at", "2014-11-11 17:01:15.040608"]]  (8.2ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 13ms (ActiveRecord: 8.7ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (41.6ms) Completed 200 OK in 107ms (Views: 103.1ms | ActiveRecord: 3.0ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-11 17:01:15 +0000 Started GET "/articles/1" for 127.0.0.1 at 2014-11-11 17:01:55 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Rendered articles/show.html.erb within layouts/application (4.2ms) Completed 200 OK in 70ms (Views: 67.0ms | ActiveRecord: 0.5ms) Started GET "/articles/2" for 127.0.0.1 at 2014-11-11 17:02:24 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 2]] Rendered articles/show.html.erb within layouts/application (4.2ms) Completed 200 OK in 78ms (Views: 76.3ms | ActiveRecord: 0.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-11 17:02:28 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (46.6ms) Completed 200 OK in 122ms (Views: 117.4ms | ActiveRecord: 3.2ms) Article Load (2.5ms) SELECT "articles".* FROM "articles" Started GET "/articles/1" for 127.0.0.1 at 2014-11-12 10:03:09 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Rendered articles/show.html.erb within layouts/application (6.4ms) Completed 200 OK in 118ms (Views: 116.1ms | ActiveRecord: 0.5ms) Started GET "/articles/1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Rendered articles/show.html.erb within layouts/application (5.2ms) Completed 200 OK in 71ms (Views: 69.7ms | ActiveRecord: 0.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:03:14 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:24 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:24 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:24 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:24 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:24 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:03:24 +0000 Started GET "/articles/1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Vote Load (0.2ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Rendered articles/show.html.erb within layouts/application (6.1ms) Completed 200 OK in 79ms (Views: 77.0ms | ActiveRecord: 0.4ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:18 +0000 Started GET "/articles/1" for 127.0.0.1 at 2014-11-12 10:04:20 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Vote Load (0.3ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Rendered articles/show.html.erb within layouts/application (5.6ms) Completed 200 OK in 71ms (Views: 69.2ms | ActiveRecord: 0.6ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:04:21 +0000 Started GET "/articles/1" for 127.0.0.1 at 2014-11-12 10:05:09 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Vote Load (0.3ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Rendered articles/show.html.erb within layouts/application (5.9ms) Completed 200 OK in 118ms (Views: 116.2ms | ActiveRecord: 0.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:05:09 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:05:09 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:05:09 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:05:10 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:05:16 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (49.9ms) Completed 200 OK in 162ms (Views: 157.4ms | ActiveRecord: 3.7ms) Started GET "/articles/10/comments/new" for 127.0.0.1 at 2014-11-12 10:05:22 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"10"} Rendered comments/new.html.erb within layouts/application (5.7ms) Completed 200 OK in 85ms (Views: 84.2ms | ActiveRecord: 0.0ms) Started POST "/articles/10/comments" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"This is meaningless lorem ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non elit congue, pulvinar felis accumsan, volutpat odio. Etiam neque velit, vehicula non ante in, efficitur feugiat lacus. Vestibulum ultricies condimentum velit. Curabitur eleifend arcu nisi, vel lacinia metus congue tristique. Donec tempus tellus enim, sit amet rutrum elit auctor id. Aenean interdum nisi non finibus euismod. Aliquam erat volutpat. Duis nec rutrum diam, et feugiat massa.\r\n\r\nNunc vel imperdiet ipsum. Nullam a aliquam nisl. Quisque consequat eu velit a pretium. Aliquam convallis sit amet mauris sit amet tempor. Praesent ante ex, sagittis sit amet augue eget, ullamcorper rhoncus justo. Pellentesque pretium arcu eu ante lacinia euismod. Praesent sit amet pulvinar ante. Morbi elementum rhoncus est eu blandit. Suspendisse quis ipsum in ipsum tempor rhoncus at sit amet dui. Aenean sed ligula sapien.\r\n\r\nDonec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n"}, "commit"=>"Create Comment", "article_id"=>"10"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 10]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 10], ["comment", "This is meaningless lorem ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non elit congue, pulvinar felis accumsan, volutpat odio. Etiam neque velit, vehicula non ante in, efficitur feugiat lacus. Vestibulum ultricies condimentum velit. Curabitur eleifend arcu nisi, vel lacinia metus congue tristique. Donec tempus tellus enim, sit amet rutrum elit auctor id. Aenean interdum nisi non finibus euismod. Aliquam erat volutpat. Duis nec rutrum diam, et feugiat massa.\r\n\r\nNunc vel imperdiet ipsum. Nullam a aliquam nisl. Quisque consequat eu velit a pretium. Aliquam convallis sit amet mauris sit amet tempor. Praesent ante ex, sagittis sit amet augue eget, ullamcorper rhoncus justo. Pellentesque pretium arcu eu ante lacinia euismod. Praesent sit amet pulvinar ante. Morbi elementum rhoncus est eu blandit. Suspendisse quis ipsum in ipsum tempor rhoncus at sit amet dui. Aenean sed ligula sapien.\r\n\r\nDonec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n"], ["created_at", "2014-11-12 10:06:04.382450"], ["updated_at", "2014-11-12 10:06:04.382450"]]  (8.1ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 13ms (ActiveRecord: 8.5ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (66.8ms) Completed 200 OK in 165ms (Views: 158.9ms | ActiveRecord: 5.3ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:06:04 +0000 Started GET "/articles/1/comments/new" for 127.0.0.1 at 2014-11-12 10:15:36 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"1"} Rendered comments/new.html.erb within layouts/application (4.9ms) Completed 200 OK in 81ms (Views: 77.1ms | ActiveRecord: 0.5ms) Started POST "/articles/1/comments" for 127.0.0.1 at 2014-11-12 10:15:47 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"More comments than is healthy"}, "commit"=>"Create Comment", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["comment", "More comments than is healthy"], ["created_at", "2014-11-12 10:15:47.917539"], ["updated_at", "2014-11-12 10:15:47.917539"]] SQLite3::ReadOnlyException: attempt to write a readonly database: INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) rollback transaction Completed 500 Internal Server Error in 15ms ActiveRecord::StatementInvalid (SQLite3::ReadOnlyException: attempt to write a readonly database: INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?)): app/controllers/comments_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (27.2ms) Started POST "/articles/1/comments" for 127.0.0.1 at 2014-11-12 10:16:18 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"More comments than is healthy"}, "commit"=>"Create Comment", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["comment", "More comments than is healthy"], ["created_at", "2014-11-12 10:16:18.448404"], ["updated_at", "2014-11-12 10:16:18.448404"]] SQLite3::ReadOnlyException: attempt to write a readonly database: INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?)  (0.0ms) rollback transaction Completed 500 Internal Server Error in 3ms ActiveRecord::StatementInvalid (SQLite3::ReadOnlyException: attempt to write a readonly database: INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?)): app/controllers/comments_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.2ms) Started POST "/articles/1/comments" for 127.0.0.1 at 2014-11-12 10:16:51 +0000 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"More comments than is healthy"}, "commit"=>"Create Comment", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["comment", "More comments than is healthy"], ["created_at", "2014-11-12 10:16:51.447382"], ["updated_at", "2014-11-12 10:16:51.447382"]]  (0.8ms) commit transaction Completed 500 Internal Server Error in 62ms NoMethodError (undefined method `params' for {"comment"=>"More comments than is healthy"}:ActionController::Parameters): app/controllers/comments_controller.rb:19:in `comments_params' app/controllers/comments_controller.rb:10:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.0ms) Started POST "/articles/1/comments" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"More comments than is healthy"}, "commit"=>"Create Comment", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["comment", "More comments than is healthy"], ["created_at", "2014-11-12 10:17:22.098259"], ["updated_at", "2014-11-12 10:17:22.098259"]]  (8.9ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 29ms (ActiveRecord: 10.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (58.4ms) Completed 200 OK in 248ms (Views: 242.9ms | ActiveRecord: 4.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:17:22 +0000 Started GET "/articles/3/comments/new" for 127.0.0.1 at 2014-11-12 10:19:13 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"3"} Rendered comments/new.html.erb within layouts/application (90.9ms) Completed 200 OK in 171ms (Views: 167.7ms | ActiveRecord: 0.4ms) Started POST "/articles/3/comments" for 127.0.0.1 at 2014-11-12 10:19:24 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"Not the best in the world"}, "commit"=>"Create Comment", "article_id"=>"3"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 3]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 3], ["comment", "Not the best in the world"], ["created_at", "2014-11-12 10:19:24.431616"], ["updated_at", "2014-11-12 10:19:24.431616"]]  (9.0ms) commit transaction Completed 400 Bad Request in 29ms ActionController::ParameterMissing (param is missing or the value is empty: article): app/controllers/comments_controller.rb:19:in `comments_params' app/controllers/comments_controller.rb:10:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.4ms) Started POST "/articles/3/comments" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "comment"=>{"comment"=>"Not the best in the world"}, "commit"=>"Create Comment", "article_id"=>"3"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 3]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 3], ["comment", "Not the best in the world"], ["created_at", "2014-11-12 10:19:43.472849"], ["updated_at", "2014-11-12 10:19:43.472849"]]  (8.5ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 28ms (ActiveRecord: 9.8ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (52.8ms) Completed 200 OK in 144ms (Views: 138.5ms | ActiveRecord: 4.0ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:19:43 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (45.8ms) Completed 200 OK in 119ms (Views: 115.0ms | ActiveRecord: 3.2ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:21:27 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (69.5ms) Completed 200 OK in 151ms (Views: 139.9ms | ActiveRecord: 5.3ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:25:34 +0000 Started GET "/articles?sort=recent" for 127.0.0.1 at 2014-11-12 10:25:38 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"recent"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Rendered articles/index.html.erb within layouts/application (44.4ms) Completed 200 OK in 116ms (Views: 111.5ms | ActiveRecord: 3.2ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-12 10:25:41 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (58.0ms) Completed 200 OK in 125ms (Views: 120.1ms | ActiveRecord: 4.5ms) Started GET "/articles?sort=recent" for 127.0.0.1 at 2014-11-12 10:25:42 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"recent"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Rendered articles/index.html.erb within layouts/application (55.7ms) Completed 200 OK in 134ms (Views: 128.3ms | ActiveRecord: 3.9ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-12 10:25:45 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]] Rendered articles/index.html.erb within layouts/application (49.4ms) Completed 200 OK in 133ms (Views: 128.2ms | ActiveRecord: 3.7ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:25:46 +0000 Processing by ArticlesController#index as HTML Article Load (0.6ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (50.2ms) Completed 200 OK in 123ms (Views: 118.0ms | ActiveRecord: 3.8ms) Started GET "/articles?sort=recent" for 127.0.0.1 at 2014-11-12 10:25:49 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"recent"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Rendered articles/index.html.erb within layouts/application (54.7ms) Completed 200 OK in 120ms (Views: 114.5ms | ActiveRecord: 3.9ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:25:51 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (55.3ms) Completed 200 OK in 132ms (Views: 127.0ms | ActiveRecord: 4.0ms) Started GET "/" for 127.0.0.1 at 2014-11-12 10:30:51 +0000 Processing by ArticlesController#index as */* Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (57.0ms) Completed 200 OK in 151ms (Views: 145.4ms | ActiveRecord: 4.0ms) Started GET "/" for 127.0.0.1 at 2014-11-12 10:31:57 +0000 Processing by ArticlesController#index as */* Parameters: {"article"=>{}} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (55.3ms) Completed 200 OK in 133ms (Views: 127.8ms | ActiveRecord: 4.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:38:57 +0000 Processing by ArticlesController#index as HTML Article Load (0.5ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (68.8ms) Completed 200 OK in 141ms (Views: 130.4ms | ActiveRecord: 4.9ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:38:58 +0000 Started GET "/" for 127.0.0.1 at 2014-11-12 10:39:05 +0000 Processing by ArticlesController#index as */* Parameters: {"article"=>{}} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (6.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (58.1ms) Completed 200 OK in 148ms (Views: 136.7ms | ActiveRecord: 10.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:39:43 +0000 Processing by ArticlesController#index as */* Parameters: {"article"=>{}} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (61.0ms) Completed 200 OK in 153ms (Views: 147.3ms | ActiveRecord: 4.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:40:30 +0000 Processing by ArticlesController#index as */* Completed 500 Internal Server Error in 1ms TypeError (no implicit conversion of nil into String): app/controllers/articles_controller.rb:3:in `+' app/controllers/articles_controller.rb:3:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.0ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:41:05 +0000 Processing by ArticlesController#index as */* Parameters: {"article"=>{}} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.5ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (9.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (83.4ms) Completed 200 OK in 163ms (Views: 147.0ms | ActiveRecord: 15.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:41:47 +0000 Processing by ArticlesController#index as */* Parameters: {"article"=>{}} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (77.8ms) Completed 200 OK in 157ms (Views: 150.2ms | ActiveRecord: 5.9ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:42:21 +0000 Processing by ArticlesController#index as */* Parameters: {"article"=>{}} Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (65.7ms) Completed 200 OK in 142ms (Views: 135.6ms | ActiveRecord: 5.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:43:00 +0000 Processing by ArticlesController#index as JSON Parameters: {"article"=>{}} Completed 500 Internal Server Error in 2ms ActionView::MissingTemplate (Missing template articles/index, application/index with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in: * "/Users/Steer/steer-rails/stack/app/views" ): actionview (4.1.2) lib/action_view/path_set.rb:46:in `find' actionview (4.1.2) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.2) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:41:in `determine_template' actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.1.2) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.2) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.2) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.2) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.2) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.2) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.2) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.2) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.2) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.2) lib/active_record/migration.rb:380:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.8ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:48:57 +0000 Processing by ArticlesController#index as JSON Parameters: {"article"=>{}} Article Load (0.2ms) SELECT "articles".* FROM "articles" Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:49:49 +0000 Processing by ArticlesController#index as JSON Article Load (0.2ms) SELECT "articles".* FROM "articles" Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (56.4ms) Completed 200 OK in 126ms (Views: 117.9ms | ActiveRecord: 4.1ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 10:57:46 +0000 Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 10:57:55 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/votes_controller.rb:16: syntax error, unexpected end-of-input, expecting keyword_end): app/controllers/votes_controller.rb:16: syntax error, unexpected end-of-input, expecting keyword_end Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.9ms) Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 10:58:17 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"2"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Completed 500 Internal Server Error in 13ms NameError (uninitialized constant VotesController::Votes): app/controllers/votes_controller.rb:4:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.9ms) Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 10:58:35 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 2 AND "votes"."from" = '127.0.0.1' LIMIT 1 Completed 500 Internal Server Error in 33ms ActionView::MissingTemplate (Missing template votes/edit, application/edit with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in: * "/Users/Steer/steer-rails/stack/app/views" ): app/controllers/votes_controller.rb:6:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.5ms) Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 10:59:12 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 2 AND "votes"."from" = '127.0.0.1' LIMIT 1 Completed 500 Internal Server Error in 15ms ActionView::MissingTemplate (Missing template votes/articles, application/articles with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in: * "/Users/Steer/steer-rails/stack/app/views" ): app/controllers/votes_controller.rb:6:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.5ms) Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 11:00:04 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Exists (0.1ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 2 AND "votes"."from" = '127.0.0.1' LIMIT 1 Redirected to http://localhost:3000/articles  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 2], ["created_at", "2014-11-12 11:00:04.076552"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-12 11:00:04.076552"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 2  (9.3ms) commit transaction Redirected to Completed 500 Internal Server Error in 31ms AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): app/controllers/votes_controller.rb:11:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.7ms) Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 11:00:24 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 2 AND "votes"."from" = '127.0.0.1' LIMIT 1 Redirected to http://localhost:3000/articles  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.2ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 2], ["created_at", "2014-11-12 11:00:24.211137"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-12 11:00:24.211137"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 2  (9.0ms) commit transaction Redirected to Completed 500 Internal Server Error in 16ms AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): app/controllers/votes_controller.rb:11:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.1ms) Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 11:00:53 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 2 AND "votes"."from" = '127.0.0.1' LIMIT 1 Redirected to http://localhost:3000/  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 2], ["created_at", "2014-11-12 11:00:53.478816"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-12 11:00:53.478816"]] SQL (0.2ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 2  (9.0ms) commit transaction Redirected to Completed 500 Internal Server Error in 43ms AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".): app/controllers/votes_controller.rb:11:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.4ms) Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"2"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 2 AND "votes"."from" = '127.0.0.1' LIMIT 1  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 2], ["created_at", "2014-11-12 11:01:17.675806"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-12 11:01:17.675806"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 2  (8.9ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 34ms (ActiveRecord: 10.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (53.2ms) Completed 200 OK in 143ms (Views: 138.0ms | ActiveRecord: 3.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:01:17 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (90.4ms) Completed 200 OK in 177ms (Views: 168.4ms | ActiveRecord: 4.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:02:04 +0000 Started POST "/articles/2/votes?up=false" for 127.0.0.1 at 2014-11-12 11:02:10 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"false", "article_id"=>"2"} Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 2 AND "votes"."from" = '127.0.0.1' LIMIT 1 Completed 500 Internal Server Error in 9ms ActionView::MissingTemplate (Missing template votes/create, application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in: * "/Users/Steer/steer-rails/stack/app/views" ): actionview (4.1.2) lib/action_view/path_set.rb:46:in `find' actionview (4.1.2) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.2) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:41:in `determine_template' actionview (4.1.2) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.1.2) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.2) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.2) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.2) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.2) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.2) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.2) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/benchmark.rb:294:in `realtime' activesupport (4.1.2) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.2) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:35:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.2) lib/active_record/migration.rb:380:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (0.6ms) Started POST "/articles/2/votes?up=false" for 127.0.0.1 at 2014-11-12 11:03:04 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"false", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]] Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 2 AND "votes"."from" = '127.0.0.1' LIMIT 1 Redirected to http://localhost:3000/articles Completed 302 Found in 15ms (ActiveRecord: 1.0ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:03:04 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (58.7ms) Completed 200 OK in 122ms (Views: 117.7ms | ActiveRecord: 3.7ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:05 +0000 Started POST "/articles/5/votes?up=true" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"5"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 5]] Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE "votes"."article_id" = 5 AND "votes"."from" = '127.0.0.1' LIMIT 1  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` SQL (0.3ms) INSERT INTO "votes" ("article_id", "created_at", "from", "up", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 5], ["created_at", "2014-11-12 11:03:15.634148"], ["from", "127.0.0.1"], ["up", "t"], ["updated_at", "2014-11-12 11:03:15.634148"]] SQL (0.1ms) UPDATE "articles" SET "votes_count" = COALESCE("votes_count", 0) + 1 WHERE "articles"."id" = 5  (8.4ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 20ms (ActiveRecord: 9.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (63.8ms) Completed 200 OK in 150ms (Views: 144.3ms | ActiveRecord: 5.1ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:03:15 +0000 Started POST "/articles/8/votes?up=true" for 127.0.0.1 at 2014-11-12 11:12:28 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"8"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 8]] Completed 500 Internal Server Error in 12ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/vote.rb:4: syntax error, unexpected ':', expecting '}' validates :ip_address, uniqueness {scope: :article} ^): app/models/vote.rb:4: syntax error, unexpected ':', expecting '}' app/controllers/votes_controller.rb:4:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms) Started POST "/articles/8/votes?up=true" for 127.0.0.1 at 2014-11-12 11:13:49 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"8"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 8]] Completed 500 Internal Server Error in 18ms SyntaxError (/Users/Steer/steer-rails/stack/app/models/vote.rb:4: syntax error, unexpected ':', expecting '}' validates :from, uniqueness {scope: :article} ^): app/models/vote.rb:4: syntax error, unexpected ':', expecting '}' app/controllers/votes_controller.rb:4:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.4ms) Started POST "/articles/8/votes?up=true" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"8"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 8]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 8) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 20ms (ActiveRecord: 1.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (57.8ms) Completed 200 OK in 135ms (Views: 129.7ms | ActiveRecord: 4.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:15:16 +0000 Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 11:24:02 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 26ms (ActiveRecord: 1.3ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (51.7ms) Completed 200 OK in 126ms (Views: 120.9ms | ActiveRecord: 3.6ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:24:03 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to DeviseCreateAdminUsers (20141112112812)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "admin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_admin_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_admin_users_on_email' AND type='index'  (0.1ms) CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token") AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1 Binary data inserted for `string` type on column `encrypted_password` SQL (0.2ms) INSERT INTO "admin_users" ("created_at", "email", "encrypted_password", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-11-12 11:29:33.601098"], ["email", "admin@example.com"], ["encrypted_password", "$2a$10$81UkNMADt91gHzzQKzRp8eNuX0g5n5sdbsw7/aeDBRQlkk3CIWhxy"], ["updated_at", "2014-11-12 11:29:33.601098"]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141112112812"]]  (0.9ms) commit transaction Migrating to AddDeviseToAdminUsers (20141112112841)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "admin_users" ADD "email" varchar(255) DEFAULT '' NOT NULL SQLite3::SQLException: duplicate column name: email: ALTER TABLE "admin_users" ADD "email" varchar(255) DEFAULT '' NOT NULL  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateActiveAdminComments (20141112112845)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "active_admin_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "namespace" varchar(255), "body" text, "resource_id" varchar(255) NOT NULL, "resource_type" varchar(255) NOT NULL, "author_id" integer, "author_type" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_namespace' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_namespace' AND type='index'  (0.1ms) CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_namespace' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_namespace' AND type='index'   (0.1ms) CREATE INDEX "index_active_admin_comments_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141112112845"]]  (9.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_namespace' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_namespace' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_admin_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_admin_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_admin_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_admin_users_on_email' AND type='index' Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 11:39:38 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 75ms TypeError (no implicit conversion of Symbol into Integer): app/controllers/votes_controller.rb:10:in `[]' app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (27.3ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 11:40:02 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 21ms TypeError (no implicit conversion of Symbol into Integer): app/controllers/votes_controller.rb:10:in `[]' app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.0ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 11:40:17 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.3ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 23ms (ActiveRecord: 1.3ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:40:17 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.6ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (81.7ms) Completed 200 OK in 3570ms (Views: 3564.5ms | ActiveRecord: 5.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:21 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (7.7ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (74.8ms) Completed 200 OK in 318ms (Views: 301.8ms | ActiveRecord: 12.6ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:51 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:40:52 +0000 Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 11:40:55 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 12ms TypeError (no implicit conversion of Symbol into Integer): app/controllers/votes_controller.rb:10:in `[]' app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.6ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 20ms (ActiveRecord: 1.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.4ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (70.9ms) Completed 200 OK in 311ms (Views: 305.0ms | ActiveRecord: 5.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:19 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (61.4ms) Completed 200 OK in 306ms (Views: 297.2ms | ActiveRecord: 4.7ms) Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:41:32 +0000 Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 11:41:35 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 10ms TypeError (no implicit conversion of Symbol into Integer): app/controllers/votes_controller.rb:10:in `[]' app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.2ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 11:42:00 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.3ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 21ms (ActiveRecord: 1.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:42:00 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (67.4ms) Completed 200 OK in 307ms (Views: 301.4ms | ActiveRecord: 5.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:01 +0000 Started GET "/admin" for 127.0.0.1 at 2014-11-12 11:42:29 +0000 Processing by Admin::DashboardController#index as HTML Completed 401 Unauthorized in 7ms Started GET "/admin/login" for 127.0.0.1 at 2014-11-12 11:42:29 +0000 Processing by ActiveAdmin::Devise::SessionsController#new as HTML Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/devise/shared/_links.erb (2.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (46.0ms) Completed 200 OK in 290ms (Views: 267.2ms | ActiveRecord: 0.6ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:42:30 +0000 Started POST "/admin/login" for 127.0.0.1 at 2014-11-12 11:43:51 +0000 Processing by ActiveAdmin::Devise::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1NY2AxfKS6gm/MqUjjsHKIA2oQjZD3QIuEL7tgMK7k=", "admin_user"=>{"email"=>"admin@example.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"} AdminUser Load (1.0ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' ORDER BY "admin_users"."id" ASC LIMIT 1  (0.1ms) begin transaction Binary data inserted for `string` type on column `current_sign_in_ip` Binary data inserted for `string` type on column `last_sign_in_ip` SQL (0.4ms) UPDATE "admin_users" SET "current_sign_in_at" = ?, "current_sign_in_ip" = ?, "last_sign_in_at" = ?, "last_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "admin_users"."id" = 1 [["current_sign_in_at", "2014-11-12 11:43:51.926256"], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_at", "2014-11-12 11:43:51.926256"], ["last_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2014-11-12 11:43:51.926844"]]  (0.7ms) commit transaction Redirected to http://localhost:3000/admin Completed 302 Found in 114ms (ActiveRecord: 3.1ms) Started GET "/admin" for 127.0.0.1 at 2014-11-12 11:43:51 +0000 Processing by Admin::DashboardController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/page/index.html.arb (162.1ms) Completed 200 OK in 177ms (Views: 164.4ms | ActiveRecord: 0.2ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:43:52 +0000 Started GET "/admin" for 127.0.0.1 at 2014-11-12 11:45:11 +0000 Processing by Admin::DashboardController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/page/index.html.arb (138.3ms) Completed 200 OK in 141ms (Views: 139.7ms | ActiveRecord: 0.2ms) Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:11 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:12 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.3ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (300.7ms) Completed 200 OK in 318ms (Views: 302.9ms | ActiveRecord: 2.5ms) Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/orderable.png" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/assets/active_admin/datepicker/datepicker-input-icon.png" for 127.0.0.1 at 2014-11-12 11:45:14 +0000 Started GET "/admin/admin_users" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Processing by Admin::AdminUsersController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count  (7.7ms) SELECT COUNT(*) FROM "admin_users" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" ORDER BY "admin_users"."id" desc LIMIT 30 OFFSET 0 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (180.9ms) Completed 200 OK in 187ms (Views: 175.4ms | ActiveRecord: 8.5ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:19 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 11:45:20 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.2ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (207.8ms) Completed 200 OK in 214ms (Views: 210.0ms | ActiveRecord: 1.1ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:21 +0000 Started GET "/admin/dashboard" for 127.0.0.1 at 2014-11-12 11:45:25 +0000 Processing by Admin::DashboardController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/page/index.html.arb (134.8ms) Completed 200 OK in 138ms (Views: 136.2ms | ActiveRecord: 0.2ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:26 +0000 Started GET "/admin/admin_users" for 127.0.0.1 at 2014-11-12 11:45:27 +0000 Processing by Admin::AdminUsersController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "admin_users" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" ORDER BY "admin_users"."id" desc LIMIT 30 OFFSET 0 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (170.6ms) Completed 200 OK in 176ms (Views: 172.7ms | ActiveRecord: 0.7ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:28 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.4ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (218.4ms) Completed 200 OK in 224ms (Views: 219.8ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:31 +0000 Started GET "/admin/admin_users" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Processing by Admin::AdminUsersController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "admin_users" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" ORDER BY "admin_users"."id" desc LIMIT 30 OFFSET 0 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (169.2ms) Completed 200 OK in 175ms (Views: 171.4ms | ActiveRecord: 0.7ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:45 +0000 Started GET "/admin/dashboard" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Processing by Admin::DashboardController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/page/index.html.arb (141.7ms) Completed 200 OK in 145ms (Views: 143.2ms | ActiveRecord: 0.2ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:48 +0000 Started GET "/admin/admin_users" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Processing by Admin::AdminUsersController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "admin_users" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" ORDER BY "admin_users"."id" desc LIMIT 30 OFFSET 0 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (175.2ms) Completed 200 OK in 180ms (Views: 177.5ms | ActiveRecord: 0.7ms) Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:45:50 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.1ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (212.1ms) Completed 200 OK in 217ms (Views: 213.5ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:04 +0000 Started GET "/articles/new" for 127.0.0.1 at 2014-11-12 11:46:12 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (60.8ms) Rendered articles/new.html.erb within layouts/application (62.5ms) Completed 200 OK in 288ms (Views: 287.4ms | ActiveRecord: 0.0ms) Started POST "/articles" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"Afgter admin", "url"=>"", "body"=>"Donec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n\r\nDonec convallis laoreet ex eget volutpat. Donec convallis condimentum elit quis mattis. Nulla sollicitudin ligula dui, ac accumsan sem auctor eget. Ut consectetur, metus pharetra venenatis rhoncus, est augue blandit urna, ut hendrerit eros nunc id est. Aliquam pellentesque, leo a congue placerat, mi dolor bibendum mi, sed rhoncus ex risus vel massa. Fusce bibendum erat quis nunc pulvinar, sit amet ultrices ipsum elementum. Ut iaculis purus eget turpis consequat sagittis. Vestibulum dui sem, imperdiet vel velit vel, bibendum scelerisque velit. Mauris laoreet quis dolor a mollis. Pellentesque vestibulum dignissim ligula venenatis laoreet. Praesent pharetra pulvinar libero at volutpat. Suspendisse viverra tellus quis maximus ornare. Nulla at magna feugiat, mattis quam nec, volutpat lacus.\r\n\r\nAliquam felis lacus, suscipit quis euismod vitae, blandit a turpis. Duis cursus odio mi. Fusce at nibh quis neque tempor efficitur et sit amet nisl. Cras quis consequat augue. Mauris eget interdum neque. Fusce et finibus augue. Praesent sem neque, feugiat eu finibus vel, pellentesque sit amet libero. Vestibulum laoreet sed sem non gravida. In egestas dui id tellus maximus tincidunt.\r\n\r\nGenerated 5 paragraphs, 432 words, 2900 bytes of Lorem Ipsum\r\n", "author"=>"Q K Snacker"}, "commit"=>"Create Article"} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/_form.html.erb (7.2ms) Rendered articles/new.html.erb within layouts/application (8.4ms) Completed 200 OK in 241ms (Views: 235.8ms | ActiveRecord: 0.2ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:46:59 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-12 11:47:11 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"Afgter admin", "url"=>"http://github.com", "body"=>"Donec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n\r\nDonec convallis laoreet ex eget volutpat. Donec convallis condimentum elit quis mattis. Nulla sollicitudin ligula dui, ac accumsan sem auctor eget. Ut consectetur, metus pharetra venenatis rhoncus, est augue blandit urna, ut hendrerit eros nunc id est. Aliquam pellentesque, leo a congue placerat, mi dolor bibendum mi, sed rhoncus ex risus vel massa. Fusce bibendum erat quis nunc pulvinar, sit amet ultrices ipsum elementum. Ut iaculis purus eget turpis consequat sagittis. Vestibulum dui sem, imperdiet vel velit vel, bibendum scelerisque velit. Mauris laoreet quis dolor a mollis. Pellentesque vestibulum dignissim ligula venenatis laoreet. Praesent pharetra pulvinar libero at volutpat. Suspendisse viverra tellus quis maximus ornare. Nulla at magna feugiat, mattis quam nec, volutpat lacus.\r\n\r\nAliquam felis lacus, suscipit quis euismod vitae, blandit a turpis. Duis cursus odio mi. Fusce at nibh quis neque tempor efficitur et sit amet nisl. Cras quis consequat augue. Mauris eget interdum neque. Fusce et finibus augue. Praesent sem neque, feugiat eu finibus vel, pellentesque sit amet libero. Vestibulum laoreet sed sem non gravida. In egestas dui id tellus maximus tincidunt.\r\n\r\nGenerated 5 paragraphs, 432 words, 2900 bytes of Lorem Ipsum\r\n", "author"=>"Q K Snacker"}, "commit"=>"Create Article"} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/_form.html.erb (6.5ms) Rendered articles/new.html.erb within layouts/application (7.2ms) Completed 200 OK in 245ms (Views: 240.3ms | ActiveRecord: 0.2ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:12 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-12 11:47:24 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"Afgter admin", "url"=>"http://asasdfasdf", "body"=>"Donec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n\r\nDonec convallis laoreet ex eget volutpat. Donec convallis condimentum elit quis mattis. Nulla sollicitudin ligula dui, ac accumsan sem auctor eget. Ut consectetur, metus pharetra venenatis rhoncus, est augue blandit urna, ut hendrerit eros nunc id est. Aliquam pellentesque, leo a congue placerat, mi dolor bibendum mi, sed rhoncus ex risus vel massa. Fusce bibendum erat quis nunc pulvinar, sit amet ultrices ipsum elementum. Ut iaculis purus eget turpis consequat sagittis. Vestibulum dui sem, imperdiet vel velit vel, bibendum scelerisque velit. Mauris laoreet quis dolor a mollis. Pellentesque vestibulum dignissim ligula venenatis laoreet. Praesent pharetra pulvinar libero at volutpat. Suspendisse viverra tellus quis maximus ornare. Nulla at magna feugiat, mattis quam nec, volutpat lacus.\r\n\r\nAliquam felis lacus, suscipit quis euismod vitae, blandit a turpis. Duis cursus odio mi. Fusce at nibh quis neque tempor efficitur et sit amet nisl. Cras quis consequat augue. Mauris eget interdum neque. Fusce et finibus augue. Praesent sem neque, feugiat eu finibus vel, pellentesque sit amet libero. Vestibulum laoreet sed sem non gravida. In egestas dui id tellus maximus tincidunt.\r\n\r\nGenerated 5 paragraphs, 432 words, 2900 bytes of Lorem Ipsum\r\n", "author"=>"Q K Snacker"}, "commit"=>"Create Article"} Unpermitted parameters: url  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered articles/_form.html.erb (8.4ms) Rendered articles/new.html.erb within layouts/application (9.1ms) Completed 200 OK in 247ms (Views: 243.4ms | ActiveRecord: 0.2ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:47:25 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"Afgter admin", "url"=>"http://gutnaf", "body"=>"Donec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n\r\nDonec convallis laoreet ex eget volutpat. Donec convallis condimentum elit quis mattis. Nulla sollicitudin ligula dui, ac accumsan sem auctor eget. Ut consectetur, metus pharetra venenatis rhoncus, est augue blandit urna, ut hendrerit eros nunc id est. Aliquam pellentesque, leo a congue placerat, mi dolor bibendum mi, sed rhoncus ex risus vel massa. Fusce bibendum erat quis nunc pulvinar, sit amet ultrices ipsum elementum. Ut iaculis purus eget turpis consequat sagittis. Vestibulum dui sem, imperdiet vel velit vel, bibendum scelerisque velit. Mauris laoreet quis dolor a mollis. Pellentesque vestibulum dignissim ligula venenatis laoreet. Praesent pharetra pulvinar libero at volutpat. Suspendisse viverra tellus quis maximus ornare. Nulla at magna feugiat, mattis quam nec, volutpat lacus.\r\n\r\nAliquam felis lacus, suscipit quis euismod vitae, blandit a turpis. Duis cursus odio mi. Fusce at nibh quis neque tempor efficitur et sit amet nisl. Cras quis consequat augue. Mauris eget interdum neque. Fusce et finibus augue. Praesent sem neque, feugiat eu finibus vel, pellentesque sit amet libero. Vestibulum laoreet sed sem non gravida. In egestas dui id tellus maximus tincidunt.\r\n\r\nGenerated 5 paragraphs, 432 words, 2900 bytes of Lorem Ipsum\r\n", "author"=>"Q K Snacker"}, "commit"=>"Create Article"} Unpermitted parameters: url  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered articles/_form.html.erb (8.6ms) Rendered articles/new.html.erb within layouts/application (9.1ms) Completed 200 OK in 234ms (Views: 230.8ms | ActiveRecord: 0.1ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:17 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:18 +0000 Started POST "/articles" for 127.0.0.1 at 2014-11-12 11:48:58 +0000 Processing by ArticlesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"Afgter admin", "url"=>"http://ered", "body"=>"Donec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n\r\nDonec convallis laoreet ex eget volutpat. Donec convallis condimentum elit quis mattis. Nulla sollicitudin ligula dui, ac accumsan sem auctor eget. Ut consectetur, metus pharetra venenatis rhoncus, est augue blandit urna, ut hendrerit eros nunc id est. Aliquam pellentesque, leo a congue placerat, mi dolor bibendum mi, sed rhoncus ex risus vel massa. Fusce bibendum erat quis nunc pulvinar, sit amet ultrices ipsum elementum. Ut iaculis purus eget turpis consequat sagittis. Vestibulum dui sem, imperdiet vel velit vel, bibendum scelerisque velit. Mauris laoreet quis dolor a mollis. Pellentesque vestibulum dignissim ligula venenatis laoreet. Praesent pharetra pulvinar libero at volutpat. Suspendisse viverra tellus quis maximus ornare. Nulla at magna feugiat, mattis quam nec, volutpat lacus.\r\n\r\nAliquam felis lacus, suscipit quis euismod vitae, blandit a turpis. Duis cursus odio mi. Fusce at nibh quis neque tempor efficitur et sit amet nisl. Cras quis consequat augue. Mauris eget interdum neque. Fusce et finibus augue. Praesent sem neque, feugiat eu finibus vel, pellentesque sit amet libero. Vestibulum laoreet sed sem non gravida. In egestas dui id tellus maximus tincidunt.\r\n\r\nGenerated 5 paragraphs, 432 words, 2900 bytes of Lorem Ipsum\r\n", "author"=>"Q K Snacker"}, "commit"=>"Create Article"}  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "articles" ("author", "body", "created_at", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?) [["author", "Q K Snacker"], ["body", "Donec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n\r\nDonec convallis laoreet ex eget volutpat. Donec convallis condimentum elit quis mattis. Nulla sollicitudin ligula dui, ac accumsan sem auctor eget. Ut consectetur, metus pharetra venenatis rhoncus, est augue blandit urna, ut hendrerit eros nunc id est. Aliquam pellentesque, leo a congue placerat, mi dolor bibendum mi, sed rhoncus ex risus vel massa. Fusce bibendum erat quis nunc pulvinar, sit amet ultrices ipsum elementum. Ut iaculis purus eget turpis consequat sagittis. Vestibulum dui sem, imperdiet vel velit vel, bibendum scelerisque velit. Mauris laoreet quis dolor a mollis. Pellentesque vestibulum dignissim ligula venenatis laoreet. Praesent pharetra pulvinar libero at volutpat. Suspendisse viverra tellus quis maximus ornare. Nulla at magna feugiat, mattis quam nec, volutpat lacus.\r\n\r\nAliquam felis lacus, suscipit quis euismod vitae, blandit a turpis. Duis cursus odio mi. Fusce at nibh quis neque tempor efficitur et sit amet nisl. Cras quis consequat augue. Mauris eget interdum neque. Fusce et finibus augue. Praesent sem neque, feugiat eu finibus vel, pellentesque sit amet libero. Vestibulum laoreet sed sem non gravida. In egestas dui id tellus maximus tincidunt.\r\n\r\nGenerated 5 paragraphs, 432 words, 2900 bytes of Lorem Ipsum\r\n"], ["created_at", "2014-11-12 11:48:59.000315"], ["title", "Afgter admin"], ["updated_at", "2014-11-12 11:48:59.000315"], ["url", "http://ered"]]  (8.9ms) commit transaction Redirected to http://localhost:3000/articles/12 Completed 302 Found in 24ms (ActiveRecord: 10.1ms) Started GET "/articles/12" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Processing by ArticlesController#show as HTML Parameters: {"id"=>"12"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Vote Load (0.2ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 12]] Rendered articles/show.html.erb within layouts/application (11.1ms) Completed 200 OK in 256ms (Views: 253.5ms | ActiveRecord: 0.9ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:48:59 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:49:05 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (54.1ms) Completed 200 OK in 339ms (Views: 333.8ms | ActiveRecord: 4.0ms) Started GET "/admin/articles/9/edit" for 127.0.0.1 at 2014-11-12 11:49:18 +0000 Processing by Admin::ArticlesController#edit as HTML Parameters: {"id"=>"9"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 9 LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/edit.html.arb (196.4ms) Completed 200 OK in 212ms (Views: 199.8ms | ActiveRecord: 0.8ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:49:19 +0000 Started PATCH "/admin/articles/9" for 127.0.0.1 at 2014-11-12 11:49:26 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"asdfasd", "body"=>"asdfasdf jahefahdlyqugeca", "author"=>"asdfasdf", "url"=>"", "upvotes"=>"0", "counter_cache"=>""}, "commit"=>"Update Article", "id"=>"9"} AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]] Completed 500 Internal Server Error in 6ms ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError): activemodel (4.1.2) lib/active_model/forbidden_attributes_protection.rb:21:in `sanitize_for_mass_assignment' activerecord (4.1.2) lib/active_record/attribute_assignment.rb:24:in `assign_attributes' /Users/Steer/.rvmruby (2.1.2) bundler/gems/activeadmin-a436d693799e/lib/active_admin/resource_controller/data_access.rb:175:in `update_resource' inherited_resources (1.5.1) lib/inherited_resources/actions.rb:45:in `update' actionpack (4.1.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.2) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.2) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:229:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.2) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.2) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.2) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.2) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.2) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.2) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.2) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.2) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.1.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.2) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:50:in `call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.2) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.2) lib/action_dispatch/routing/route_set.rb:678:in `call' warden (1.2.3) lib/warden/manager.rb:35:in `block in call' warden (1.2.3) lib/warden/manager.rb:34:in `catch' warden (1.2.3) lib/warden/manager.rb:34:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:35:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.1.2) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.2) lib/active_record/migration.rb:380:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.2) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.2) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.2) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.2) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.2) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.2) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.2) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.2) lib/rails/engine.rb:514:in `call' railties (4.1.2) lib/rails/application.rb:144:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run' /Users/Steer/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.7ms) Started PATCH "/admin/articles/9" for 127.0.0.1 at 2014-11-12 11:50:58 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"asdfasd", "body"=>"asdfasdf jahefahdlyqugeca", "author"=>"asdfasdf", "url"=>"", "upvotes"=>"0", "counter_cache"=>""}, "commit"=>"Update Article", "id"=>"9"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]] Unpermitted parameters: upvotes, counter_cache  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/edit.html.arb (170.9ms) Completed 200 OK in 205ms (Views: 173.1ms | ActiveRecord: 1.1ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:50:59 +0000 Started PATCH "/admin/articles/9" for 127.0.0.1 at 2014-11-12 11:51:08 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"asdfasd", "body"=>"asdfasdf jahefahdlyqugeca", "author"=>"asdfasdf", "url"=>"http://asdasdads", "upvotes"=>"0", "counter_cache"=>""}, "commit"=>"Update Article", "id"=>"9"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]] Unpermitted parameters: upvotes, counter_cache  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "body" = ?, "updated_at" = ?, "url" = ? WHERE "articles"."id" = 9 [["body", "asdfasdf jahefahdlyqugeca"], ["updated_at", "2014-11-12 11:51:08.854425"], ["url", "http://asdasdads"]]  (0.7ms) commit transaction Redirected to http://localhost:3000/admin/articles/9 Completed 302 Found in 16ms (ActiveRecord: 1.5ms) Started GET "/admin/articles/9" for 127.0.0.1 at 2014-11-12 11:51:08 +0000 Processing by Admin::ArticlesController#show as HTML Parameters: {"id"=>"9"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin' CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/show.html.arb (178.4ms) Completed 200 OK in 184ms (Views: 180.9ms | ActiveRecord: 0.7ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:09 +0000 Started POST "/admin/comments" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Processing by Admin::CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "active_admin_comment"=>{"resource_type"=>"Article", "resource_id"=>"9", "body"=>"this really a comment"}, "commit"=>"Add Comment"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.1ms) begin transaction Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]] SQL (0.4ms) INSERT INTO "active_admin_comments" ("author_id", "author_type", "body", "created_at", "namespace", "resource_id", "resource_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["author_id", 1], ["author_type", "AdminUser"], ["body", "this really a comment"], ["created_at", "2014-11-12 11:51:42.607125"], ["namespace", "admin"], ["resource_id", "9"], ["resource_type", "Article"], ["updated_at", "2014-11-12 11:51:42.607125"]]  (0.9ms) commit transaction Redirected to http://localhost:3000/admin/articles/9 Completed 302 Found in 13ms (ActiveRecord: 1.7ms) Started GET "/admin/articles/9" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Processing by Admin::ArticlesController#show as HTML Parameters: {"id"=>"9"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]]  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin' CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin' ActiveAdmin::Comment Load (0.1ms) SELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin' ORDER BY created_at ASC AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/show.html.arb (154.3ms) Completed 200 OK in 160ms (Views: 156.2ms | ActiveRecord: 0.7ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:42 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:43 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:43 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:43 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:43 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:51:48 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.4ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (91.9ms) Completed 200 OK in 358ms (Views: 349.6ms | ActiveRecord: 7.3ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:51:49 +0000 Started GET "/articles?sort=recent" for 127.0.0.1 at 2014-11-12 11:51:50 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"recent"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Rendered articles/index.html.erb within layouts/application (45.0ms) Completed 200 OK in 272ms (Views: 267.6ms | ActiveRecord: 3.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:52:23 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (47.4ms) Completed 200 OK in 261ms (Views: 256.4ms | ActiveRecord: 3.4ms) Started GET "/articles/9/comments/new" for 127.0.0.1 at 2014-11-12 11:52:36 +0000 Processing by CommentsController#new as HTML Parameters: {"article_id"=>"9"} Rendered comments/new.html.erb within layouts/application (4.5ms) Completed 200 OK in 238ms (Views: 236.5ms | ActiveRecord: 0.0ms) Started POST "/articles/9/comments" for 127.0.0.1 at 2014-11-12 11:52:44 +0000 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "comment"=>{"comment"=>"Main comment access"}, "commit"=>"Create Comment", "article_id"=>"9"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "comments" ("article_id", "comment", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 9], ["comment", "Main comment access"], ["created_at", "2014-11-12 11:52:44.700482"], ["updated_at", "2014-11-12 11:52:44.700482"]]  (9.6ms) commit transaction Redirected to http://localhost:3000/articles Completed 302 Found in 18ms (ActiveRecord: 10.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 11:52:44 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (47.7ms) Completed 200 OK in 273ms (Views: 268.8ms | ActiveRecord: 3.4ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:45 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.2ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (215.7ms) Completed 200 OK in 222ms (Views: 217.0ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:56 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:52:57 +0000 Started GET "/admin/articles/12" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Processing by Admin::ArticlesController#show as HTML Parameters: {"id"=>"12"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 12]]  (0.1ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '12' AND "active_admin_comments"."namespace" = 'admin' CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '12' AND "active_admin_comments"."namespace" = 'admin' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/show.html.arb (159.5ms) Completed 200 OK in 164ms (Views: 161.8ms | ActiveRecord: 0.4ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:04 +0000 Started GET "/admin/dashboard" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Processing by Admin::DashboardController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/page/index.html.arb (131.7ms) Completed 200 OK in 135ms (Views: 133.4ms | ActiveRecord: 0.2ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:10 +0000 Started GET "/admin/admin_users" for 127.0.0.1 at 2014-11-12 11:53:12 +0000 Processing by Admin::AdminUsersController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "admin_users" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "admin_users" LIMIT 30 OFFSET 0) subquery_for_count AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" ORDER BY "admin_users"."id" desc LIMIT 30 OFFSET 0 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (160.1ms) Completed 200 OK in 174ms (Views: 170.7ms | ActiveRecord: 0.8ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:13 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (222.3ms) Completed 200 OK in 228ms (Views: 223.9ms | ActiveRecord: 1.2ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:16 +0000 Started GET "/admin/articles/9" for 127.0.0.1 at 2014-11-12 11:53:26 +0000 Processing by Admin::ArticlesController#show as HTML Parameters: {"id"=>"9"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 9]]  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin' CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin' ActiveAdmin::Comment Load (0.2ms) SELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '9' AND "active_admin_comments"."namespace" = 'admin' ORDER BY created_at ASC AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/show.html.arb (169.8ms) Completed 200 OK in 176ms (Views: 172.5ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:26 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:26 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:27 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 11:53:33 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (218.7ms) Completed 200 OK in 224ms (Views: 220.4ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:34 +0000 Started GET "/admin/articles/1" for 127.0.0.1 at 2014-11-12 11:53:42 +0000 Processing by Admin::ArticlesController#show as HTML Parameters: {"id"=>"1"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin' CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/show.html.arb (162.3ms) Completed 200 OK in 167ms (Views: 164.5ms | ActiveRecord: 0.4ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:42 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:42 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:42 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:42 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:42 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 11:53:43 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:00:53 +0000 Processing by ArticlesController#index as JSON Article Load (0.5ms) SELECT "articles".* FROM "articles" Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 2.5ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:01:29 +0000 Processing by ArticlesController#index as JSON Article Load (0.5ms) SELECT "articles".* FROM "articles" Vote Load (0.3ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 1]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 2]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 3]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 4]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 5]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 6]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 7]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 8]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 9]] Vote Load (0.2ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 10]] Vote Load (0.2ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 11]] Vote Load (0.1ms) SELECT "votes".* FROM "votes" WHERE "votes"."article_id" = ? [["article_id", 12]] Completed 200 OK in 45ms (Views: 40.7ms | ActiveRecord: 2.7ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (72.5ms) Completed 200 OK in 308ms (Views: 303.5ms | ActiveRecord: 4.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:06:51 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:06:52 +0000 Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (55.5ms) Completed 200 OK in 293ms (Views: 286.6ms | ActiveRecord: 4.0ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:10 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:11 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:11 +0000 Started POST "/articles/1/votes?up=false" for 127.0.0.1 at 2014-11-12 12:07:42 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"false", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:07:42 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (64.4ms) Completed 200 OK in 292ms (Views: 287.0ms | ActiveRecord: 4.6ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:43 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:07:45 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (64.1ms) Completed 200 OK in 300ms (Views: 294.9ms | ActiveRecord: 4.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:46 +0000 Started POST "/articles/1/votes?up=false" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"false", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.1ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (46.2ms) Completed 200 OK in 272ms (Views: 267.5ms | ActiveRecord: 3.4ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:49 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:50 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:50 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:50 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:50 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:50 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:50 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:07:50 +0000 Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 12:08:12 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 2) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 17ms (ActiveRecord: 1.1ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:08:12 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (56.2ms) Completed 200 OK in 303ms (Views: 298.0ms | ActiveRecord: 3.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:13 +0000 Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 12:08:32 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 2) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 18ms (ActiveRecord: 1.4ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:08:32 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (58.4ms) Completed 200 OK in 289ms (Views: 284.2ms | ActiveRecord: 4.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:33 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:08:39 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (68.2ms) Completed 200 OK in 293ms (Views: 288.6ms | ActiveRecord: 4.0ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:08:42 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.3ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:08:42 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (49.7ms) Completed 200 OK in 276ms (Views: 271.7ms | ActiveRecord: 3.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:08:43 +0000 Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 2) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (58.5ms) Completed 200 OK in 290ms (Views: 285.2ms | ActiveRecord: 4.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:09:04 +0000 Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 2) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 18ms (ActiveRecord: 1.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (57.1ms) Completed 200 OK in 286ms (Views: 281.4ms | ActiveRecord: 4.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:07 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:10:08 +0000 Started POST "/articles/2/votes?up=false" for 127.0.0.1 at 2014-11-12 12:10:26 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/votes_controller.rb:9: syntax error, unexpected '.', expecting '|' flash[:more] = @vote.errors[:from].each do | error.to_s | ^ /Users/Steer/steer-rails/stack/app/controllers/votes_controller.rb:15: syntax error, unexpected keyword_end, expecting end-of-input): app/controllers/votes_controller.rb:9: syntax error, unexpected '.', expecting '|' app/controllers/votes_controller.rb:15: syntax error, unexpected keyword_end, expecting end-of-input Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.3ms) Started POST "/articles/2/votes?up=false" for 127.0.0.1 at 2014-11-12 12:22:10 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"false", "article_id"=>"2"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 2) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 28ms (ActiveRecord: 1.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:22:10 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (66.5ms) Completed 200 OK in 324ms (Views: 318.0ms | ActiveRecord: 4.6ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:22:11 +0000 Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:22:55 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/votes_controller.rb:10: syntax error, unexpected << << error.to_s ^): app/controllers/votes_controller.rb:10: syntax error, unexpected << Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (27.5ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:23:27 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.3ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 18ms NoMethodError (undefined method `<<' for nil:NilClass): app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `each' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.6ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:24:00 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 22ms NoMethodError (undefined method `<<' for nil:NilClass): app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `each' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.7ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:24:13 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 19ms NoMethodError (undefined method `<<' for nil:NilClass): app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `each' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.5ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:24:26 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `+' for nil:NilClass): app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `each' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.2ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:24:41 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 19ms NoMethodError (undefined method `+' for nil:NilClass): app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `each' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.0ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:24:55 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 19ms (ActiveRecord: 1.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:24:55 +0000 Processing by ArticlesController#index as HTML Article Load (0.5ms) SELECT "articles".* FROM "articles"  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.8ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (69.0ms) Completed 200 OK in 319ms (Views: 312.5ms | ActiveRecord: 5.5ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:24:56 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:25:06 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (68.1ms) Completed 200 OK in 322ms (Views: 315.7ms | ActiveRecord: 5.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:07 +0000 Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:25:09 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `+' for nil:NilClass): app/controllers/votes_controller.rb:10:in `block in create' app/controllers/votes_controller.rb:9:in `each' app/controllers/votes_controller.rb:9:in `create' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.9ms) Started POST "/articles/1/votes?up=true" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"1"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.0ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 1) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 19ms (ActiveRecord: 1.3ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (93.8ms) Completed 200 OK in 347ms (Views: 340.3ms | ActiveRecord: 5.7ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:31 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:32 +0000 Started POST "/articles/2/votes?up=true" for 127.0.0.1 at 2014-11-12 12:25:56 +0000 Processing by VotesController#create as HTML Parameters: {"authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "up"=>"true", "article_id"=>"2"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) begin transaction Binary data inserted for `string` type on column `from` Vote Exists (0.2ms) SELECT 1 AS one FROM "votes" WHERE ("votes"."from" = '127.0.0.1' AND "votes"."article_id" = 2) LIMIT 1  (0.1ms) rollback transaction Redirected to http://localhost:3000/articles Completed 302 Found in 17ms (ActiveRecord: 1.2ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:25:56 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (58.2ms) Completed 200 OK in 307ms (Views: 301.6ms | ActiveRecord: 4.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:25:57 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:39:48 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (50.1ms) Completed 200 OK in 311ms (Views: 306.1ms | ActiveRecord: 3.5ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:58:40 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:58:40 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:58:40 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:58:40 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:58:40 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:58:40 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:58:40 +0000 Started GET "/" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Processing by ArticlesController#index as HTML Article Load (1.6ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (59.0ms) Completed 200 OK in 332ms (Views: 319.5ms | ActiveRecord: 5.1ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:05 +0000 Started GET "/assets/articles.css" for 127.0.0.1 at 2014-11-12 12:59:22 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 12:59:31 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (48.4ms) Completed 200 OK in 379ms (Views: 375.2ms | ActiveRecord: 3.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:58 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:59 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:59 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:59 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:59 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:59 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:59 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 12:59:59 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:00:45 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:02:37 +0000 Processing by ArticlesController#index as HTML Article Load (8.0ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (66.9ms) Completed 200 OK in 362ms (Views: 349.1ms | ActiveRecord: 12.0ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:02:38 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (71.8ms) Completed 200 OK in 313ms (Views: 308.5ms | ActiveRecord: 3.9ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:04:23 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:06:46 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (52.7ms) Completed 200 OK in 345ms (Views: 340.4ms | ActiveRecord: 3.6ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:06:47 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddFeaturedToArticle (20141112130806)  (0.1ms) begin transaction  (1.4ms) ALTER TABLE "articles" ADD "featured" boolean DEFAULT 'f' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141112130806"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_resource_type_and_resource_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_author_type_and_author_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_active_admin_comments_on_namespace' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_active_admin_comments_on_namespace' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_admin_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_admin_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_admin_users_on_email' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_admin_users_on_email' AND type='index'  Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 13:12:10 +0000 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (309.0ms) Completed 200 OK in 341ms (Views: 319.2ms | ActiveRecord: 2.6ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 13:12:11 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:14:06 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (70.4ms) Completed 200 OK in 364ms (Views: 359.3ms | ActiveRecord: 3.8ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:14:07 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:14:43 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (52.3ms) Completed 200 OK in 361ms (Views: 356.5ms | ActiveRecord: 3.8ms) Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:14:44 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:14:59 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (71.8ms) Completed 200 OK in 478ms (Views: 468.6ms | ActiveRecord: 5.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:15:00 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:15:17 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (55.2ms) Completed 200 OK in 395ms (Views: 389.9ms | ActiveRecord: 4.0ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:15:18 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (51.0ms) Completed 200 OK in 355ms (Views: 350.4ms | ActiveRecord: 3.7ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:15:44 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:15:45 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (50.3ms) Completed 200 OK in 362ms (Views: 357.9ms | ActiveRecord: 3.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:10 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:16:11 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (85.2ms) Completed 200 OK in 371ms (Views: 365.4ms | ActiveRecord: 5.2ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:27 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:28 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:28 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:28 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:28 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:28 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:16:28 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (65.3ms) Completed 200 OK in 394ms (Views: 388.4ms | ActiveRecord: 4.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:46 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:16:47 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Processing by ArticlesController#index as HTML Article Load (0.3ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (52.2ms) Completed 200 OK in 367ms (Views: 362.2ms | ActiveRecord: 3.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:19:20 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (73.8ms) Completed 200 OK in 326ms (Views: 320.8ms | ActiveRecord: 4.8ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:53 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:54 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:54 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:54 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:54 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:54 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:54 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:54 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:20:54 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:21:43 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (56.4ms) Completed 200 OK in 353ms (Views: 348.3ms | ActiveRecord: 4.1ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:21:44 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:23:38 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (52.0ms) Completed 200 OK in 333ms (Views: 328.3ms | ActiveRecord: 3.7ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:23:39 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] CACHE (0.0ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (54.0ms) Completed 200 OK in 313ms (Views: 308.5ms | ActiveRecord: 3.5ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:24:46 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:25:23 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (48.8ms) Completed 200 OK in 287ms (Views: 282.6ms | ActiveRecord: 3.4ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:23 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:23 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:24 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (48.8ms) Completed 200 OK in 299ms (Views: 294.9ms | ActiveRecord: 3.5ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:25:50 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:26:35 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (45.8ms) Completed 200 OK in 333ms (Views: 328.9ms | ActiveRecord: 3.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:26:36 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:28:15 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (53.2ms) Completed 200 OK in 346ms (Views: 341.2ms | ActiveRecord: 3.7ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:28:16 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:33:11 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (63.0ms) Completed 200 OK in 349ms (Views: 344.3ms | ActiveRecord: 3.9ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:33:11 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:33:11 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:33:11 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:33:11 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:33:11 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:33:12 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (50.5ms) Completed 200 OK in 360ms (Views: 355.3ms | ActiveRecord: 3.6ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:34:21 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:34:58 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (50.9ms) Completed 200 OK in 363ms (Views: 358.2ms | ActiveRecord: 3.9ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:34:59 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (47.5ms) Completed 200 OK in 343ms (Views: 339.1ms | ActiveRecord: 3.4ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:08 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:36:09 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 13:39:47 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (78.5ms) Completed 200 OK in 374ms (Views: 368.3ms | ActiveRecord: 4.7ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 13:39:48 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 14:04:30 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (282.2ms) Completed 200 OK in 306ms (Views: 283.3ms | ActiveRecord: 2.8ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:04:30 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:30 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:31 +0000 Started GET "/admin/articles/12/edit" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Processing by Admin::ArticlesController#edit as HTML Parameters: {"id"=>"12"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 12]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/edit.html.arb (183.0ms) Completed 200 OK in 189ms (Views: 185.7ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:32 +0000 Started PATCH "/admin/articles/12" for 127.0.0.1 at 2014-11-12 14:04:37 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"Afgter admin", "body"=>"Donec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n\r\nDonec convallis laoreet ex eget volutpat. Donec convallis condimentum elit quis mattis. Nulla sollicitudin ligula dui, ac accumsan sem auctor eget. Ut consectetur, metus pharetra venenatis rhoncus, est augue blandit urna, ut hendrerit eros nunc id est. Aliquam pellentesque, leo a congue placerat, mi dolor bibendum mi, sed rhoncus ex risus vel massa. Fusce bibendum erat quis nunc pulvinar, sit amet ultrices ipsum elementum. Ut iaculis purus eget turpis consequat sagittis. Vestibulum dui sem, imperdiet vel velit vel, bibendum scelerisque velit. Mauris laoreet quis dolor a mollis. Pellentesque vestibulum dignissim ligula venenatis laoreet. Praesent pharetra pulvinar libero at volutpat. Suspendisse viverra tellus quis maximus ornare. Nulla at magna feugiat, mattis quam nec, volutpat lacus.\r\n\r\nAliquam felis lacus, suscipit quis euismod vitae, blandit a turpis. Duis cursus odio mi. Fusce at nibh quis neque tempor efficitur et sit amet nisl. Cras quis consequat augue. Mauris eget interdum neque. Fusce et finibus augue. Praesent sem neque, feugiat eu finibus vel, pellentesque sit amet libero. Vestibulum laoreet sed sem non gravida. In egestas dui id tellus maximus tincidunt.\r\n\r\nGenerated 5 paragraphs, 432 words, 2900 bytes of Lorem Ipsum\r\n", "author"=>"Q K Snacker", "url"=>"http://ered", "upvotes"=>"0", "counter_cache"=>"", "featured"=>"1"}, "commit"=>"Update Article", "id"=>"12"} AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 12]] Unpermitted parameters: upvotes, counter_cache  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 12 [["featured", "t"], ["updated_at", "2014-11-12 14:04:37.870283"]]  (0.7ms) commit transaction Redirected to http://localhost:3000/admin/articles/12 Completed 302 Found in 17ms (ActiveRecord: 1.6ms) Started GET "/admin/articles/12" for 127.0.0.1 at 2014-11-12 14:04:37 +0000 Processing by Admin::ArticlesController#show as HTML Parameters: {"id"=>"12"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 12]]  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '12' AND "active_admin_comments"."namespace" = 'admin' CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '12' AND "active_admin_comments"."namespace" = 'admin' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/show.html.arb (178.0ms) Completed 200 OK in 183ms (Views: 180.3ms | ActiveRecord: 0.7ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:38 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (253.0ms) Completed 200 OK in 258ms (Views: 254.3ms | ActiveRecord: 1.3ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:04:43 +0000 Started GET "/articles" for 127.0.0.1 at 2014-11-12 14:06:21 +0000 Processing by ArticlesController#index as HTML Completed 500 Internal Server Error in 5ms NameError (undefined local variable or method `paramt' for #): app/controllers/articles_controller.rb:7:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (27.6ms) Started GET "/articles" for 127.0.0.1 at 2014-11-12 14:06:42 +0000 Processing by ArticlesController#index as HTML Article Load (0.4ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (67.8ms) Completed 200 OK in 320ms (Views: 314.1ms | ActiveRecord: 4.7ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:06:42 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:06:42 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:06:42 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:06:42 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 14:06:43 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:06:49 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."featured" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.4ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (55.1ms) Completed 200 OK in 303ms (Views: 298.1ms | ActiveRecord: 4.4ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:09:12 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."featured" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (51.2ms) Completed 200 OK in 305ms (Views: 300.5ms | ActiveRecord: 3.7ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."featured" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (59.6ms) Completed 200 OK in 313ms (Views: 308.0ms | ActiveRecord: 4.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:10:03 +0000 Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-12 14:10:47 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (48.7ms) Completed 200 OK in 298ms (Views: 294.0ms | ActiveRecord: 3.3ms) Started GET "/articles?sort=recent" for 127.0.0.1 at 2014-11-12 14:10:48 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"recent"} Article Load (0.5ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Rendered articles/index.html.erb within layouts/application (52.8ms) Completed 200 OK in 301ms (Views: 296.3ms | ActiveRecord: 4.0ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:10:50 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."featured" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (50.6ms) Completed 200 OK in 298ms (Views: 293.4ms | ActiveRecord: 3.7ms) Started GET "/admin/articles/12/edit" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Processing by Admin::ArticlesController#edit as HTML Parameters: {"id"=>"12"} AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 12]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 12 LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/edit.html.arb (193.6ms) Completed 200 OK in 210ms (Views: 197.8ms | ActiveRecord: 0.8ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:11:01 +0000 Started PATCH "/admin/articles/12" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"Afgter admin", "body"=>"Donec id mi sed diam ultricies varius quis sit amet nunc. Sed scelerisque fringilla dolor nec viverra. Cras eu laoreet nisl. Cras scelerisque nulla quam, ut interdum mauris feugiat imperdiet. Maecenas consectetur, purus vel sollicitudin feugiat, lorem arcu laoreet nisi, at dignissim justo nulla at mi. Aliquam semper arcu vitae lorem vulputate lobortis. Proin iaculis rhoncus est a aliquam. Duis facilisis sem sed risus placerat aliquam hendrerit eu enim. Integer consectetur ante nisi, et pellentesque nibh dapibus sit amet. Nullam iaculis nulla id dolor lobortis, ac vulputate mauris malesuada. Phasellus finibus justo nec auctor egestas. Morbi malesuada turpis feugiat consequat rhoncus. Vestibulum dolor nisl, aliquam vitae risus eget, fringilla gravida erat. Aenean ut nisi metus. Ut ac urna eget nulla rhoncus tempus ut sed lacus.\r\n\r\nDonec convallis laoreet ex eget volutpat. Donec convallis condimentum elit quis mattis. Nulla sollicitudin ligula dui, ac accumsan sem auctor eget. Ut consectetur, metus pharetra venenatis rhoncus, est augue blandit urna, ut hendrerit eros nunc id est. Aliquam pellentesque, leo a congue placerat, mi dolor bibendum mi, sed rhoncus ex risus vel massa. Fusce bibendum erat quis nunc pulvinar, sit amet ultrices ipsum elementum. Ut iaculis purus eget turpis consequat sagittis. Vestibulum dui sem, imperdiet vel velit vel, bibendum scelerisque velit. Mauris laoreet quis dolor a mollis. Pellentesque vestibulum dignissim ligula venenatis laoreet. Praesent pharetra pulvinar libero at volutpat. Suspendisse viverra tellus quis maximus ornare. Nulla at magna feugiat, mattis quam nec, volutpat lacus.\r\n\r\nAliquam felis lacus, suscipit quis euismod vitae, blandit a turpis. Duis cursus odio mi. Fusce at nibh quis neque tempor efficitur et sit amet nisl. Cras quis consequat augue. Mauris eget interdum neque. Fusce et finibus augue. Praesent sem neque, feugiat eu finibus vel, pellentesque sit amet libero. Vestibulum laoreet sed sem non gravida. In egestas dui id tellus maximus tincidunt.\r\n\r\nGenerated 5 paragraphs, 432 words, 2900 bytes of Lorem Ipsum\r\n", "author"=>"Q K Snacker", "url"=>"http://ered", "upvotes"=>"0", "counter_cache"=>"", "featured"=>"0"}, "commit"=>"Update Article", "id"=>"12"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 12]] Unpermitted parameters: upvotes, counter_cache  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 12 [["featured", "f"], ["updated_at", "2014-11-12 14:11:06.640287"]]  (0.8ms) commit transaction Redirected to http://localhost:3000/admin/articles/12 Completed 302 Found in 19ms (ActiveRecord: 1.4ms) Started GET "/admin/articles/12" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Processing by Admin::ArticlesController#show as HTML Parameters: {"id"=>"12"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 12]]  (0.1ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '12' AND "active_admin_comments"."namespace" = 'admin' CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '12' AND "active_admin_comments"."namespace" = 'admin' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/show.html.arb (178.2ms) Completed 200 OK in 186ms (Views: 182.1ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:06 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:07 +0000 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.3ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.1ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (254.6ms) Completed 200 OK in 260ms (Views: 256.0ms | ActiveRecord: 1.5ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:11:10 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:16:12 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't' Rendered articles/index.html.erb within layouts/application (3.0ms) Completed 200 OK in 254ms (Views: 251.9ms | ActiveRecord: 0.6ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:17:47 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't' Rendered articles/index.html.erb within layouts/application (1.4ms) Completed 200 OK in 261ms (Views: 260.5ms | ActiveRecord: 0.2ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:17:47 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't' Rendered articles/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 243ms (Views: 241.8ms | ActiveRecord: 0.2ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:17:47 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:17:47 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:17:47 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:17:47 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:17:47 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:17:48 +0000 Article Load (1.1ms) SELECT "articles".* FROM "articles" WHERE ('featured?') Article Load (2.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1 Article Load (0.7ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1 Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1 Started GET "/admin/articles" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Processing by Admin::ArticlesController#index as HTML AdminUser Load (0.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1  (0.4ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count  (0.1ms) SELECT COUNT(*) FROM "articles" CACHE (0.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "articles" LIMIT 30 OFFSET 0) subquery_for_count Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" desc LIMIT 30 OFFSET 0 Vote Load (0.3ms) SELECT "votes".* FROM "votes" Comment Load (0.2ms) SELECT "comments".* FROM "comments" Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/index.html.arb (331.1ms) Completed 200 OK in 351ms (Views: 333.1ms | ActiveRecord: 2.5ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:19:57 +0000 Started GET "/admin/articles/11/edit" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Processing by Admin::ArticlesController#edit as HTML Parameters: {"id"=>"11"} AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = 11 LIMIT 1 Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/edit.html.arb (201.8ms) Completed 200 OK in 208ms (Views: 204.0ms | ActiveRecord: 0.6ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:03 +0000 Started PATCH "/admin/articles/11" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"This", "body"=>"validate", "author"=>"nicesly", "url"=>"", "upvotes"=>"0", "counter_cache"=>"", "featured"=>"1"}, "commit"=>"Update Article", "id"=>"11"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Unpermitted parameters: upvotes, counter_cache  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/edit.html.arb (201.8ms) Completed 200 OK in 217ms (Views: 204.1ms | ActiveRecord: 0.4ms) Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:07 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:08 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:08 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:08 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:08 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:08 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't' Rendered articles/index.html.erb within layouts/application (1.9ms) Completed 200 OK in 283ms (Views: 281.8ms | ActiveRecord: 0.3ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:11 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:20:12 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:20:23 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/articles_controller.rb:9: syntax error, unexpected keyword_else, expecting ')'): app/controllers/articles_controller.rb:9: syntax error, unexpected keyword_else, expecting ')' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.2ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:20:39 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/articles_controller.rb:8: syntax error, unexpected ')'): app/controllers/articles_controller.rb:8: syntax error, unexpected ')' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.6ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:20:55 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured?) SQLite3::SQLException: near "?": syntax error: SELECT "articles".* FROM "articles" WHERE (featured?) Rendered articles/index.html.erb within layouts/application (2.7ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (SQLite3::SQLException: near "?": syntax error: SELECT "articles".* FROM "articles" WHERE (featured?)): 5: <%= link_to 'New Article', :controller => 'articles', :action => "new" %> 6: 7:
8:
<% @articles.each do |article| %> 9: 10:
11:

<% if article.featured? %>*<%end%> <%= link_to article.title, action: 'show', id: article.id %> <%= article.author + ', ' + article.created_at.to_formatted_s(:short)%>

app/views/articles/index.html.erb:8:in `_app_views_articles_index_html_erb___3529999435626386354_70213134606360' app/controllers/articles_controller.rb:12:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.4ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:21:11 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (featured = true) SQLite3::SQLException: no such column: true: SELECT "articles".* FROM "articles" WHERE (featured = true) Rendered articles/index.html.erb within layouts/application (3.0ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (SQLite3::SQLException: no such column: true: SELECT "articles".* FROM "articles" WHERE (featured = true)): 5: <%= link_to 'New Article', :controller => 'articles', :action => "new" %> 6:
7:
8:
<% @articles.each do |article| %> 9: 10:
11:

<% if article.featured? %>*<%end%> <%= link_to article.title, action: 'show', id: article.id %> <%= article.author + ', ' + article.created_at.to_formatted_s(:short)%>

app/views/articles/index.html.erb:8:in `_app_views_articles_index_html_erb___3529999435626386354_70213134606360' app/controllers/articles_controller.rb:12:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (11.8ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (featured = 'true') Rendered articles/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 256ms (Views: 254.8ms | ActiveRecord: 0.4ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:21:26 +0000 Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.5ms) begin transaction  (0.1ms) rollback transaction Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) rollback transaction Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:24:36 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't' Rendered articles/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 246ms (Views: 244.4ms | ActiveRecord: 0.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:24:37 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 'f'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.3ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (57.0ms) Completed 200 OK in 244ms (Views: 238.4ms | ActiveRecord: 4.4ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:04 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:25:05 +0000 Article Load (0.7ms) SELECT "articles".* FROM "articles" WHERE (id > 5) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (id > 5) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (id > 5) Article Load (0.4ms) SELECT "articles".* FROM "articles" Article Load (0.5ms) SELECT "articles".* FROM "articles" Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction Started PATCH "/admin/articles/11" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"This", "body"=>"validate", "author"=>"nicesly", "url"=>"", "upvotes"=>"0", "counter_cache"=>"", "featured"=>"1"}, "commit"=>"Update Article", "id"=>"11"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Unpermitted parameters: upvotes, counter_cache  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/edit.html.arb (215.9ms) Completed 200 OK in 248ms (Views: 219.6ms | ActiveRecord: 0.9ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:37 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:38 +0000 Started PATCH "/admin/articles/11" for 127.0.0.1 at 2014-11-12 14:40:49 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"This", "body"=>"validate", "author"=>"nicesly", "url"=>":", "upvotes"=>"0", "counter_cache"=>"", "featured"=>"1"}, "commit"=>"Update Article", "id"=>"11"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Unpermitted parameters: upvotes, counter_cache  (0.2ms) begin transaction  (0.1ms) rollback transaction Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/edit.html.arb (140.9ms) Completed 200 OK in 156ms (Views: 143.0ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:50 +0000 Started PATCH "/admin/articles/11" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Processing by Admin::ArticlesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U/f2dDOtBvbV5ipfWPxU1riKWgmo/MbKT2fMpRQgPPg=", "article"=>{"title"=>"This", "body"=>"validate", "author"=>"nicesly", "url"=>"http://", "upvotes"=>"0", "counter_cache"=>"", "featured"=>"1"}, "commit"=>"Update Article", "id"=>"11"} AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]] Unpermitted parameters: upvotes, counter_cache  (0.2ms) begin transaction SQL (0.5ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ?, "url" = ? WHERE "articles"."id" = 11 [["featured", "t"], ["updated_at", "2014-11-12 14:40:56.400812"], ["url", "http://"]]  (0.6ms) commit transaction Redirected to http://localhost:3000/admin/articles/11 Completed 302 Found in 17ms (ActiveRecord: 2.0ms) Started GET "/admin/articles/11" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Processing by Admin::ArticlesController#show as HTML Parameters: {"id"=>"11"} AdminUser Load (0.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 11]]  (0.2ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '11' AND "active_admin_comments"."namespace" = 'admin' CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Article' AND "active_admin_comments"."resource_id" = '11' AND "active_admin_comments"."namespace" = 'admin' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/bundler/gems/activeadmin-a436d693799e/app/views/active_admin/resource/show.html.arb (264.4ms) Completed 200 OK in 270ms (Views: 266.8ms | ActiveRecord: 0.8ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/print.css?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:40:56 +0000  (0.1ms) begin transaction  (0.1ms) rollback transaction Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE "articles"."url" IS NULL Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 'f'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (33.8ms) Completed 200 OK in 232ms (Views: 229.1ms | ActiveRecord: 2.5ms) Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:17 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 14:59:18 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 14:59:27 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (18.8ms) Completed 200 OK in 241ms (Views: 237.8ms | ActiveRecord: 1.6ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 14:59:28 +0000 Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."url" IS NULL  (0.2ms) begin transaction SQL (1.0ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 1 [["updated_at", "2014-11-12 15:00:28.487209"], ["url", "http://news.bbc.co.uk/"]]  (8.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 2 [["updated_at", "2014-11-12 15:00:28.502499"], ["url", "http://news.bbc.co.uk/"]]  (0.8ms) commit transaction  (0.2ms) begin transaction SQL (0.6ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 3 [["updated_at", "2014-11-12 15:00:28.506686"], ["url", "http://news.bbc.co.uk/"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 4 [["updated_at", "2014-11-12 15:00:28.511856"], ["url", "http://news.bbc.co.uk/"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 5 [["updated_at", "2014-11-12 15:00:28.514940"], ["url", "http://news.bbc.co.uk/"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 6 [["updated_at", "2014-11-12 15:00:28.517940"], ["url", "http://news.bbc.co.uk/"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 7 [["updated_at", "2014-11-12 15:00:28.521290"], ["url", "http://news.bbc.co.uk/"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 8 [["updated_at", "2014-11-12 15:00:28.524468"], ["url", "http://news.bbc.co.uk/"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ?, "url" = ? WHERE "articles"."id" = 10 [["updated_at", "2014-11-12 15:00:28.527109"], ["url", "http://news.bbc.co.uk/"]]  (0.8ms) commit transaction Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1  (0.1ms) begin transaction SQL (0.5ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 1 [["updated_at", "2014-11-12 15:00:56.470351"]]  (8.2ms) commit transaction  (0.2ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 2 [["updated_at", "2014-11-12 15:00:56.481969"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 3 [["updated_at", "2014-11-12 15:00:56.484796"]]  (0.9ms) commit transaction Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE ('featured?') Rendered articles/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 281ms (Views: 278.7ms | ActiveRecord: 0.4ms) Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:37 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:38 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:07:52 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (17.5ms) Completed 200 OK in 273ms (Views: 270.5ms | ActiveRecord: 1.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:07:53 +0000 Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 1 [["updated_at", "2014-11-12 15:08:54.259109"]]  (9.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 2 [["updated_at", "2014-11-12 15:08:54.271707"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 3 [["updated_at", "2014-11-12 15:08:54.276590"]]  (0.8ms) commit transaction Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 1 [["updated_at", "2014-11-12 15:09:18.437086"]]  (8.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 2 [["updated_at", "2014-11-12 15:09:18.448479"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 3 [["updated_at", "2014-11-12 15:09:18.452240"]]  (0.8ms) commit transaction Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 1 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 215ms (Views: 213.9ms | ActiveRecord: 0.5ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:09:42 +0000 Article Load (0.5ms) SELECT "articles".* FROM "articles" WHERE (featured != true) SQLite3::SQLException: no such column: true: SELECT "articles".* FROM "articles" WHERE (featured != true) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured != "true") Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured != false) SQLite3::SQLException: no such column: false: SELECT "articles".* FROM "articles" WHERE (featured != false) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured != "false") Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (featured != "false")  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 1 [["updated_at", "2014-11-12 15:11:37.822870"]]  (8.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 2 [["updated_at", "2014-11-12 15:11:37.834564"]]  (0.9ms) commit transaction  (0.2ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 3 [["updated_at", "2014-11-12 15:11:37.838810"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 4 [["updated_at", "2014-11-12 15:11:37.842360"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 5 [["updated_at", "2014-11-12 15:11:37.845217"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 6 [["updated_at", "2014-11-12 15:11:37.847640"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 7 [["updated_at", "2014-11-12 15:11:37.850488"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 8 [["updated_at", "2014-11-12 15:11:37.853161"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 9 [["updated_at", "2014-11-12 15:11:37.856522"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 10 [["updated_at", "2014-11-12 15:11:37.860243"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 11 [["updated_at", "2014-11-12 15:11:37.863227"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 12 [["updated_at", "2014-11-12 15:11:37.865980"]]  (0.7ms) commit transaction Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:11:46 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (8.1ms) Completed 200 OK in 294ms (Views: 292.2ms | ActiveRecord: 0.8ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:11:50 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (7.7ms) Completed 200 OK in 214ms (Views: 212.2ms | ActiveRecord: 0.6ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:11:52 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (5.3ms) Completed 200 OK in 248ms (Views: 247.0ms | ActiveRecord: 0.4ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:11:55 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]] Rendered articles/index.html.erb within layouts/application (6.8ms) Completed 200 OK in 222ms (Views: 220.6ms | ActiveRecord: 0.6ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 15:11:55 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:11:56 +0000 Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE (featured != "false")  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 1 [["updated_at", "2014-11-12 15:12:49.614966"]]  (8.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 2 [["updated_at", "2014-11-12 15:12:49.626277"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 3 [["updated_at", "2014-11-12 15:12:49.629438"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 4 [["updated_at", "2014-11-12 15:12:49.666321"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 5 [["updated_at", "2014-11-12 15:12:49.669117"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 6 [["updated_at", "2014-11-12 15:12:49.671928"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 7 [["updated_at", "2014-11-12 15:12:49.675134"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 8 [["updated_at", "2014-11-12 15:12:49.678165"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 9 [["updated_at", "2014-11-12 15:12:49.680658"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 10 [["updated_at", "2014-11-12 15:12:49.683071"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 11 [["updated_at", "2014-11-12 15:12:49.685662"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "updated_at" = ? WHERE "articles"."id" = 12 [["updated_at", "2014-11-12 15:12:49.687833"]]  (0.8ms) commit transaction Article Load (3.8ms) SELECT "articles".* FROM "articles" WHERE (featured != "false") Article Load (0.6ms) SELECT "articles".* FROM "articles" WHERE (featured != "false")  (0.2ms) begin transaction SQL (0.5ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 1 [["featured", "f"], ["updated_at", "2014-11-12 15:14:27.843206"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 2 [["featured", "f"], ["updated_at", "2014-11-12 15:14:27.854940"]]  (0.9ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 3 [["featured", "f"], ["updated_at", "2014-11-12 15:14:27.858902"]]  (0.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.3ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 11 [["featured", "f"], ["updated_at", "2014-11-12 15:14:27.868274"]]  (0.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Article Load (0.7ms) SELECT "articles".* FROM "articles" WHERE (featured != "false")  (0.2ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 1 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.602887"]]  (9.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 2 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.616134"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 3 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.620335"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 4 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.623858"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 5 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.627038"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 6 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.630359"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 7 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.634102"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 8 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.638145"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 9 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.641959"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 10 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.645395"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 11 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.664132"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 12 [["featured", "t"], ["updated_at", "2014-11-12 15:14:58.667372"]]  (0.9ms) commit transaction Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:15:07 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.4ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (50.9ms) Completed 200 OK in 321ms (Views: 316.4ms | ActiveRecord: 3.7ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:15:08 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:15:27 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (featured?) SQLite3::SQLException: near "?": syntax error: SELECT "articles".* FROM "articles" WHERE (featured?) Rendered articles/index.html.erb within layouts/application (2.4ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (SQLite3::SQLException: near "?": syntax error: SELECT "articles".* FROM "articles" WHERE (featured?)): 5: <%= link_to 'New Article', :controller => 'articles', :action => "new" %> 6:
7:
8:
<% @articles.each do |article| %> 9: 10:
11:

<% if article.featured? %>*<%end%> <%= link_to article.title, action: 'show', id: article.id %> <%= article.author + ', ' + article.created_at.to_formatted_s(:short)%>

app/views/articles/index.html.erb:8:in `_app_views_articles_index_html_erb___3529999435626386354_70213134606360' app/controllers/articles_controller.rb:12:in `index' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.0ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:15:45 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/articles_controller.rb:9: syntax error, unexpected keyword_else, expecting ')'): app/controllers/articles_controller.rb:9: syntax error, unexpected keyword_else, expecting ')' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.1ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:15:54 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/articles_controller.rb:8: syntax error, unexpected ')'): app/controllers/articles_controller.rb:8: syntax error, unexpected ')' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.2ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:16:08 +0000 SyntaxError (/Users/Steer/steer-rails/stack/app/controllers/articles_controller.rb:8: syntax error, unexpected => @articles = Article.where(featured: => true) ^): app/controllers/articles_controller.rb:8: syntax error, unexpected => Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.6ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:16:35 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (71.9ms) Completed 200 OK in 327ms (Views: 319.9ms | ActiveRecord: 6.0ms) Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 15:16:36 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (50.3ms)  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE "articles"."featured" = 't' Completed 200 OK in 279ms (Views: 274.4ms | ActiveRecord: 3.9ms) Started GET "/assets/active_admin.css?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/articles.css?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/stories.css?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/tales.css?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/votes.css?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/comments.css?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/base.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/lib/checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/lib/dropdown-menu.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/lib/batch_actions.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/lib/flash.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/lib/has_many.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/lib/modal_dialog.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/lib/popover.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/lib/table-checkbox-toggler.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/ext/jquery.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/ext/jquery-ui.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/active_admin.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/comments.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/articles.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/stories.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/tales.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/votes.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/assets/sprite_sheet.png" for 127.0.0.1 at 2014-11-12 15:31:15 +0000 Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:31:18 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (46.3ms)  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE "articles"."featured" = 't' Completed 200 OK in 256ms (Views: 252.1ms | ActiveRecord: 3.5ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-12 15:31:22 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (47.4ms)  (0.1ms) SELECT COUNT(*) FROM "articles" Completed 200 OK in 252ms (Views: 247.1ms | ActiveRecord: 3.6ms) Started GET "/articles?sort=recent" for 127.0.0.1 at 2014-11-12 15:31:24 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"recent"} Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."created_at" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]] Rendered articles/index.html.erb within layouts/application (51.7ms)  (0.1ms) SELECT COUNT(*) FROM "articles" Completed 200 OK in 321ms (Views: 315.8ms | ActiveRecord: 4.1ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:31:27 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (58.2ms)  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE "articles"."featured" = 't' Completed 200 OK in 279ms (Views: 273.6ms | ActiveRecord: 4.3ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-12 15:31:28 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (6.8ms) Rendered articles/new.html.erb within layouts/application (7.7ms) Completed 500 Internal Server Error in 232ms ActionView::Template::Error (undefined method `count' for nil:NilClass): 8: 9: 10:
11:

<%= link_to params[:controller].capitalize, articles_path %> (<%= @articles.count %>)

12: <% flash.each do |key, value| %> 13:
<%= value %>
14: <% end %> app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___2600138379092760478_70213144658740' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.6ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-12 15:31:29 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (10.6ms) Rendered articles/new.html.erb within layouts/application (11.8ms) Completed 500 Internal Server Error in 243ms ActionView::Template::Error (undefined method `count' for nil:NilClass): 8: 9: 10:
11:

<%= link_to params[:controller].capitalize, articles_path %> (<%= @articles.count %>)

12: <% flash.each do |key, value| %> 13:
<%= value %>
14: <% end %> app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___2600138379092760478_70213144658740' Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/Steer/.rvm/gems/ruby-2.1.2/gems/actionpack-4.1.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (11.5ms) Started GET "/articles/new" for 127.0.0.1 at 2014-11-12 15:33:17 +0000 Processing by ArticlesController#new as HTML Rendered articles/_form.html.erb (6.4ms) Rendered articles/new.html.erb within layouts/application (7.4ms) Completed 200 OK in 245ms (Views: 243.9ms | ActiveRecord: 0.0ms) Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured = 'true') Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured != 'true') Article Load (0.8ms) SELECT "articles".* FROM "articles" WHERE (featured = true) SQLite3::SQLException: no such column: true: SELECT "articles".* FROM "articles" WHERE (featured = true) Article Load (0.8ms) SELECT "articles".* FROM "articles" WHERE (featured = 't') Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured = 't') Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured = 't') Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured = 't') Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (featured != 't') Article Load (0.4ms) SELECT "articles".* FROM "articles" Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (id%3 = 0) Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (id%3 != 0)  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 1 [["featured", "f"], ["updated_at", "2014-11-12 15:37:18.547888"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 2 [["featured", "f"], ["updated_at", "2014-11-12 15:37:18.551518"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 4 [["featured", "f"], ["updated_at", "2014-11-12 15:37:18.555237"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 5 [["featured", "f"], ["updated_at", "2014-11-12 15:37:18.557654"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 7 [["featured", "f"], ["updated_at", "2014-11-12 15:37:18.560970"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 8 [["featured", "f"], ["updated_at", "2014-11-12 15:37:18.564141"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 10 [["featured", "f"], ["updated_at", "2014-11-12 15:37:18.566852"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "articles" SET "featured" = ?, "updated_at" = ? WHERE "articles"."id" = 11 [["featured", "f"], ["updated_at", "2014-11-12 15:37:18.569357"]]  (0.7ms) commit transaction Article Load (0.3ms) SELECT "articles".* FROM "articles" Article Load (0.3ms) SELECT "articles".* FROM "articles" Started GET "/articles" for 127.0.0.1 at 2014-11-12 15:38:09 +0000 Processing by ArticlesController#index as HTML Article Load (0.2ms) SELECT "articles".* FROM "articles"  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (48.4ms)  (0.1ms) SELECT COUNT(*) FROM "articles" Completed 200 OK in 268ms (Views: 263.3ms | ActiveRecord: 3.6ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:38:12 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (22.4ms)  (0.2ms) SELECT COUNT(*) FROM "articles" WHERE "articles"."featured" = 't' Completed 200 OK in 230ms (Views: 227.0ms | ActiveRecord: 1.7ms) Started GET "/articles?sort=votes" for 127.0.0.1 at 2014-11-12 15:38:15 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"votes"} Article Load (0.3ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."votes_count" DESC  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 1]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 7]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 7]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 2]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 2]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 4]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 4]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 11]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 11]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 8]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 8]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (16.2ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 5]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 5]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 10]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 10]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (65.2ms)  (0.1ms) SELECT COUNT(*) FROM "articles" Completed 200 OK in 280ms (Views: 259.3ms | ActiveRecord: 20.1ms) Started GET "/articles?sort=featured" for 127.0.0.1 at 2014-11-12 15:38:16 +0000 Processing by ArticlesController#index as HTML Parameters: {"sort"=>"featured"} Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."featured" = 't'  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 3]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 3]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 6]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 6]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 9]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 9]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 't' [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "votes" WHERE "votes"."article_id" = ? AND "votes"."up" = 'f' [["article_id", 12]] Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]]  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."article_id" = ? [["article_id", 12]] Rendered articles/index.html.erb within layouts/application (17.3ms)  (0.1ms) SELECT COUNT(*) FROM "articles" WHERE "articles"."featured" = 't' Completed 200 OK in 224ms (Views: 222.1ms | ActiveRecord: 1.6ms)