(0.1ms) select sqlite_version(*)  (156.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (83.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateCategories (20111231175637)  (0.4ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231175637') Migrating to CreatePosts (20111231181111)  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "title" varchar(255), "date" datetime, "content" text, "category_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) PRAGMA index_list("posts")  (0.2ms) CREATE INDEX "index_posts_on_category_id" ON "posts" ("category_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231181111')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("categories")  (0.1ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_info('index_posts_on_category_id') Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:28:00 -0200 SyntaxError (/home/phinfonet/projetos/pessoais/blogmodule/app/controllers/posts_controller.rb:89: syntax error, unexpected $end, expecting keyword_end): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.5ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:28:16 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.4ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:30:25 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 500 Internal Server Error in 32ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.9ms) Started GET "/post" for 127.0.0.1 at 2011-12-31 16:30:29 -0200 ActionController::RoutingError (No route matches [GET] "/post"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:30:31 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.2ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 16:30:36 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (1.2ms) Compiled application.css (1ms) (pid 26607) Compiled application.js (5ms) (pid 26607) Compiled jquery.js (14ms) (pid 26607) Compiled jquery_ujs.js (0ms) (pid 26607) Completed 200 OK in 127ms (Views: 125.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:36 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:36 -0200 Served asset /jquery.js - 304 Not Modified (29ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:30:36 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:36 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/categories/new" for 127.0.0.1 at 2011-12-31 16:30:38 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (8.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (13.1ms) Completed 200 OK in 20ms (Views: 18.6ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:30:38 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:38 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 16:30:41 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>"rubymine"}, "commit"=>"Create Category"} SQL (6.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 31 Dec 2011 18:30:41 UTC +00:00], ["name", "rubymine"], ["updated_at", Sat, 31 Dec 2011 18:30:41 UTC +00:00]] Redirected to http://localhost:3000/categories/1 Completed 302 Found in 124ms Started GET "/categories/1" for 127.0.0.1 at 2011-12-31 16:30:41 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (24.7ms) Completed 200 OK in 35ms (Views: 31.7ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:30:41 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:41 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 16:30:42 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (6.2ms) Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:30:42 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:42 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:42 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:30:42 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:30:47 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:31:15 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (130.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (131.8ms) Completed 500 Internal Server Error in 153ms ActionView::Template::Error (undefined method `indexpage' for #): 13: 14:
15: <%= f.label :indexpage %>
16: <%= f.check_box :indexpage %> 17:
18:
19: <%= f.label :title %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:32:50 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (86.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (88.1ms) Completed 200 OK in 108ms (Views: 93.9ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:32:50 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:32:50 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:32:50 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:32:50 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 16:33:10 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"18", "date(5i)"=>"32", "content"=>"ljljljalsjdlajsldajsldjaldjlajlajlaslal", "category"=>"1"}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 18ms NoMethodError (undefined method `each' for "1":String): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.3ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 16:33:41 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"18", "date(5i)"=>"32", "content"=>"ljljljalsjdlajsldajsldjaldjlajlajlaslal", "category"=>"1"}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 500 Internal Server Error in 40ms NoMethodError (undefined method `each' for "1":String): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:33:44 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.9ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:33:45 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Started GET "/post" for 127.0.0.1 at 2011-12-31 16:33:48 -0200 ActionController::RoutingError (No route matches [GET] "/post"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:33:49 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 13ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:33:54 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (21.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (22.3ms) Completed 200 OK in 37ms (Views: 27.7ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:33:55 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:33:55 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:33:55 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:33:55 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 16:34:02 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"0", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"18", "date(5i)"=>"33", "content"=>"jdjaljlakjjldjalkdjdklajdldsdaada", "category_id"=>"1"}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  SQL (0.5ms) INSERT INTO "posts" ("category_id", "content", "created_at", "date", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["category_id", 1], ["content", "jdjaljlakjjldjalkdjdklajdldsdaada"], ["created_at", Sat, 31 Dec 2011 18:34:02 UTC +00:00], ["date", Sat, 31 Dec 2011 18:33:00 UTC +00:00], ["published", false], ["title", "Ford Mondeo desfila camuflado antes de Detroit"], ["updated_at", Sat, 31 Dec 2011 18:34:02 UTC +00:00]] Redirected to http://localhost:3000/posts/1 Completed 302 Found in 149ms Started GET "/posts/1" for 127.0.0.1 at 2011-12-31 16:34:02 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.7ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `indexpage' for #): 2: 3:

4: Indexpage: 5: <%= @post.indexpage %> 6:

7: 8:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/posts/1" for 127.0.0.1 at 2011-12-31 16:34:32 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Category Load (0.3ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 SQLite3::SQLException: no such table: categories_posts: SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (67.8ms) Completed 500 Internal Server Error in 83ms ActionView::Template::Error (SQLite3::SQLException: no such table: categories_posts: SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1): 22: 23:

24: Category: 25: <%= @post.category %> 26:

27: 28: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.4ms) Started GET "/posts/1" for 127.0.0.1 at 2011-12-31 16:38:38 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Category Load (0.3ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 SQLite3::SQLException: no such table: categories_posts: SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (10.4ms) Completed 500 Internal Server Error in 48ms ActionView::Template::Error (SQLite3::SQLException: no such table: categories_posts: SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1): 22: 23:

24: Category: 25: <%= @post.category %> 26:

27: 28: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateCategories (20111231175637) Migrating to CreatePosts (20111231181111) Migrating to AddCategoriesToPost (20111231183528)  (0.1ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateCategories (20111231175637) Migrating to CreatePosts (20111231181111) Migrating to AddCategoriesToPost (20111231183528)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "categories_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231183528')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("categories_posts")  (0.0ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_info('index_posts_on_category_id') Started GET "/posts/1" for 127.0.0.1 at 2011-12-31 16:39:18 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Category Load (0.4ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 SQLite3::SQLException: no such column: categories_posts.category_id: SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (35.2ms) Completed 500 Internal Server Error in 51ms ActionView::Template::Error (SQLite3::SQLException: no such column: categories_posts.category_id: SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1): 22: 23:

24: Category: 25: <%= @post.category %> 26:

27: 28: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/posts/" for 127.0.0.1 at 2011-12-31 16:39:20 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.3ms) Started GET "/posts/" for 127.0.0.1 at 2011-12-31 16:39:23 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 34ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.2ms) Started GET "/posts/1" for 127.0.0.1 at 2011-12-31 16:39:25 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 SQLite3::SQLException: no such column: categories_posts.category_id: SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (10.5ms) Completed 500 Internal Server Error in 27ms ActionView::Template::Error (SQLite3::SQLException: no such column: categories_posts.category_id: SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1): 22: 23:

24: Category: 25: <%= @post.category %> 26:

27: 28: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to AddCategoriesToPost (20111231183528)  (0.0ms) select sqlite_version(*)  (0.4ms) DROP TABLE "categories_posts"  (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231183528'  (0.4ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("categories")  (0.3ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_info('index_posts_on_category_id')  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20111231181111)  (0.0ms) select sqlite_version(*)  (0.1ms) PRAGMA index_list("posts")  (0.0ms) PRAGMA index_info('index_posts_on_category_id')  (0.4ms) DROP INDEX "index_posts_on_category_id"  (0.2ms) DROP TABLE "posts"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231181111'  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("categories")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateCategories (20111231175637)  (0.0ms) select sqlite_version(*)  (0.5ms) DROP TABLE "categories"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231175637'  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateCategories (20111231175637)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231175637') Migrating to CreatePosts (20111231181111)  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "title" varchar(255), "excerpt" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231181111') Migrating to CreateCategoriesPosts (20111231183528)  (0.3ms) CREATE TABLE "categories_posts" ("post_id" integer NOT NULL, "category_id" integer NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231183528')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("categories_posts")  (0.0ms) PRAGMA index_list("posts") Started GET "/posts/1" for 127.0.0.1 at 2011-12-31 16:49:37 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 10ms ActiveRecord::RecordNotFound (Couldn't find Post with id=1): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.9ms) Started GET "/posts/" for 127.0.0.1 at 2011-12-31 16:49:39 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (27.1ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:49:42 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories" Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:49:47 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 31ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:50:04 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 500 Internal Server Error in 11ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:50:06 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 32ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.3ms) Started GET "/" for 127.0.0.1 at 2011-12-31 16:50:08 -0200 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:50:13 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `call' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.5ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:50:31 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 16ms (Views: 7.0ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:50:31 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:50:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:50:31 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:50:31 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:50:34 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (9.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (10.8ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `date' for #): 21:
22:
23: <%= f.label :date %>
24: <%= f.datetime_select :date %> 25:
26:
27: <%= f.label :content %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.6ms)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateCategoriesPosts (20111231183528)  (0.0ms) select sqlite_version(*)  (0.4ms) DROP TABLE "categories_posts"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231183528'  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("posts")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20111231181111)  (0.0ms) select sqlite_version(*)  (0.4ms) DROP TABLE "posts"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231181111'  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("categories")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateCategories (20111231175637) Migrating to CreatePosts (20111231181111)  (0.1ms) select sqlite_version(*)  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "title" varchar(255), "excerpt" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231181111') Migrating to CreateCategoriesPosts (20111231183528)  (0.3ms) CREATE TABLE "categories_posts" ("post_id" integer NOT NULL, "category_id" integer NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231183528')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("categories_posts")  (0.0ms) PRAGMA index_list("posts")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateCategoriesPosts (20111231183528)  (0.1ms) select sqlite_version(*)  (0.4ms) DROP TABLE "categories_posts"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231183528'  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("posts")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20111231181111)  (0.1ms) select sqlite_version(*)  (0.4ms) DROP TABLE "posts"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231181111'  (0.4ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) PRAGMA index_list("categories")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateCategories (20111231175637)  (0.0ms) select sqlite_version(*)  (0.4ms) DROP TABLE "categories"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231175637'  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateCategories (20111231175637)  (0.1ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231175637') Migrating to CreatePosts (20111231181111)  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "date" datetime, "title" varchar(255), "excerpt" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231181111') Migrating to CreateCategoriesPosts (20111231183528)  (0.4ms) CREATE TABLE "categories_posts" ("post_id" integer NOT NULL, "category_id" integer NOT NULL)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231183528')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("categories_posts")  (0.0ms) PRAGMA index_list("posts") Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:52:30 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 17ms (Views: 6.8ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:52:30 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:52:30 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:52:31 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:52:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:52:32 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (40.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (41.3ms) Completed 500 Internal Server Error in 55ms ActionView::Template::Error (undefined method `content' for #): 25:
26:
27: <%= f.label :content %>
28: <%= f.text_area :content %> 29:
30:
31: <%= f.label :category %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:52:59 -0200 Processing by PostsController#new as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (18.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (19.1ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (undefined method `content' for #): 25:
26:
27: <%= f.label :content %>
28: <%= f.text_area :content %> 29:
30:
31: <%= f.label :category_id %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:53:44 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (16.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (17.4ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (undefined method `category_id' for #): 29:
30:
31: <%= f.label :category %>
32: <%= f.collection_select :category_id, @categories, :id, :name %> 33:
34:
35: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:54:02 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (16.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (18.0ms) Completed 200 OK in 33ms (Views: 23.4ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:54:03 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:54:03 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:54:03 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:54:03 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:58:54 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 18:58:54.710908') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (2.0ms) Completed 200 OK in 39ms (Views: 30.7ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:58:54 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:58:54 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:58:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:58:54 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:59:04 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (16.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (17.5ms) Completed 200 OK in 31ms (Views: 22.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:59:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:04 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 16:59:19 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"0", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"18", "date(5i)"=>"59", "body"=>"foerrerjfsdjflsdkjlkjkjlkjkj ljljljljljljljjljlj ljljljljl"}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  SQL (0.7ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "foerrerjfsdjflsdkjlkjkjlkjkj ljljljljljljljjljlj ljljljljl"], ["created_at", Sat, 31 Dec 2011 18:59:19 UTC +00:00], ["date", Sat, 31 Dec 2011 18:59:00 UTC +00:00], ["excerpt", nil], ["published", false], ["title", "Ford Mondeo desfila camuflado antes de Detroit"], ["updated_at", Sat, 31 Dec 2011 18:59:19 UTC +00:00]] Redirected to http://localhost:3000/posts/1 Completed 302 Found in 121ms Started GET "/posts/1" for 127.0.0.1 at 2011-12-31 16:59:19 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.0ms) Completed 500 Internal Server Error in 23ms ActionView::Template::Error (undefined method `content' for #): 17: 18:

19: Content: 20: <%= @post.content %> 21:

22: 23:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (27.8ms) Started GET "/posts/1" for 127.0.0.1 at 2011-12-31 16:59:42 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (12.8ms) Completed 200 OK in 28ms (Views: 18.1ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:59:42 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:42 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:42 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:42 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:59:44 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 18:59:44.920930') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (1.6ms) Completed 200 OK in 16ms (Views: 7.6ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:44 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:59:44 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:44 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:44 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 16:59:47 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (17.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (18.2ms) Completed 200 OK in 32ms (Views: 23.6ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:59:47 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:47 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 16:59:57 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"18", "date(5i)"=>"59", "body"=>"sdasLJSLAJlsjLnmsLJslJSLsjsjSJLSKJlsjASKLJAslkjKLSJASLJslasjls"}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  SQL (1.0ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "sdasLJSLAJlsjLnmsLJslJSLsjsjSJLSKJlsjASKLJAslkjKLSJASLJslasjls"], ["created_at", Sat, 31 Dec 2011 18:59:57 UTC +00:00], ["date", Sat, 31 Dec 2011 18:59:00 UTC +00:00], ["excerpt", nil], ["published", true], ["title", "Ford Mondeo desfila camuflado antes de Detroit"], ["updated_at", Sat, 31 Dec 2011 18:59:57 UTC +00:00]] Redirected to http://localhost:3000/posts/2 Completed 302 Found in 109ms Started GET "/posts/2" for 127.0.0.1 at 2011-12-31 16:59:57 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2"} Category Load (0.2ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (12.4ms) Completed 200 OK in 51ms (Views: 17.6ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 16:59:57 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:57 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:57 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 16:59:57 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 16:59:58 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 18:59:58.796019') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (10.2ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `indexpage' for #): 14: 15: <% @posts.each do |post| %> 16: 17: <%= post.indexpage %> 18: <%= post.title %> 19: <%= post.date %> 20: <%= post.content %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:00:20 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:00:21.015676') Category Load (0.1ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (14.5ms) Completed 200 OK in 30ms (Views: 19.8ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:00:21 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:00:21 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:00:21 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:00:21 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:02:23 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:02:23.331769') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.5ms) Completed 200 OK in 32ms (Views: 22.4ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:02:23 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:23 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:23 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:23 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/2" for 127.0.0.1 at 2011-12-31 17:02:38 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (36.6ms) Completed 200 OK in 54ms (Views: 42.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:02:38 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:38 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:02:40 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:02:40.244143') Category Load (0.1ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (14.2ms) Completed 200 OK in 28ms (Views: 18.6ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:02:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:02:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:03:05 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:03:05.063503') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (15.4ms) Completed 200 OK in 29ms (Views: 20.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:03:05 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:03:05 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:03:05 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:03:05 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:03:35 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:03:35.626478') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (15.4ms) Completed 200 OK in 54ms (Views: 19.9ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:03:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:03:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:03:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:03:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:06:21 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:06:21.938826') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (37.3ms) Completed 200 OK in 54ms (Views: 44.1ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:21 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:22 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:22 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:22 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:06:24 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (16.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (17.9ms) Completed 200 OK in 33ms (Views: 23.6ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:24 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:24 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:24 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:24 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 17:06:30 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (0.6ms) Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:30 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:30 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:30 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:30 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2011-12-31 17:06:32 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (6.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (7.5ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:32 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:32 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:32 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:32 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 17:06:38 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>"rails"}, "commit"=>"Create Category"} SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 31 Dec 2011 19:06:38 UTC +00:00], ["name", "rails"], ["updated_at", Sat, 31 Dec 2011 19:06:38 UTC +00:00]] Redirected to http://localhost:3000/categories/1 Completed 302 Found in 239ms Started GET "/categories/1" for 127.0.0.1 at 2011-12-31 17:06:39 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (4.7ms) Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 17:06:40 -0200 Processing by CategoriesController#index as HTML Category Load (0.3ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (6.5ms) Completed 200 OK in 15ms (Views: 12.5ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2011-12-31 17:06:41 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (7.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (8.6ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:42 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:42 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:42 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:42 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 17:06:45 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>"ruby"}, "commit"=>"Create Category"} SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 31 Dec 2011 19:06:45 UTC +00:00], ["name", "ruby"], ["updated_at", Sat, 31 Dec 2011 19:06:45 UTC +00:00]] Redirected to http://localhost:3000/categories/2 Completed 302 Found in 179ms Started GET "/categories/2" for 127.0.0.1 at 2011-12-31 17:06:45 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (4.8ms) Completed 200 OK in 37ms (Views: 34.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:45 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:45 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:45 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:45 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 17:06:46 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (7.7ms) Completed 200 OK in 16ms (Views: 13.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:47 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:47 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2011-12-31 17:06:48 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (6.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (8.0ms) Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:48 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:48 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:48 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:48 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 17:06:53 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>"internet"}, "commit"=>"Create Category"} SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 31 Dec 2011 19:06:53 UTC +00:00], ["name", "internet"], ["updated_at", Sat, 31 Dec 2011 19:06:53 UTC +00:00]] Redirected to http://localhost:3000/categories/3 Completed 302 Found in 408ms Started GET "/categories/3" for 127.0.0.1 at 2011-12-31 17:06:53 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"3"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (5.8ms) Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:53 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:53 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:53 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:53 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 17:06:54 -0200 Processing by CategoriesController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (9.8ms) Completed 200 OK in 18ms (Views: 15.6ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:54 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:54 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:54 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2011-12-31 17:06:56 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (6.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (7.8ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:06:56 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:56 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:56 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:06:56 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 17:07:00 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>"carros"}, "commit"=>"Create Category"} SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 31 Dec 2011 19:07:00 UTC +00:00], ["name", "carros"], ["updated_at", Sat, 31 Dec 2011 19:07:00 UTC +00:00]] Redirected to http://localhost:3000/categories/4 Completed 302 Found in 168ms Started GET "/categories/4" for 127.0.0.1 at 2011-12-31 17:07:00 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (4.9ms) Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:07:00 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:00 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:00 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:00 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 17:07:01 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (10.3ms) Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:01 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:01 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:01 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:07:01 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2011-12-31 17:07:02 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (8.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (10.4ms) Completed 200 OK in 17ms (Views: 15.6ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:07:03 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:03 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:03 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:03 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 17:07:08 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>"software"}, "commit"=>"Create Category"} SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 31 Dec 2011 19:07:08 UTC +00:00], ["name", "software"], ["updated_at", Sat, 31 Dec 2011 19:07:08 UTC +00:00]] Redirected to http://localhost:3000/categories/5 Completed 302 Found in 179ms Started GET "/categories/5" for 127.0.0.1 at 2011-12-31 17:07:08 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"5"} Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "5"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (4.9ms) Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:07:08 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:08 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:08 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:08 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 17:07:15 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (13.3ms) Completed 200 OK in 22ms (Views: 19.4ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:07:15 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:15 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:15 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:15 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/postsd" for 127.0.0.1 at 2011-12-31 17:07:20 -0200 ActionController::RoutingError (No route matches [GET] "/postsd"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:07:22 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:07:22.906288') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (14.4ms) Completed 200 OK in 30ms (Views: 19.9ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:07:22 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:22 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:22 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:22 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:07:27 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (45.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (46.3ms) Completed 200 OK in 61ms (Views: 51.2ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:07:27 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:27 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:27 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:07:27 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/" for 127.0.0.1 at 2011-12-31 17:15:27 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:15:27.563251') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (48.3ms) Completed 200 OK in 65ms (Views: 54.1ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:15:27 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:15:27 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:15:27 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:15:27 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:15:29 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 10ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:15:32 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 32ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:15:34 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 9ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:15:36 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 9ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:15:38 -0200 Processing by PostsController#index as Category Load (0.2ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 10ms Started GET "/" for 127.0.0.1 at 2011-12-31 17:17:37 -0200 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:17:41 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (30.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:17:41.243079') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (45.8ms) Completed 200 OK in 62ms (Views: 51.0ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:17:41 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:17:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:17:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:17:41 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:17:57 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (20.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (22.2ms) Completed 200 OK in 63ms (Views: 53.8ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:17:58 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:17:58 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:17:58 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:17:58 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:18:02 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:18:03.033272') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (21.8ms) Completed 200 OK in 37ms (Views: 26.5ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:18:03 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:18:03 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:18:03 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:18:03 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 17:19:39 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (14.7ms) Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:19:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2011-12-31 17:19:41 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (6.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (7.7ms) Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:19:41 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:41 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 17:19:44 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>"rails"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'rails' LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (3.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (5.1ms) Completed 200 OK in 50ms (Views: 10.9ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:19:45 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:45 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:45 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:45 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 17:19:52 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>"ruby"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'ruby' LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (2.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 18ms (Views: 10.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:19:52 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:52 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:52 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:52 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2011-12-31 17:19:55 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "category"=>{"name"=>""}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = '' LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (2.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (4.0ms) Completed 200 OK in 18ms (Views: 9.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:19:55 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:55 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:55 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:55 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2011-12-31 17:19:57 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (14.2ms) Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:19:57 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:57 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:57 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:19:57 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2011-12-31 17:21:24 -0200 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:21:28 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:21:28.740960') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (173.2ms) Completed 200 OK in 191ms (Views: 179.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:21:28 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:28 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:28 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:28 -0200 Served asset /application.js - 304 Not Modified (0ms) Started DELETE "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:21:34 -0200 Processing by PostsController#destroy as HTML Parameters: {"authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.2ms) SELECT "categories".* FROM "categories"  Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 SQL (0.2ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 2]] Redirected to http://localhost:3000/posts Completed 302 Found in 184ms Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:21:34 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (7.3ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:21:34.506325') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (9.9ms) Completed 200 OK in 32ms (Views: 15.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:21:34 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:34 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:34 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:34 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:21:37 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (22.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (24.5ms) Completed 200 OK in 41ms (Views: 29.7ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:21:37 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:37 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:37 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:21:37 -0200 Served asset /application.js - 304 Not Modified (2ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:22:56 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (23.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (24.4ms) Completed 200 OK in 71ms (Views: 30.2ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:22:56 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:22:56 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:22:56 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:22:56 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 17:23:36 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"0", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"22", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.\r\n\r\nO motor do novo sedã deve ser ECOBoost e usar a tecnologia ECOnetic, que faz dos carros da fabricante os não-híbridos mais eficientes do mercado europeu. A ECOnetic já estará disponível a partir de meados de 2012 no Focus e no Fiesta. Essa tecnologia faz parte da política da marca de reduzir em 30% as emissões e o consumo dos modelos até 2020.\r\n\r\nProvavelmente a Ford oferecerá toda sua linha de motores no Mondeo, entre eles a versão 1.6 e 2.0 turbocharged com 4 cilindros e capacidade de gerar até 253 cv. Na Europa, há a possibilidade de a fabricante oferecer uma versão híbrida, além de versões a diesel.\r\n\r\nO Mondeo 2013 é o primeiro da marca do oval azul a incorporar as linhas do Evos Concept (apresentado no Salão de Frankfurt em 2011), e, além do sedã, terá também variantes station wagon e notchback.", "category"=>"4"}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 20ms NoMethodError (undefined method `each' for "4":String): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:24:02 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (7.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:24:03.033969') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (9.2ms) Completed 200 OK in 32ms (Views: 15.8ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:24:03 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:24:03 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:24:03 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:24:03 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:24:07 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (19.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (20.4ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (undefined method `category_id' for #): 33:

34:
35: <%= f.label :category %>
36: <%= f.collection_select :category_id, @categories, :id, :name %> 37:
38:
39: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:24:24 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (51.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (51.9ms) Completed 500 Internal Server Error in 68ms ActionView::Template::Error (undefined method `category_id' for #): 33:
34:
35: <%= f.label :category_id %>
36: <%= f.collection_select :category_id, @categories, :id, :name %> 37:
38:
39: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:24:47 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (23.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (24.4ms) Completed 200 OK in 41ms (Views: 30.3ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:24:47 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:24:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:24:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:24:47 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 17:25:33 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"24", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.\r\n", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.\r\nO motor do novo sedã deve ser ECOBoost e usar a tecnologia ECOnetic, que faz dos carros da fabricante os não-híbridos mais eficientes do mercado europeu. A ECOnetic já estará disponível a partir de meados de 2012 no Focus e no Fiesta. Essa tecnologia faz parte da política da marca de reduzir em 30% as emissões e o consumo dos modelos até 2020.\r\n\r\nProvavelmente a Ford oferecerá toda sua linha de motores no Mondeo, entre eles a versão 1.6 e 2.0 turbocharged com 4 cilindros e capacidade de gerar até 253 cv. Na Europa, há a possibilidade de a fabricante oferecer uma versão híbrida, além de versões a diesel.\r\n\r\nO Mondeo 2013 é o primeiro da marca do oval azul a incorporar as linhas do Evos Concept (apresentado no Salão de Frankfurt em 2011), e, além do sedã, terá também variantes station wagon e notchback.", "category"=>"1"}, "commit"=>"Create Post"} Category Load (0.2ms) SELECT "categories".* FROM "categories"  Completed 500 Internal Server Error in 20ms NoMethodError (undefined method `each' for "1":String): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.4ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:26:41 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.4ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:26:41.424271') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (8.4ms) Completed 200 OK in 26ms (Views: 13.6ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:26:41 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:41 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:26:44 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (17.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (19.0ms) Completed 200 OK in 36ms (Views: 24.6ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:26:44 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:44 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:44 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:44 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 17:26:54 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"0", "title"=>"", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"26", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"   (0.1ms) SELECT 1 FROM "posts" WHERE "posts"."title" = '' LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (10.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (11.5ms) Completed 200 OK in 40ms (Views: 17.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:26:54 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:54 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:26:54 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 17:27:00 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"0", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"26", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."}, "commit"=>"Create Post"} Category Load (0.2ms) SELECT "categories".* FROM "categories"   (0.1ms) SELECT 1 FROM "posts" WHERE "posts"."title" = 'Ford Mondeo desfila camuflado antes de Detroit' LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (10.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (11.5ms) Completed 200 OK in 40ms (Views: 17.4ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:00 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:00 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:27:00 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:00 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 17:27:10 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"0", "title"=>"Ford Mondeo desfila camuflado", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"26", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"   (0.2ms) SELECT 1 FROM "posts" WHERE "posts"."title" = 'Ford Mondeo desfila camuflado' LIMIT 1 SQL (0.5ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."], ["created_at", Sat, 31 Dec 2011 19:27:10 UTC +00:00], ["date", Sat, 31 Dec 2011 19:26:00 UTC +00:00], ["excerpt", "A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."], ["published", false], ["title", "Ford Mondeo desfila camuflado"], ["updated_at", Sat, 31 Dec 2011 19:27:10 UTC +00:00]] Redirected to http://localhost:3000/posts/3-ford-mondeo-desfila-camuflado Completed 302 Found in 170ms Started GET "/posts/3-ford-mondeo-desfila-camuflado" for 127.0.0.1 at 2011-12-31 17:27:10 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"3-ford-mondeo-desfila-camuflado"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "3-ford-mondeo-desfila-camuflado"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (14.7ms) Completed 200 OK in 36ms (Views: 22.0ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:27:10 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:10 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:10 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:10 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:27:12 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:27:12.297236') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (7.8ms) Completed 200 OK in 25ms (Views: 13.4ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:27:12 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:12 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:12 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:12 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:27:14 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 11ms Started GET "/posts/new" for 127.0.0.1 at 2011-12-31 17:27:17 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (17.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (19.0ms) Completed 200 OK in 37ms (Views: 24.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:27:17 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:17 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:17 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:17 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2011-12-31 17:27:32 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camufado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"27", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."}, "category"=>"1", "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"   (0.3ms) SELECT 1 FROM "posts" WHERE "posts"."title" = 'Ford Mondeo desfila camufado antes de Detroit' LIMIT 1 SQL (0.5ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."], ["created_at", Sat, 31 Dec 2011 19:27:32 UTC +00:00], ["date", Sat, 31 Dec 2011 19:27:00 UTC +00:00], ["excerpt", "A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."], ["published", true], ["title", "Ford Mondeo desfila camufado antes de Detroit"], ["updated_at", Sat, 31 Dec 2011 19:27:32 UTC +00:00]] Redirected to http://localhost:3000/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit Completed 302 Found in 203ms Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:27:33 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.1ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (12.1ms) Completed 200 OK in 31ms (Views: 17.9ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:27:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:27:52 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:27:52.489632') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (22.3ms) Completed 200 OK in 39ms (Views: 27.4ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:27:52 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:52 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:52 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:52 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:27:54 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (23.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (26.2ms) Completed 200 OK in 74ms (Views: 32.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:27:54 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:54 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:27:54 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:29:43 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.2ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (55.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (56.3ms) Completed 500 Internal Server Error in 73ms ActionView::Template::Error (undefined method `categories' for #): 33:
34:
    35: <%- @categories.each do |c| -%> 36:
  • <%= check_box_tag "post[category_ids][]", c.id, @post.categories.include?(c) %> <%= c.name %>
  • 37: <%- end -%> 38:
39:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:30:20 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (23.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (24.1ms) Completed 500 Internal Server Error in 41ms ActionView::Template::Error (undefined method `to_i' for []:ActiveRecord::Relation): 33:
34:
35: <%= f.label :category %>
36: <%= f.check_box :category %> 37:
38:
39: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:30:40 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.3ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (23.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (24.2ms) Completed 500 Internal Server Error in 41ms ActionView::Template::Error (undefined method `merge' for #): 33:
34:
35: <%= f.label :category %>
36: <%= f.check_box :category, @categories, :id, :name %> 37:
38:
39: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:31:00 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (27.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (29.5ms) Completed 200 OK in 49ms (Views: 34.9ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:31:00 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:00 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:00 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:00 -0200 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started PUT "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:31:05 -0200 Processing by PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camufado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"27", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "category"=>"4"}, "commit"=>"Update Post", "id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Completed 500 Internal Server Error in 21ms NoMethodError (undefined method `each' for "4":String): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.5ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:31:21 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (13.3ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:31:21.408567') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (60.2ms) Completed 200 OK in 78ms (Views: 65.6ms | ActiveRecord: 2.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:31:21 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:21 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:21 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:21 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:31:23 -0200 Processing by PostsController#index as Category Load (0.2ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 11ms Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:31:34 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (26.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (28.3ms) Completed 200 OK in 47ms (Views: 33.7ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:31:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:31:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:33:50 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (22.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (23.8ms) Completed 500 Internal Server Error in 70ms ActionView::Template::Error (undefined method `categories' for #): 33:
34:
    35: <%- @categories.each do |c| -%> 36:
  • <%= check_box_tag "post[category_ids][]", c.id, @post.categories.include?(c) %> <%= c.name %>
  • 37: <%- end -%> 38:
39:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/" for 127.0.0.1 at 2011-12-31 17:33:53 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (12.7ms) Completed 200 OK in 30ms (Views: 18.5ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:33:53 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:33:53 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:33:53 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:33:53 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:33:56 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (7.5ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:33:56.848731') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (25.7ms) Completed 200 OK in 45ms (Views: 32.1ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:33:56 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:33:56 -0200 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:33:56 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:33:56 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:34:04 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.2ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (12.3ms) Completed 200 OK in 31ms (Views: 18.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:34:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:34:04 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:34:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:34:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:34:06 -0200 Processing by PostsController#index as HTML Category Load (0.3ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (39.2ms) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:34:06.239233') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (56.0ms) Completed 200 OK in 74ms (Views: 60.7ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:34:06 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:34:06 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:34:06 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:34:06 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:35:50 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (7.5ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:35:50.721185') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (55.0ms) Completed 200 OK in 74ms (Views: 61.5ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:35:50 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:35:50 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:35:50 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:35:50 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:35:53 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] ERROR: compiling __home_phinfonet_projetos_pessoais_blogmodule_app_views_posts__form_html_erb__4002660474788257187_31070020 RAISED /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb:35: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.' ...fer.append= ( f.check_box, :id, @post.categories );@output_b... ... ^ Function body: def __home_phinfonet_projetos_pessoais_blogmodule_app_views_posts__form_html_erb__4002660474788257187_31070020(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "posts/_form";_old_output_buffer = @output_buffer;form = local_assigns[:form];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= form_for(@post) do |f| @output_buffer.safe_concat(' '); if @post.errors.any? @output_buffer.safe_concat('

');@output_buffer.append= ( pluralize(@post.errors.count, "error") );@output_buffer.safe_concat(' prohibited this post from being saved:

    '); @post.errors.full_messages.each do |msg| @output_buffer.safe_concat('
  • ');@output_buffer.append= ( msg );@output_buffer.safe_concat('
  • '); end @output_buffer.safe_concat('
'); end @output_buffer.safe_concat('
');@output_buffer.append= ( f.label :published );@output_buffer.safe_concat('
');@output_buffer.append= ( f.check_box :published );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.label :title );@output_buffer.safe_concat('
');@output_buffer.append= ( f.text_field :title );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.label :date );@output_buffer.safe_concat('
');@output_buffer.append= ( f.datetime_select :date );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.label :excerpt );@output_buffer.safe_concat('
');@output_buffer.append= ( f.text_area :excerpt );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.label :body );@output_buffer.safe_concat('
');@output_buffer.append= ( f.text_area :body );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
  • ');@output_buffer.append= ( f.check_box, :id, @post.categories );@output_buffer.safe_concat('
');@output_buffer.append= ( f.submit );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
'); end @output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `module_eval' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `compile' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:256:in `render_partial' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:228:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:227:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:219:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:41:in `render_partial' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/helpers/rendering_helper.rb:27:in `render' /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb:3:in `__home_phinfonet_projetos_pessoais_blogmodule_app_views_posts_edit_html_erb___772827270301762903_28450860' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:171:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:5:in `send_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:425:in `_run__3625710189634401740__process_action__817712969728170290__callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236:in `block in action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:89:in `optimized_each' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/etag.rb:23:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/conditionalget.rb:25:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195:in `context' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392:in `_run_call_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/sendfile.rb:101:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/logger.rb:13:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/methodoverride.rb:24:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/runtime.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/lock.rb:15:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/engine.rb:456:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/content_length.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (1.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (2.2ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (/home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb:35: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.' ...fer.append= ( f.check_box, :id, @post.categories );@output_b... ... ^): 32: <%= f.text_area :body %> 33:
34:
    35:
  • <%= f.check_box, :id, @post.categories %>
  • 36:
37:
38: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:36:12 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] ERROR: compiling __home_phinfonet_projetos_pessoais_blogmodule_app_views_posts__form_html_erb__4002660474788257187_16721200 RAISED /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb:35: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.' ...nd= ( f.collection_select, :id, @post.categories );@output_b... ... ^ Function body: def __home_phinfonet_projetos_pessoais_blogmodule_app_views_posts__form_html_erb__4002660474788257187_16721200(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "posts/_form";_old_output_buffer = @output_buffer;form = local_assigns[:form];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= form_for(@post) do |f| @output_buffer.safe_concat(' '); if @post.errors.any? @output_buffer.safe_concat('

');@output_buffer.append= ( pluralize(@post.errors.count, "error") );@output_buffer.safe_concat(' prohibited this post from being saved:

    '); @post.errors.full_messages.each do |msg| @output_buffer.safe_concat('
  • ');@output_buffer.append= ( msg );@output_buffer.safe_concat('
  • '); end @output_buffer.safe_concat('
'); end @output_buffer.safe_concat('
');@output_buffer.append= ( f.label :published );@output_buffer.safe_concat('
');@output_buffer.append= ( f.check_box :published );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.label :title );@output_buffer.safe_concat('
');@output_buffer.append= ( f.text_field :title );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.label :date );@output_buffer.safe_concat('
');@output_buffer.append= ( f.datetime_select :date );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.label :excerpt );@output_buffer.safe_concat('
');@output_buffer.append= ( f.text_area :excerpt );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.label :body );@output_buffer.safe_concat('
');@output_buffer.append= ( f.text_area :body );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
  • ');@output_buffer.append= ( f.collection_select, :id, @post.categories );@output_buffer.safe_concat('
');@output_buffer.append= ( f.submit );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
'); end @output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `module_eval' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `compile' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:256:in `render_partial' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:228:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:227:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:219:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:41:in `render_partial' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/helpers/rendering_helper.rb:27:in `render' /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb:3:in `__home_phinfonet_projetos_pessoais_blogmodule_app_views_posts_edit_html_erb___772827270301762903_28450860' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:171:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:5:in `send_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:425:in `_run__3625710189634401740__process_action__817712969728170290__callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236:in `block in action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:89:in `optimized_each' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/etag.rb:23:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/conditionalget.rb:25:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195:in `context' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392:in `_run_call_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/sendfile.rb:101:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/logger.rb:13:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/methodoverride.rb:24:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/runtime.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/lock.rb:15:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/engine.rb:456:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/content_length.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (1.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (1.9ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (/home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb:35: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.' ...nd= ( f.collection_select, :id, @post.categories );@output_b... ... ^): 32: <%= f.text_area :body %> 33:
34:
    35:
  • <%= f.collection_select, :id, @post.categories %>
  • 36:
37:
38: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:36:26 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (52.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (53.4ms) Completed 500 Internal Server Error in 71ms ActionView::Template::Error (undefined method `categories' for #): 32: <%= f.text_area :body %> 33:
34:
    35:
  • <%= f.collection_select :category, :id, @post.categories %>
  • 36:
37:
38: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.7ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:36:43 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (17.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (18.6ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (wrong number of arguments (3 for 4)): 32: <%= f.text_area :body %> 33:
34:
    35:
  • <%= f.collection_select :category, :id, :name %>
  • 36:
37:
38: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:42:57 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (77.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (77.9ms) Completed 500 Internal Server Error in 93ms ActionView::Template::Error (undefined local variable or method `categories' for #<#:0x000000030c85e8>): 32: <%= f.text_area :body %> 33:
34:
    35:
  • <%= f.collection_select :category_id, categories, :id, :name %>
  • 36:
37:
38: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:42:59 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.2ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (77.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (78.1ms) Completed 500 Internal Server Error in 94ms ActionView::Template::Error (undefined local variable or method `categories' for #<#:0x00000003b71788>): 32: <%= f.text_area :body %> 33:
34:
    35:
  • <%= f.collection_select :category_id, categories, :id, :name %>
  • 36:
37:
38: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:43:06 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.2ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (17.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (18.5ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `category_id' for #): 32: <%= f.text_area :body %> 33:
34:
    35:
  • <%= f.collection_select :category_id, @categories, :id, :name %>
  • 36:
37:
38: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:43:18 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (57.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (59.1ms) Completed 200 OK in 77ms (Views: 64.7ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:43:18 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:43:18 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:43:18 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:43:18 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started PUT "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:43:23 -0200 Processing by PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camufado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"27", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "category"=>"5"}, "commit"=>"Update Post", "id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Completed 500 Internal Server Error in 21ms NoMethodError (undefined method `each' for "5":String): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.1ms) Started PUT "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:43:54 -0200 Processing by PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camufado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"27", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "category"=>"5"}, "commit"=>"Update Post", "id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Completed 500 Internal Server Error in 24ms NoMethodError (undefined method `each' for "5":String): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.5ms) Started PUT "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:44:03 -0200 Processing by PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camufado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"27", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "category"=>"5"}, "commit"=>"Update Post", "id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Completed 500 Internal Server Error in 50ms NoMethodError (undefined method `each' for "5":String): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.6ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:44:11 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.1ms) SELECT "categories".id FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (24.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (27.1ms) Completed 200 OK in 46ms (Views: 33.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:44:11 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:11 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:11 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:11 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:44:25 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (22.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (23.7ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `post' for #): 32: <%= f.text_area :body %> 33:
34:
    35:
  • <%= f.collection_select :category_ids, @categories.post, :id, :name %>
  • 36:
37:
38: <%= f.submit %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:44:32 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".id FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (24.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (27.2ms) Completed 200 OK in 46ms (Views: 33.1ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:44:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:44:37 -0200 Processing by PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camufado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"27", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "category_ids"=>"1"}, "commit"=>"Update Post", "id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4  (0.2ms) INSERT INTO "categories_posts" ("post_id", "category_id") VALUES (4, 1)  (0.1ms) SELECT 1 FROM "posts" WHERE ("posts"."title" = 'Ford Mondeo desfila camufado antes de Detroit' AND "posts"."id" != 4) LIMIT 1 Redirected to http://localhost:3000/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit Completed 302 Found in 186ms Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:44:37 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (18.0ms) Completed 200 OK in 37ms (Views: 23.6ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:44:37 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:37 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:37 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:37 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:44:50 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.1ms) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:44:50.420818') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (23.2ms) Completed 200 OK in 41ms (Views: 28.4ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:44:50 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:50 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:50 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:44:50 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:44:52 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 11ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:44:55 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 11ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:44:58 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 38ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:45:00 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 11ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:45:02 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 39ms Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:45:29 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (7.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:45:29.427299') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (23.4ms) Completed 200 OK in 40ms (Views: 28.6ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:45:29 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:29 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:29 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:29 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:45:44 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.4ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:45:44.765863') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (22.0ms) Completed 200 OK in 38ms (Views: 27.1ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:45:44 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:44 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:44 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:44 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:45:49 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".id FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (26.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (28.9ms) Completed 200 OK in 79ms (Views: 34.4ms | ActiveRecord: 5.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:45:49 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:49 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:49 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:49 -0200 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:45:51 -0200 Processing by PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camufado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"27", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "category_ids"=>"1"}, "commit"=>"Update Post", "id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4  (0.1ms) SELECT 1 FROM "posts" WHERE ("posts"."title" = 'Ford Mondeo desfila camufado antes de Detroit' AND "posts"."id" != 4) LIMIT 1 Redirected to http://localhost:3000/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit Completed 302 Found in 66ms Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:45:52 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (11.0ms) Completed 200 OK in 29ms (Views: 17.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:45:52 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:52 -0200 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:52 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:52 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:45:54 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.1ms) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:45:54.157926') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (20.8ms) Completed 200 OK in 39ms (Views: 26.4ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:45:54 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:54 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:45:54 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:46:07 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (35.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:46:07.564521') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (54.0ms) Completed 200 OK in 72ms (Views: 59.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:46:07 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:46:07 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:46:07 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:46:07 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:46:13 -0200 Processing by PostsController#index as Category Load (0.2ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 10ms Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:47:38 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:47:38.175377') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (24.3ms) Completed 200 OK in 42ms (Views: 30.8ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:47:38 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:38 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:47:40 -0200 Processing by PostsController#index as Category Load (0.2ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 11ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:47:44 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 11ms Started GET "/posts.category" for 127.0.0.1 at 2011-12-31 17:47:46 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 10ms Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit/edit" for 127.0.0.1 at 2011-12-31 17:47:48 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.2ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".id FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (26.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (28.5ms) Completed 200 OK in 48ms (Views: 34.0ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:47:48 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:48 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:48 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:48 -0200 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:47:52 -0200 Processing by PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "post"=>{"published"=>"1", "title"=>"Ford Mondeo desfila camufado antes de Detroit", "date(1i)"=>"2011", "date(2i)"=>"12", "date(3i)"=>"31", "date(4i)"=>"19", "date(5i)"=>"27", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "category_ids"=>"5"}, "commit"=>"Update Post", "id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 5]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4  (0.2ms) DELETE FROM "categories_posts" WHERE "categories_posts"."post_id" = 4 AND "categories_posts"."category_id" IN (1)  (0.1ms) INSERT INTO "categories_posts" ("post_id", "category_id") VALUES (4, 5)  (0.1ms) SELECT 1 FROM "posts" WHERE ("posts"."title" = 'Ford Mondeo desfila camufado antes de Detroit' AND "posts"."id" != 4) LIMIT 1 Redirected to http://localhost:3000/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit Completed 302 Found in 136ms Started GET "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2011-12-31 17:47:53 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (10.7ms) Completed 200 OK in 29ms (Views: 16.6ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:47:53 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:53 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:53 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:53 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2011-12-31 17:47:56 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2011-12-31 19:47:56.258529') Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (22.7ms) Completed 200 OK in 41ms (Views: 28.4ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-12-31 17:47:56 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:56 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:56 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-31 17:47:56 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts.category" for 127.0.0.1 at 2012-01-01 13:15:32 -0200 Processing by PostsController#index as Category Load (0.2ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 82ms Started GET "/posts.category" for 127.0.0.1 at 2012-01-01 13:15:36 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 11ms Started GET "/posts.category" for 127.0.0.1 at 2012-01-01 13:15:39 -0200 Processing by PostsController#index as Category Load (0.2ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 12ms Started GET "/posts.category" for 127.0.0.1 at 2012-01-01 13:15:41 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 10ms Started GET "/posts.category" for 127.0.0.1 at 2012-01-01 13:15:43 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 31ms Started GET "/posts.category" for 127.0.0.1 at 2012-01-01 13:15:48 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories" Completed 406 Not Acceptable in 11ms Started GET "/posts.category" for 127.0.0.1 at 2012-01-01 13:17:59 -0200 Processing by PostsController#index as Category Load (0.1ms) SELECT "categories".* FROM "categories"  Completed 406 Not Acceptable in 31ms Started DELETE "/posts/4-ford-mondeo-desfila-camufado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 13:18:05 -0200 Processing by PostsController#destroy as HTML Parameters: {"authenticity_token"=>"X8wmJMCW+pTSaNRzMDxfuMRDSLKISAbNHn6vso4Ivao=", "id"=>"4-ford-mondeo-desfila-camufado-antes-de-detroit"} WARNING: Can't verify CSRF token authenticity Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "4-ford-mondeo-desfila-camufado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 4  (0.4ms) DELETE FROM "categories_posts" WHERE "categories_posts"."post_id" = 4 AND "categories_posts"."category_id" IN (5) SQL (0.2ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 4]] Redirected to http://localhost:3000/posts Completed 302 Found in 278ms Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:18:05 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.5ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:18:05.620012') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.2ms) Completed 200 OK in 181ms (Views: 171.0ms | ActiveRecord: 0.8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:18:05 -0200 Served asset /jquery.js - 304 Not Modified (23ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:18:05 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:18:05 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:18:05 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/posts/" for 127.0.0.1 at 2012-01-01 13:18:08 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:18:08.349868') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (7.9ms) Completed 200 OK in 24ms (Views: 13.5ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:18:08 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:18:08 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:18:08 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:18:08 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/1" for 127.0.0.1 at 2012-01-01 13:18:12 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 15:18:12.545570') LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms ActiveRecord::RecordNotFound (Couldn't find Post with id=1 [WHERE (published = 't' AND date < '2012-01-01 15:18:12.545570')]): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.0ms)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateCategoriesPosts (20111231183528)  (0.0ms) select sqlite_version(*)  (0.3ms) DROP TABLE "categories_posts"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231183528'  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("posts")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreatePosts (20111231181111)  (0.0ms) select sqlite_version(*)  (0.4ms) DROP TABLE "posts"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231181111'  (0.5ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("categories")  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateCategories (20111231175637)  (0.0ms) select sqlite_version(*)  (0.4ms) DROP TABLE "categories"  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20111231175637'  (0.2ms) select sqlite_version(*)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateCategories (20111231175637)  (0.0ms) select sqlite_version(*)  (0.4ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231175637') Migrating to CreatePosts (20111231181111)  (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "date" datetime, "title" varchar(255), "excerpt" varchar(255), "body" text, "created_at" datetime, "updated_at" datetime)   (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231181111') Migrating to CreateCategoriesPosts (20111231183528)  (0.3ms) CREATE TABLE "categories_posts" ("post_id" integer NOT NULL, "category_id" integer NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111231183528')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("categories_posts")  (0.0ms) PRAGMA index_list("posts") Started GET "/" for 127.0.0.1 at 2012-01-01 13:26:56 -0200 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts/" for 127.0.0.1 at 2012-01-01 13:26:59 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:26:59.911345') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (2.2ms) Completed 200 OK in 38ms (Views: 7.5ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:26:59 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:26:59 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:26:59 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:26:59 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/" for 127.0.0.1 at 2012-01-01 13:39:47 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.5ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:39:47.710713') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (2.5ms) Completed 200 OK in 17ms (Views: 7.6ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:47 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:39:47 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 13:39:54 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (1.2ms) Completed 200 OK in 25ms (Views: 23.8ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:39:54 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:54 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:54 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 13:39:56 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (8.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (24.9ms) Completed 200 OK in 31ms (Views: 29.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:39:56 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:56 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:56 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:39:56 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2012-01-01 13:40:00 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "category"=>{"name"=>"carros"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'carros' LIMIT 1 SQL (36.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 01 Jan 2012 15:40:01 UTC +00:00], ["name", "carros"], ["updated_at", Sun, 01 Jan 2012 15:40:01 UTC +00:00]] Redirected to http://localhost:3000/categories/1 Completed 302 Found in 353ms Started GET "/categories/1" for 127.0.0.1 at 2012-01-01 13:40:01 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (5.1ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:40:01 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:01 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:01 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:01 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 13:40:03 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:40:03 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:03 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:03 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:03 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:40:09 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.3ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:40:09.769535') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.4ms) Completed 200 OK in 22ms (Views: 11.4ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:40:09 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:09 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:09 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:40:09 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:42:34 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:42:34.230807') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.7ms) Completed 200 OK in 21ms (Views: 11.8ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:42:34 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:42:34 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:42:34 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:42:34 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:42:36 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (31.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (32.9ms) Completed 500 Internal Server Error in 67ms ActionView::Template::Error (undefined method `categories' for #): 12: <% end %> 13:
    14: <%- @categories.each do |c| -%> 15:
  • <%= check_box_tag "post[category_ids][]", c.id, @post.categories.include?(c) %> <%= c.name %>
  • 16: <%- end -%> 17:
18:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:43:08 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (14.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (14.6ms) Completed 500 Internal Server Error in 28ms ActionView::Template::Error (undefined method `categories' for #): 12: <% end %> 13:
    14: <% @categories.each do |c| %> 15:
  • <%= check_box_tag "post[category_ids][]", c.id, @post.categories.include?(c) %> 16: <%= c.name %>
  • 17: <%- end -%> 18:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:43:53 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (13.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (14.1ms) Completed 500 Internal Server Error in 49ms ActionView::Template::Error (undefined method `categories' for #): 12: <% end %> 13:
    14: <% @categories.each do |c| %> 15:
  • <%= check_box_tag "post[category_ids][]", c.id, @post.categories.include?(c) %> 16: <%= c.name %>
  • 17: <%- end -%> 18:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:43:58 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (35.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (36.1ms) Completed 500 Internal Server Error in 49ms ActionView::Template::Error (undefined method `categories' for #): 12: <% end %> 13:
    14: <% @categories.each do |c| %> 15:
  • <%= check_box_tag "post[category_ids][]", c.id, @post.categories.include?(c) %> 16: <%= c.name %>
  • 17: <%- end -%> 18:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:46:39 -0200 ActionController::RoutingError (undefined local variable or method `uniqueness' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:47:15 -0200 ArgumentError (Unknown validator: 'PostValidator'): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.7ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:47:27 -0200 ArgumentError (Unknown validator: 'PostValidator'): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:48:12 -0200 ArgumentError (Unknown validator: 'PostValidator'): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:48:37 -0200 ArgumentError (Unknown validator: 'PostValidator'): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:48:40 -0200 ArgumentError (Unknown validator: 'PostValidator'): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.5ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:48:45 -0200 ArgumentError (Unknown validator: 'PostValidator'): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.1ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:49:20 -0200 ArgumentError (Unknown validator: 'PostValidator'): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.1ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:49:44 -0200 Processing by PostsController#index as HTML Completed 500 Internal Server Error in 6ms ArgumentError (Unknown validator: 'CategoryValidator'): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.3ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:49:54 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.3ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:49:54.488956') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.2ms) Completed 200 OK in 21ms (Views: 11.4ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:49:54 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:49:54 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:49:54 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:49:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=1" for 127.0.0.1 at 2012-01-01 13:49:56 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 14ms NoMethodError (undefined method `posts' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.5ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 13:50:07 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (28.1ms) Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:07 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:07 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:07 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:07 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started DELETE "/categories/1" for 127.0.0.1 at 2012-01-01 13:50:10 -0200 Processing by CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]] Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 1 SQL (0.2ms) DELETE FROM "categories" WHERE "categories"."id" = ? [["id", 1]] Redirected to http://localhost:3000/categories Completed 302 Found in 139ms Started GET "/categories" for 127.0.0.1 at 2012-01-01 13:50:10 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (0.9ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:11 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:11 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:11 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:11 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:50:16 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:50:16.234061') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (2.1ms) Completed 200 OK in 17ms (Views: 7.7ms | ActiveRecord: 0.6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:16 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:16 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:16 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:16 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:50:18 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (29.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (31.2ms) Completed 200 OK in 76ms (Views: 43.2ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:18 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:18 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:18 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:18 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 13:50:27 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (1.3ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:27 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:27 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:27 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:27 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 13:50:29 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (6.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (7.8ms) Completed 200 OK in 37ms (Views: 35.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:29 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:29 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:29 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:29 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2012-01-01 13:50:32 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "category"=>{"name"=>"carros"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'carros' LIMIT 1 SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 01 Jan 2012 15:50:32 UTC +00:00], ["name", "carros"], ["updated_at", Sun, 01 Jan 2012 15:50:32 UTC +00:00]] Redirected to http://localhost:3000/categories/2 Completed 302 Found in 133ms Started GET "/categories/2" for 127.0.0.1 at 2012-01-01 13:50:32 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"2"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (4.8ms) Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:32 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:32 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:32 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:32 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 13:50:33 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:50:39 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.3ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:50:39.584194') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.4ms) Completed 200 OK in 21ms (Views: 11.4ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:50:41 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"   (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 2 LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (22.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (23.6ms) Completed 200 OK in 38ms (Views: 28.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:50:41 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:50:41 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2012-01-01 13:51:13 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "post"=>{"category_ids"=>["2"], "published"=>"1", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2012", "date(2i)"=>"1", "date(3i)"=>"1", "date(4i)"=>"15", "date(5i)"=>"50", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.\r\n\r\nO motor do novo sedã deve ser ECOBoost e usar a tecnologia ECOnetic, que faz dos carros da fabricante os não-híbridos mais eficientes do mercado europeu. A ECOnetic já estará disponível a partir de meados de 2012 no Focus e no Fiesta. Essa tecnologia faz parte da política da marca de reduzir em 30% as emissões e o consumo dos modelos até 2020.\r\n\r\nProvavelmente a Ford oferecerá toda sua linha de motores no Mondeo, entre eles a versão 1.6 e 2.0 turbocharged com 4 cilindros e capacidade de gerar até 253 cv. Na Europa, há a possibilidade de a fabricante oferecer uma versão híbrida, além de versões a diesel.\r\n\r\nO Mondeo 2013 é o primeiro da marca do oval azul a incorporar as linhas do Evos Concept (apresentado no Salão de Frankfurt em 2011), e, além do sedã, terá também variantes station wagon e notchback."}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT 1 FROM "posts" WHERE "posts"."title" = 'Ford Mondeo desfila camuflado antes de Detroit' LIMIT 1 SQL (0.7ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.\r\n\r\nO motor do novo sedã deve ser ECOBoost e usar a tecnologia ECOnetic, que faz dos carros da fabricante os não-híbridos mais eficientes do mercado europeu. A ECOnetic já estará disponível a partir de meados de 2012 no Focus e no Fiesta. Essa tecnologia faz parte da política da marca de reduzir em 30% as emissões e o consumo dos modelos até 2020.\r\n\r\nProvavelmente a Ford oferecerá toda sua linha de motores no Mondeo, entre eles a versão 1.6 e 2.0 turbocharged com 4 cilindros e capacidade de gerar até 253 cv. Na Europa, há a possibilidade de a fabricante oferecer uma versão híbrida, além de versões a diesel.\r\n\r\nO Mondeo 2013 é o primeiro da marca do oval azul a incorporar as linhas do Evos Concept (apresentado no Salão de Frankfurt em 2011), e, além do sedã, terá também variantes station wagon e notchback."], ["created_at", Sun, 01 Jan 2012 15:51:13 UTC +00:00], ["date", Sun, 01 Jan 2012 15:50:00 UTC +00:00], ["excerpt", "A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."], ["published", true], ["title", "Ford Mondeo desfila camuflado antes de Detroit"], ["updated_at", Sun, 01 Jan 2012 15:51:13 UTC +00:00]]  (0.1ms) INSERT INTO "categories_posts" ("post_id", "category_id") VALUES (1, 2) Redirected to http://localhost:3000/posts/1-ford-mondeo-desfila-camuflado-antes-de-detroit Completed 302 Found in 312ms Started GET "/posts/1-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 13:51:13 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 15:51:13.757511') LIMIT 1 [["id", "1-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (31.5ms) Completed 500 Internal Server Error in 46ms ActionView::Template::Error (undefined method `category' for #): 22: 23:

24: Category: 25: <%= @post.category.name %> 26:

27: 28: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/posts/1-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 13:51:45 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 15:51:45.627062') LIMIT 1 [["id", "1-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.1ms) Completed 500 Internal Server Error in 25ms ActionView::Template::Error (undefined method `category' for #): 22: 23:

24: Category: 25: <%= @post.category.name %> 26:

27: 28: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Started GET "/posts/1-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 13:52:08 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 15:52:08.076075') LIMIT 1 [["id", "1-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.0ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `category' for #): 22: 23:

24: Category: 25: <%= @post.category %> 26:

27: 28: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/posts/1-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 13:52:39 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"1-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 15:52:40.045187') LIMIT 1 [["id", "1-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.1ms) Completed 200 OK in 26ms (Views: 14.6ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:52:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:52:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:52:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:52:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:52:42 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.4ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:52:42.488871') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (43.6ms) Completed 500 Internal Server Error in 57ms ActionView::Template::Error (undefined method `category' for #): 7:

<%= post.title %>

8:

<%= post.date %>

9:

<%= post.body %>

10: <%= post.category %> 11:
12: <%= link_to 'Show', post %> 13: <%= link_to 'Edit', edit_post_path(post) %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:52:57 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:52:57.446097') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (18.5ms) Completed 200 OK in 35ms (Views: 23.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:52:57 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:52:57 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:52:57 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:52:57 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 13:52:59 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 15ms NoMethodError (undefined method `posts' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 13:53:23 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 42ms NoMethodError (undefined method `posts' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.3ms) Started GET "/posts?category_id=1" for 127.0.0.1 at 2012-01-01 13:53:27 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms ActiveRecord::RecordNotFound (Couldn't find Category with id=1): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.1ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:53:31 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:53:31.189262') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.6ms) Completed 200 OK in 33ms (Views: 22.9ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:53:31 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:53:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:53:31 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:53:31 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 13:53:32 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 15ms NoMethodError (undefined method `posts' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (28.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (31.9ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 13:56:18 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 15:56:18.851820') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.1ms) Completed 200 OK in 32ms (Views: 21.9ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 13:56:18 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 13:56:18 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 13:56:18 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 13:56:18 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 13:56:20 -0200 Processing by PostsController#new as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (14.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (14.7ms) Completed 500 Internal Server Error in 28ms ActionView::Template::Error (undefined method `categories' for nil:NilClass): 12: <% end %> 13:
    14: <% @categories.each do |c| %> 15:
  • <%= check_box_tag "post[category_ids][]", c.id, @posts.categories.include?(c) %> 16: <%= c.name %>
  • 17: <%- end -%> 18:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 13:56:28 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 42ms NoMethodError (undefined method `posts' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.5ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:08:08 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 14ms NoMethodError (undefined method `posts' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.4ms) Started GET "/posts?category_id=1" for 127.0.0.1 at 2012-01-01 14:19:30 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"1"} Category Load (0.2ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms ActiveRecord::RecordNotFound (Couldn't find Category with id=1): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.2ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:19:34 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Completed 500 Internal Server Error in 39ms NoMethodError (undefined method `posts' for #): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.3ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:19:39 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:19:39.845487') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (146.9ms) Completed 200 OK in 231ms (Views: 221.3ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:40 -0200 Served asset /jquery.js - 304 Not Modified (3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/images/bullet.png" for 127.0.0.1 at 2012-01-01 14:19:40 -0200 ActionController::RoutingError (No route matches [GET] "/images/bullet.png"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:19:45 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:19:45.086684') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.9ms) Completed 200 OK in 55ms (Views: 22.0ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:19:45 -0200 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:45 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:45 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:45 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:19:46 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:19:46.563491') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (44.1ms) Completed 200 OK in 59ms (Views: 49.1ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:19:46 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:46 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:46 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:19:46 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:22:21 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.3ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:22:21.552730') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.8ms) Completed 200 OK in 32ms (Views: 21.6ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:21 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:22:21 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:21 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:21 -0200 Served asset /application.js - 304 Not Modified (0ms) Started DELETE "/posts/1-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 14:22:24 -0200 Processing by PostsController#destroy as HTML Parameters: {"authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "id"=>"1-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 1  (0.4ms) DELETE FROM "categories_posts" WHERE "categories_posts"."post_id" = 1 AND "categories_posts"."category_id" IN (2) SQL (0.2ms) DELETE FROM "posts" WHERE "posts"."id" = ? [["id", 1]] Redirected to http://localhost:3000/posts Completed 302 Found in 248ms Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:22:25 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:22:25.135914') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (7.0ms) Completed 200 OK in 48ms (Views: 13.6ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:22:25 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:25 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:25 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:25 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:22:26 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.2ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (5.5ms) Completed 200 OK in 25ms (Views: 10.3ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:22:26 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:26 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:26 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:26 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:22:29 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (5.3ms) Completed 200 OK in 25ms (Views: 10.1ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:22:30 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:30 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:30 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:30 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 14:22:32 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  (0.2ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 2 LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (38.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (40.1ms) Completed 200 OK in 81ms (Views: 44.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:22:32 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:32 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:32 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:32 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2012-01-01 14:22:54 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "post"=>{"category_ids"=>["2"], "published"=>"1", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2012", "date(2i)"=>"1", "date(3i)"=>"1", "date(4i)"=>"16", "date(5i)"=>"22", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.\r\n\r\nO motor do novo sedã deve ser ECOBoost e usar a tecnologia ECOnetic, que faz dos carros da fabricante os não-híbridos mais eficientes do mercado europeu. A ECOnetic já estará disponível a partir de meados de 2012 no Focus e no Fiesta. Essa tecnologia faz parte da política da marca de reduzir em 30% as emissões e o consumo dos modelos até 2020.\r\n\r\nProvavelmente a Ford oferecerá toda sua linha de motores no Mondeo, entre eles a versão 1.6 e 2.0 turbocharged com 4 cilindros e capacidade de gerar até 253 cv. Na Europa, há a possibilidade de a fabricante oferecer uma versão híbrida, além de versões a diesel.\r\n\r\nO Mondeo 2013 é o primeiro da marca do oval azul a incorporar as linhas do Evos Concept (apresentado no Salão de Frankfurt em 2011), e, além do sedã, terá também variantes station wagon e notchback."}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT 1 FROM "posts" WHERE "posts"."title" = 'Ford Mondeo desfila camuflado antes de Detroit' LIMIT 1 SQL (0.5ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.\r\n\r\nO motor do novo sedã deve ser ECOBoost e usar a tecnologia ECOnetic, que faz dos carros da fabricante os não-híbridos mais eficientes do mercado europeu. A ECOnetic já estará disponível a partir de meados de 2012 no Focus e no Fiesta. Essa tecnologia faz parte da política da marca de reduzir em 30% as emissões e o consumo dos modelos até 2020.\r\n\r\nProvavelmente a Ford oferecerá toda sua linha de motores no Mondeo, entre eles a versão 1.6 e 2.0 turbocharged com 4 cilindros e capacidade de gerar até 253 cv. Na Europa, há a possibilidade de a fabricante oferecer uma versão híbrida, além de versões a diesel.\r\n\r\nO Mondeo 2013 é o primeiro da marca do oval azul a incorporar as linhas do Evos Concept (apresentado no Salão de Frankfurt em 2011), e, além do sedã, terá também variantes station wagon e notchback."], ["created_at", Sun, 01 Jan 2012 16:22:55 UTC +00:00], ["date", Sun, 01 Jan 2012 16:22:00 UTC +00:00], ["excerpt", "A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global."], ["published", true], ["title", "Ford Mondeo desfila camuflado antes de Detroit"], ["updated_at", Sun, 01 Jan 2012 16:22:55 UTC +00:00]]  (0.1ms) INSERT INTO "categories_posts" ("post_id", "category_id") VALUES (2, 2) Redirected to http://localhost:3000/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit Completed 302 Found in 234ms Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 14:22:55 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 16:22:55.246499') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (10.2ms) Completed 200 OK in 27ms (Views: 16.5ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:22:55 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:55 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:55 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:55 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:22:56 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:22:56.895741') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.4ms) Completed 200 OK in 32ms (Views: 22.4ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:22:56 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:56 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:56 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:56 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:22:58 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.1ms) Completed 200 OK in 63ms (Views: 21.1ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:22:58 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:58 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:58 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:22:58 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:23:11 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (42.9ms) Completed 200 OK in 62ms (Views: 48.0ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:11 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:11 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:11 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:11 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 14:23:21 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (12.7ms) Completed 200 OK in 39ms (Views: 37.6ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:21 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:21 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:21 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:21 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 14:23:23 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (7.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (11.1ms) Completed 200 OK in 43ms (Views: 42.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:23 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:23 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:23 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:23 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2012-01-01 14:23:28 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "category"=>{"name"=>"software"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'software' LIMIT 1 SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 01 Jan 2012 16:23:28 UTC +00:00], ["name", "software"], ["updated_at", Sun, 01 Jan 2012 16:23:28 UTC +00:00]] Redirected to http://localhost:3000/categories/3 Completed 302 Found in 179ms Started GET "/categories/3" for 127.0.0.1 at 2012-01-01 14:23:29 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"3"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (5.1ms) Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:29 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:29 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:29 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:29 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:23:36 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:23:36.524726') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.6ms) Completed 200 OK in 34ms (Views: 23.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:36 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:36 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:36 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:36 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 14:23:38 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (5.6ms) Completed 200 OK in 26ms (Views: 11.0ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:38 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:38 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:23:39 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (43.5ms) Completed 200 OK in 62ms (Views: 48.3ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 14:23:42 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (5.8ms) Completed 200 OK in 25ms (Views: 10.4ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:42 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:42 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:42 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:42 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (15.5ms) Completed 200 OK in 36ms (Views: 20.6ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.3ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.5ms) Completed 200 OK in 27ms (Views: 11.7ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:43 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:23:44 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.5ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (44.7ms) Completed 200 OK in 64ms (Views: 49.7ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:44 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:44 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:44 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:44 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 14:23:45 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (5.8ms) Completed 200 OK in 25ms (Views: 10.7ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:45 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:45 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:45 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:45 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:23:45 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (15.9ms) Completed 200 OK in 36ms (Views: 21.0ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:45 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:45 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:46 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:46 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:23:51 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:23:52.041027') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.4ms) Completed 200 OK in 33ms (Views: 23.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:23:52 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:52 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:52 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:23:52 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 14:25:15 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"   (0.2ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 2 LIMIT 1  (0.2ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 3 LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (51.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (53.1ms) Completed 200 OK in 68ms (Views: 58.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:25:15 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:25:15 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:25:15 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:25:15 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2012-01-01 14:26:19 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "post"=>{"category_ids"=>["2"], "published"=>"1", "title"=>"Indústria automobilística embala arrecadação recorde de impostos em 2011", "date(1i)"=>"2012", "date(2i)"=>"1", "date(3i)"=>"1", "date(4i)"=>"16", "date(5i)"=>"25", "excerpt"=>"Impostômetro deve bater R$ 1,51 trilhão este ano – e cerca de 6% desse montante vem dos automóveis.", "body"=>"O impostômetro é um instrumento criado pela Associação Comercial de São Paulo para medir o volume de tributos pagos no Brasil, considerando impostos, taxas e contribuições, incluindo aí multas, juros e correção monetária, arrecadados pelas três esferas de governo. Este ano, o painel instalado no centro de São Paulo deve alcançar a impressionante marca de R$ 1,51 trilhão. É um montante 17,1% maior – ou 11%, descontando a inflação – que o valor indicado no último dia útil de 2010, quando o impostômetro registrou R$ 1,29 trilhão em tributos pagos pelos brasileiros.\r\n\r\nCom este valor, é possível comprar mais de 55 milhões de carros populares. E é justamente do setor automotivo que boa parte deste montante chega aos cofres públicos. A indústria automobilística e sua cadeia de segmentos afins são responsáveis por aproximadamente 6% desta cifra trilionária. \r\n\r\nOu seja, a carga que incide sobre a produção e comercialização de carros, a arrecadação de tributos com licenciamento e abastecimento de combustível, como o Imposto sobre a Propriedade de Veículos Automotores (IPVA) e o Imposto sobre Consumo de Mercadorias e Serviços (ICMS), os impostos gerados com gastos com reparo e manutenção de veículos e as multas significarão nada menos que R$ 90 bilhões para o governo. A cadeia de produção e serviços em torno dos veículos se torna responsável, assim, por cerca de 2% do Produto Interno Bruto brasileiro.\r\n\r\nO IPI, por exemplo, é uma taxa federal que varia de acordo com o tamanho do motor do veículo – 7% até 1.0 litro, 13%, para motores a gasolina e 11% para flex, entre 1.0 litro e 2.0 litros, e 25% acima de 2.0 litros – e já rendeu R$ 6,6 bilhões aos cofres do governo nos 11 primeiros meses do ano. O montante é 22,21% maior que a arrecadação registrada entre janeiro e novembro do ano passado e corresponde a 0,75% do total de IPI gerado no período. \r\n\r\nO Brasil aparece no topo do ranking mundial de participação dos tributos sobre automóveis no preço repassado ao consumidor, com média de 30,4%. Em seguida aparecem Itália e Reino Unido, com 16,7%, França com 16,4% e Alemanha com 16%. Isso explica o abismo entre os preços cobrados por um mesmo produto no mercado nacional e em outros países. Um sedã médio como o Toyota Corolla, por exemplo, recolhe 31% em impostos. O mesmo modelo paga apenas 6% nos Estados Unidos. \r\n\r\nMoral da história: o sedã japonês parte de US$ 15.900 no mercado norte-americano, algo em torno de R$ 29.600, enquanto no Brasil a versão de entrada do líder do segmento dos três volumes médios sai por “módicos” R$ 63.570. A má notícia é que o governo não demonstra ter vontade política para mudar esta realidade. Como consequência, a indústria nacional perde competitividade em relação a países próximos, como a Argentina e o México."}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 2]]  (0.1ms) SELECT 1 FROM "posts" WHERE "posts"."title" = 'Indústria automobilística embala arrecadação recorde de impostos em 2011' LIMIT 1 SQL (0.5ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "O impostômetro é um instrumento criado pela Associação Comercial de São Paulo para medir o volume de tributos pagos no Brasil, considerando impostos, taxas e contribuições, incluindo aí multas, juros e correção monetária, arrecadados pelas três esferas de governo. Este ano, o painel instalado no centro de São Paulo deve alcançar a impressionante marca de R$ 1,51 trilhão. É um montante 17,1% maior – ou 11%, descontando a inflação – que o valor indicado no último dia útil de 2010, quando o impostômetro registrou R$ 1,29 trilhão em tributos pagos pelos brasileiros.\r\n\r\nCom este valor, é possível comprar mais de 55 milhões de carros populares. E é justamente do setor automotivo que boa parte deste montante chega aos cofres públicos. A indústria automobilística e sua cadeia de segmentos afins são responsáveis por aproximadamente 6% desta cifra trilionária. \r\n\r\nOu seja, a carga que incide sobre a produção e comercialização de carros, a arrecadação de tributos com licenciamento e abastecimento de combustível, como o Imposto sobre a Propriedade de Veículos Automotores (IPVA) e o Imposto sobre Consumo de Mercadorias e Serviços (ICMS), os impostos gerados com gastos com reparo e manutenção de veículos e as multas significarão nada menos que R$ 90 bilhões para o governo. A cadeia de produção e serviços em torno dos veículos se torna responsável, assim, por cerca de 2% do Produto Interno Bruto brasileiro.\r\n\r\nO IPI, por exemplo, é uma taxa federal que varia de acordo com o tamanho do motor do veículo – 7% até 1.0 litro, 13%, para motores a gasolina e 11% para flex, entre 1.0 litro e 2.0 litros, e 25% acima de 2.0 litros – e já rendeu R$ 6,6 bilhões aos cofres do governo nos 11 primeiros meses do ano. O montante é 22,21% maior que a arrecadação registrada entre janeiro e novembro do ano passado e corresponde a 0,75% do total de IPI gerado no período. \r\n\r\nO Brasil aparece no topo do ranking mundial de participação dos tributos sobre automóveis no preço repassado ao consumidor, com média de 30,4%. Em seguida aparecem Itália e Reino Unido, com 16,7%, França com 16,4% e Alemanha com 16%. Isso explica o abismo entre os preços cobrados por um mesmo produto no mercado nacional e em outros países. Um sedã médio como o Toyota Corolla, por exemplo, recolhe 31% em impostos. O mesmo modelo paga apenas 6% nos Estados Unidos. \r\n\r\nMoral da história: o sedã japonês parte de US$ 15.900 no mercado norte-americano, algo em torno de R$ 29.600, enquanto no Brasil a versão de entrada do líder do segmento dos três volumes médios sai por “módicos” R$ 63.570. A má notícia é que o governo não demonstra ter vontade política para mudar esta realidade. Como consequência, a indústria nacional perde competitividade em relação a países próximos, como a Argentina e o México."], ["created_at", Sun, 01 Jan 2012 16:26:19 UTC +00:00], ["date", Sun, 01 Jan 2012 16:25:00 UTC +00:00], ["excerpt", "Impostômetro deve bater R$ 1,51 trilhão este ano – e cerca de 6% desse montante vem dos automóveis."], ["published", true], ["title", "Indústria automobilística embala arrecadação recorde de impostos em 2011"], ["updated_at", Sun, 01 Jan 2012 16:26:19 UTC +00:00]]  (0.8ms) INSERT INTO "categories_posts" ("post_id", "category_id") VALUES (3, 2) Redirected to http://localhost:3000/posts/3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011 Completed 302 Found in 190ms Started GET "/posts/3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011" for 127.0.0.1 at 2012-01-01 14:26:19 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 16:26:19.930556') LIMIT 1 [["id", "3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.3ms) Completed 200 OK in 26ms (Views: 15.5ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:26:20 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:20 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:20 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:20 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:26:25 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:26:25.303844') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (20.3ms) Completed 200 OK in 36ms (Views: 25.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:26:25 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:25 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:25 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:25 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:26:30 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (18.9ms) Completed 200 OK in 66ms (Views: 24.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:26:30 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:30 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:30 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:30 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 14:26:31 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 27ms (Views: 11.5ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:26:31 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:31 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:31 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:26:32 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (19.3ms) Completed 200 OK in 39ms (Views: 24.4ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:26:32 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:32 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:32 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:32 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 14:26:40 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (5.5ms) Completed 200 OK in 27ms (Views: 10.8ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:26:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:26:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 14:35:34 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"   (0.2ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 2 LIMIT 1  (0.2ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 3 LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (27.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (28.9ms) Completed 200 OK in 76ms (Views: 34.0ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:35:34 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:35:34 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:35:34 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:35:34 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/robots.txt" for 127.0.0.1 at 2012-01-01 14:45:34 -0200 ActionController::RoutingError (No route matches [GET] "/robots.txt"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts/1/edit" for 127.0.0.1 at 2012-01-01 14:45:36 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"1"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms ActiveRecord::RecordNotFound (Couldn't find Post with id=1): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (31.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.3ms) Started GET "/robots.txt" for 127.0.0.1 at 2012-01-01 14:45:36 -0200 ActionController::RoutingError (No route matches [GET] "/robots.txt"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.3ms) Started GET "/robots.txt" for 127.0.0.1 at 2012-01-01 14:45:36 -0200 ActionController::RoutingError (No route matches [GET] "/robots.txt"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/admin" for 127.0.0.1 at 2012-01-01 14:52:24 -0200 TypeError (can't convert Symbol into Integer): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.3ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:52:33 -0200 ActionController::RoutingError (No route matches [GET] "/posts"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:52:35 -0200 ActionController::RoutingError (No route matches [GET] "/posts"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:52:59 -0200 ActionController::RoutingError (No route matches [GET] "/posts"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:53:42 -0200 TypeError (can't convert Symbol into Integer): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.5ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:53:46 -0200 ActionController::RoutingError (No route matches [GET] "/posts"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:53:49 -0200 ActionController::RoutingError (No route matches [GET] "/posts"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:55:33 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.9ms) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:55:34.202291') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (205.0ms) Completed 500 Internal Server Error in 249ms ActionView::Template::Error (undefined method `edit_post_path' for #<#:0x0000000264e158>): 9:

<%= post.body %>

10:
11: <%= link_to 'Show', post %> 12: <%= link_to 'Edit', edit_post_path(post) %> 13: <%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %> 14: <% end %> 15:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:57:42 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.5ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:57:42.744893') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (68.8ms) Completed 500 Internal Server Error in 82ms ActionView::Template::Error (undefined method `edit_post_path' for #<#:0x000000045b7d28>): 9:

<%= post.body %>

10:
11: <%= link_to 'Show', post %> 12: <%= link_to 'Edit', edit_post_path(post) %> 13: <%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %> 14: <% end %> 15:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:58:08 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  ERROR: compiling __home_phinfonet_projetos_pessoais_blogmodule_app_views_posts_index_html_erb___3254688749812125941_35003540 RAISED /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb:13: syntax error, unexpected keyword_ensure, expecting keyword_end /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb:15: syntax error, unexpected $end, expecting keyword_end Function body: def __home_phinfonet_projetos_pessoais_blogmodule_app_views_posts_index_html_erb___3254688749812125941_35003540(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "posts/index";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_concat('

Listing posts

');@output_buffer.append= ( render :partial => "categories");@output_buffer.safe_concat(' ');@output_buffer.safe_concat(' '); @posts.each do |post| @output_buffer.safe_concat('

');@output_buffer.append= ( post.title );@output_buffer.safe_concat('

');@output_buffer.append= ( post.date );@output_buffer.safe_concat('

');@output_buffer.append= ( post.body );@output_buffer.safe_concat('


');@output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `module_eval' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `compile' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:195:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /home/phinfonet/projetos/pessoais/blogmodule/app/controllers/posts_controller.rb:11:in `index' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:425:in `_run__3065079719901637345__process_action__4389687045848135269__callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236:in `block in action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:103:in `optimized_each' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/etag.rb:23:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/conditionalget.rb:25:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195:in `context' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392:in `_run_call_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/sendfile.rb:101:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/logger.rb:13:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/methodoverride.rb:24:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/runtime.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/lock.rb:15:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/engine.rb:456:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/content_length.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (0.8ms) Completed 500 Internal Server Error in 37ms ActionView::Template::Error (/home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb:13: syntax error, unexpected keyword_ensure, expecting keyword_end /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb:15: syntax error, unexpected $end, expecting keyword_end): 10:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.3ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 14:58:35 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 16:58:35.056598') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (14.7ms) Completed 200 OK in 94ms (Views: 84.2ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:58:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:35 -0200 Served asset /jquery.js - 304 Not Modified (6ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:58:38 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (22.3ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (69.6ms) Completed 200 OK in 129ms (Views: 74.6ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:58:38 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:38 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 14:58:39 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (4.8ms) Completed 200 OK in 24ms (Views: 9.8ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:58:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 14:58:40 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (14.0ms) Completed 200 OK in 34ms (Views: 19.0ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 14:58:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 14:58:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/admin" for 127.0.0.1 at 2012-01-01 14:58:49 -0200 ActionController::RoutingError (No route matches [GET] "/admin"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:13:08 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (21.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 17:13:09.454390') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (38.5ms) Completed 200 OK in 91ms (Views: 76.4ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:09 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:09 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:09 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/images/bullet.png" for 127.0.0.1 at 2012-01-01 15:13:09 -0200 ActionController::RoutingError (No route matches [GET] "/images/bullet.png"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:13:14 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 17:13:14.886729') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (14.0ms) Completed 200 OK in 50ms (Views: 19.0ms | ActiveRecord: 1.0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:14 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:14 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:14 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/images/bullet.png" for 127.0.0.1 at 2012-01-01 15:13:14 -0200 ActionController::RoutingError (No route matches [GET] "/images/bullet.png"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:13:31 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 17:13:31.102302') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (35.8ms) Completed 200 OK in 51ms (Views: 40.6ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:31 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:31 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/images/bullet.png" for 127.0.0.1 at 2012-01-01 15:13:31 -0200 ActionController::RoutingError (No route matches [GET] "/images/bullet.png"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:13:32 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 17:13:32.710561') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (14.3ms) Completed 200 OK in 28ms (Views: 19.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 15:13:32 -0200 Served asset /application.css - 200 OK (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:32 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:32 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 15:13:32 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:16:23 -0200 LoadError (Expected /home/phinfonet/projetos/pessoais/blogmodule/app/controllers/admin/posts_controller.rb to define Admin::PostsController): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:16:26 -0200 TypeError (superclass mismatch for class PostsController): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.4ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:16:31 -0200 TypeError (superclass mismatch for class PostsController): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.5ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:16:58 -0200 ActionController::RoutingError (uninitialized constant AdminController): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:17:43 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/_categories.html.erb (5.4ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 17:17:44.020418') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (185.8ms) Completed 500 Internal Server Error in 199ms ActionView::Template::Error (undefined method `edit_post_path' for #<#:0x00000003c99c28>): 9:

<%= post.body %>

10:
11: <%= link_to 'Show', post %> 12: <%= link_to 'Edit', edit_post_path(post) %> 13: <%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %> 14: <% end %> 15:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (22.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (25.8ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 15:17:57 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/_categories.html.erb (4.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 17:17:57.879197') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (70.2ms) Completed 500 Internal Server Error in 84ms ActionView::Template::Error (undefined method `edit_post_path' for #<#:0x00000003cddce8>): 9:

<%= post.body %>

10:
11: <%= link_to 'Show', post %> 12: <%= link_to 'Edit', edit_post_path(post) %> 13: <%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %> 14: <% end %> 15:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/" for 127.0.0.1 at 2012-01-01 15:18:22 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 17:18:22.713502') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.7ms) Completed 200 OK in 67ms (Views: 23.6ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 15:18:22 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 15:18:22 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 15:18:22 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 15:50:12 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (53.6ms) Completed 200 OK in 140ms (Views: 78.3ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 15:50:13 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 15:50:13 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 15:50:13 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 15:50:14 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (8.4ms) Completed 200 OK in 33ms (Views: 11.7ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 15:50:14 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 15:50:14 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 15:50:14 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 18:09:28 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.2ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (18.0ms) Completed 200 OK in 158ms (Views: 96.0ms | ActiveRecord: 17.5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:29 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:29 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:09:29 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:29 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 18:09:33 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Post Load (0.5ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (24.6ms) Completed 200 OK in 87ms (Views: 28.0ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:09:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 18:09:36 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (8.7ms) Completed 200 OK in 36ms (Views: 11.9ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:09:36 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:36 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:36 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:36 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 18:09:37 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.8ms) Completed 200 OK in 43ms (Views: 20.2ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:09:37 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:37 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:37 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:09:37 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/admin" for 127.0.0.1 at 2012-01-01 18:09:45 -0200 ActionController::RoutingError (No route matches [GET] "/admin"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 18:09:49 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/_categories.html.erb (4.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:09:49.858918') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (79.7ms) Completed 500 Internal Server Error in 104ms ActionView::Template::Error (undefined method `edit_post_path' for #<#:0x00000003c6ac70>): 9:

<%= post.body %>

10:
11: <%= link_to 'Show', post %> 12: <%= link_to 'Edit', edit_post_path(post) %> 13: <%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %> 14: <% end %> 15:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 18:22:23 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/_categories.html.erb (4.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:22:23.509167') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (72.6ms) Completed 500 Internal Server Error in 110ms ActionView::Template::Error (undefined local variable or method `new_post_path' for #<#:0x00000004546128>): 16: 17:
18: 19: <%= link_to 'New Post', new_post_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 18:22:56 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/_categories.html.erb (4.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:22:56.570689') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (20.6ms) Completed 200 OK in 61ms (Views: 51.6ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:22:56 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:22:56 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:22:56 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:22:56 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 18:23:35 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (9.3ms) Completed 200 OK in 36ms (Views: 12.4ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:23:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 18:23:36 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (43.8ms) Completed 200 OK in 70ms (Views: 46.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:23:36 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:36 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:36 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:36 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 18:23:39 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (0.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (8.5ms) Completed 200 OK in 34ms (Views: 11.5ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:23:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 18:23:40 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.7ms) Completed 200 OK in 69ms (Views: 19.9ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:23:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 18:23:47 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/_categories.html.erb (30.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:23:47.910385') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (45.9ms) Completed 200 OK in 61ms (Views: 51.2ms | ActiveRecord: 0.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:23:47 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:47 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:23:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 18:29:30 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:29:30.490896') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (14.9ms) Completed 200 OK in 57ms (Views: 47.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:29:30 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:30 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:30 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:30 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 18:29:33 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:29:33.222648') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (14.3ms) Completed 200 OK in 30ms (Views: 20.0ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:29:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/" for 127.0.0.1 at 2012-01-01 18:29:35 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:29:36.013903') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (18.3ms) Completed 200 OK in 71ms (Views: 21.8ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:29:36 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:36 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:36 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:29:36 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 18:30:23 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:30:23.845379') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (68.6ms) Completed 500 Internal Server Error in 82ms ActionView::Template::Error (undefined method `stylesheet_tag' for #<#:0x000000046f2b98>): 1: <%= stylesheet_tag "posts" %> 2:

Listing posts

3: 4:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/admin/posts" for 127.0.0.1 at 2012-01-01 18:30:38 -0200 Processing by Admin::PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Compiled posts.css (0ms) (pid 6294) Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:30:38.446402') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/posts/index.html.erb within layouts/application (82.1ms) Completed 200 OK in 97ms (Views: 86.8ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:30:38 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:30:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:30:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:30:38 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2012-01-01 18:30:38 -0200 Served asset /posts.css - 200 OK (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 18:31:31 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:31:31.379133') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.9ms) Completed 200 OK in 64ms (Views: 21.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:31:31 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:31:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:31:31 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:31:31 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 18:31:33 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:31:33.629656') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (44.2ms) Completed 200 OK in 65ms (Views: 47.5ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:31:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:31:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:31:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:31:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 18:32:15 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:32:15.305623') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (18.6ms) Completed 200 OK in 41ms (Views: 22.2ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:32:15 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:32:15 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2012-01-01 18:32:15 -0200 Served asset /posts.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:32:15 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:32:15 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 18:33:18 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Compiled posts.css (0ms) (pid 6294) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:33:18.461311') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (74.0ms) Completed 200 OK in 94ms (Views: 73.3ms | ActiveRecord: 5.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:33:18 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:33:18 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:33:18 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2012-01-01 18:33:18 -0200 Served asset /posts.css - 200 OK (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:33:18 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 18:33:53 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Compiled posts.css (0ms) (pid 6294) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:33:54.007876') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (22.0ms) Completed 200 OK in 44ms (Views: 25.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:33:54 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:33:54 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:33:54 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:33:54 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2012-01-01 18:33:54 -0200 Served asset /posts.css - 200 OK (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 18:34:02 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Compiled posts.css (0ms) (pid 6294) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:34:02.183991') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (27.1ms) Completed 200 OK in 46ms (Views: 30.2ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:34:02 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:34:02 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/posts.css?body=1" for 127.0.0.1 at 2012-01-01 18:34:02 -0200 Served asset /posts.css - 200 OK (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:34:02 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:34:02 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 18:36:04 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:36:04.508195') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (48.0ms) Completed 200 OK in 68ms (Views: 51.7ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:36:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:36:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:36:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:36:04 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 18:36:14 -0200 ActionController::RoutingError (No route matches [GET] "/categories"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 18:36:20 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 20:36:20.695137') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (18.9ms) Completed 200 OK in 40ms (Views: 22.2ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:36:20 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:36:20 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:36:20 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:36:20 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:36:32 -0200 LoadError (Expected /home/phinfonet/projetos/pessoais/blogmodule/app/controllers/admin/categories_controller.rb to define Admin::CategoriesController): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.3ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:37:39 -0200 ActionController::RoutingError (uninitialized constant Admin::AdminController): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:39:06 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (64.4ms) Completed 500 Internal Server Error in 85ms ActionView::Template::Error (undefined method `category_path' for #<#:0x0000000466d3d0>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:39:49 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (32.4ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `category_path' for #<#:0x00000003ea75d8>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_admin_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:40:20 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (57.1ms) Completed 500 Internal Server Error in 63ms ActionView::Template::Error (undefined method `category_path' for #<#:0x0000000436a700>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_admin_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:40:45 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (56.5ms) Completed 500 Internal Server Error in 64ms ActionView::Template::Error (undefined method `category_path' for #<#:0x0000000463c2d0>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_admin_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:40:56 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (55.3ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `category_path' for #<#:0x00000003dea640>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_admin_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.4ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:41:06 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (55.8ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined method `category_path' for #<#:0x000000043ec458>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_admin_categories_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:41:54 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (32.6ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `edit_admin_categories_path' for #<#:0x000000032b9d70>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Edit', edit_admin_categories_path(category) %> 15: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 16: 17: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:42:23 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (57.0ms) Completed 500 Internal Server Error in 63ms ActionView::Template::Error (undefined method `category_path' for #<#:0x000000041f6270>): 12: 13: <%= category.name %> 14: <%= link_to 'Edit', edit_admin_category_path(category) %> 15: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 16: 17: <% end %> 18: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:42:47 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (56.3ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined local variable or method `admin_category' for #<#:0x0000000463cdc0>): 12: 13: <%= category.name %> 14: <%= link_to 'Edit', edit_admin_category_path(category) %> 15: <%= link_to 'Destroy', admin_category, confirm: 'Are you sure?', method: :delete %> 16: 17: <% end %> 18: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:43:21 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (55.2ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `link_to_edit' for #<#:0x00000003c87e38>): 7: <%= category.name %> 8: 9:
10: <%= link_to_edit [:edit, :admin, category] %>, 11: <%= link_to_destroy [:admin, category] %> 12:
13: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:43:57 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (56.5ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined method `link_to_destroy' for #<#:0x00000004464278>): 8: 9:
10: <%= link_to [:edit, :admin, category] %>, 11: <%= link_to_destroy [:admin, category] %> 12:
13: <% end %> 14: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:44:06 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (7.3ms) Completed 200 OK in 15ms (Views: 12.9ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:44:06 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:44:06 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:44:06 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:44:06 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:44:45 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (56.6ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined method `edit_category_path' for #<#:0x000000046474a0>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Edit', edit_category_path(category) %> 15: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 16: 17: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.4ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:49:31 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (54.9ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `edit_category_path' for #<#:0x00000004689800>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Edit', edit_category_path(category) %> 15: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 16: 17: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:49:33 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (54.0ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (undefined method `edit_category_path' for #<#:0x000000040cf6d0>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Edit', edit_category_path(category) %> 15: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 16: 17: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:49:56 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (56.5ms) Completed 500 Internal Server Error in 63ms ActionView::Template::Error (undefined method `link_to_edit' for #<#:0x0000000490f048>): 7: <%= category.name %> 8: 9:
10: <%= link_to_edit [:edit, :admin, category] %>, 11: <%= link_to_destroy [:admin, category] %> 12:
13: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:52:24 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (32.6ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (undefined method `link_to_destroy' for #<#:0x0000000405dc38>): 8: 9:
10: <%= link_to [:edit, :admin, category] %>, 11: <%= link_to_destroy [:admin, category] %> 12:
13: <% end %> 14: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:52:33 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (7.4ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:52:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:52:35 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (33.7ms) Completed 200 OK in 41ms (Views: 39.2ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:52:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:52:36 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (6.8ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:52:36 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:36 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:36 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:36 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:52:37 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (6.8ms) Completed 200 OK in 43ms (Views: 41.1ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:52:37 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:37 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:37 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:52:37 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:52:50 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (57.6ms) Completed 500 Internal Server Error in 64ms ActionView::Template::Error (undefined method `category_path' for #<#:0x000000043f8ff0>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:53:37 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (55.5ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `category_path' for #<#:0x0000000466fdd8>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:54:20 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (55.2ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined local variable or method `admin_category' for #<#:0x00000003aef328>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', admin_category %> 15: <%= link_to 'Edit', edit_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:54:29 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (56.0ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined method `category_path' for #<#:0x000000043ebd50>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:56:37 -0200 Processing by Admin::CategoriesController#index as HTML Completed 500 Internal Server Error in 24ms NameError (uninitialized constant Admin::CategoriesController::Category): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.4ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:56:49 -0200 LoadError (Expected /home/phinfonet/projetos/pessoais/blogmodule/app/models/admin/category.rb to define Admin::Category): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.8ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:57:44 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (56.6ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined method `category_path' for #<#:0x000000047357b8>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Edit', edit_category_path(category) %> 16: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:58:13 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (29.2ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (undefined method `category_path' for #<#:0x000000043f87d0>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 16: 17: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:58:14 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (49.9ms) Completed 500 Internal Server Error in 57ms ActionView::Template::Error (undefined method `category_path' for #<#:0x00000003c825f0>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Show', category %> 15: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 16: 17: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:58:24 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (52.4ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (undefined method `category_path' for #<#:0x00000003cde170>): 11: <% @categories.each do |category| %> 12: 13: <%= category.name %> 14: <%= link_to 'Destroy', category, confirm: 'Are you sure?', method: :delete %> 15: 16: <% end %> 17: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:58:34 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (50.9ms) Completed 500 Internal Server Error in 58ms ActionView::Template::Error (undefined local variable or method `new_category_path' for #<#:0x000000043c0fd8>): 17: 18:
19: 20: <%= link_to 'New Category', new_category_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/admin/categories" for 127.0.0.1 at 2012-01-01 18:58:50 -0200 Processing by Admin::CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/index.html.erb within layouts/application (1.0ms) Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 18:58:50 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 18:58:50 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 18:58:50 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 18:58:50 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 18:58:53 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (59.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (76.6ms) Completed 500 Internal Server Error in 83ms ActionView::Template::Error (undefined method `categories_path' for #<#:0x00000003c86f38>): 1: <%= form_for(@category) do |f| %> 2: <% if @category.errors.any? %> 3:
4:

<%= pluralize(@category.errors.count, "error") %> prohibited this category from being saved:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 18:59:51 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (1.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (2.3ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `has_key?' for #): 1: <%= form_for(:admin, @category) do |f| %> 2: <% if @category.errors.any? %> 3:
4:

<%= pluralize(@category.errors.count, "error") %> prohibited this category from being saved:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.4ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:00:04 -0200 Processing by Admin::CategoriesController#new as HTML ERROR: compiling __home_phinfonet_projetos_pessoais_blogmodule_app_views_admin_categories__form_html_erb__416754247682528144_37569420 RAISED /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb:1: syntax error, unexpected keyword_do_block, expecting keyword_end ... form_for[:admin, @category] do |f| @output_buffer.safe_conc... ... ^ /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb:23: syntax error, unexpected keyword_ensure, expecting $end Function body: def __home_phinfonet_projetos_pessoais_blogmodule_app_views_admin_categories__form_html_erb__416754247682528144_37569420(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "admin/categories/_form";_old_output_buffer = @output_buffer;form = local_assigns[:form];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= form_for[:admin, @category] do |f| @output_buffer.safe_concat(' '); if @category.errors.any? @output_buffer.safe_concat('

');@output_buffer.append= ( pluralize(@category.errors.count, "error") );@output_buffer.safe_concat(' prohibited this category from being saved:

    '); @category.errors.full_messages.each do |msg| @output_buffer.safe_concat('
  • ');@output_buffer.append= ( msg );@output_buffer.safe_concat('
  • '); end @output_buffer.safe_concat('
'); end @output_buffer.safe_concat('
');@output_buffer.append= ( f.label :name );@output_buffer.safe_concat('
');@output_buffer.append= ( f.text_field :name );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( f.submit );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
'); end @output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `module_eval' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `compile' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:256:in `render_partial' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:228:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:227:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:219:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:41:in `render_partial' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/helpers/rendering_helper.rb:27:in `render' /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb:3:in `__home_phinfonet_projetos_pessoais_blogmodule_app_views_admin_categories_new_html_erb__1479820814479693619_31730120' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:171:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:195:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /home/phinfonet/projetos/pessoais/blogmodule/app/controllers/admin/categories_controller.rb:19:in `new' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:416:in `_run__2294240919199686418__process_action__3393819631790423008__callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236:in `block in action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:82:in `optimized_each' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/etag.rb:23:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/conditionalget.rb:25:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195:in `context' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392:in `_run_call_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/sendfile.rb:101:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/logger.rb:13:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/methodoverride.rb:24:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/runtime.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/lock.rb:15:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/engine.rb:456:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/content_length.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (0.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (1.6ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (/home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb:1: syntax error, unexpected keyword_do_block, expecting keyword_end ... form_for[:admin, @category] do |f| @output_buffer.safe_conc... ... ^ /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb:23: syntax error, unexpected keyword_ensure, expecting $end): 1: <%= form_for[:admin, @category] do |f| %> 2: <% if @category.errors.any? %> 3:
4:

<%= pluralize(@category.errors.count, "error") %> prohibited this category from being saved:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (26.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (29.7ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:00:28 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (21.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (76.6ms) Completed 500 Internal Server Error in 83ms ActionView::Template::Error (undefined local variable or method `categories_path' for #<#:0x000000040b8868>): 2: 3: <%= render 'form' %> 4: 5: <%= link_to 'Back', categories_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.4ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:01:46 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (2.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (54.8ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined local variable or method `categories_path' for #<#:0x000000043b0b10>): 2: 3: <%= render 'form' %> 4: 5: <%= link_to 'Back', categories_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:02:44 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (2.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (55.1ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined local variable or method `categories_path' for #<#:0x0000000461be90>): 2: 3: <%= render 'form' %> 4: 5: <%= link_to 'Back', categories_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:03:11 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (12.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (110.9ms) Completed 500 Internal Server Error in 156ms ActionView::Template::Error (undefined local variable or method `categories_path' for #<#:0x00000004025f68>): 2: 3: <%= render 'form' %> 4: 5: <%= link_to 'Back', categories_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.7ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:03:13 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (6.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (53.5ms) Completed 500 Internal Server Error in 63ms ActionView::Template::Error (undefined local variable or method `categories_path' for #<#:0x0000000375bd88>): 2: 3: <%= render 'form' %> 4: 5: <%= link_to 'Back', categories_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.4ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:03:13 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (7.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (57.1ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined local variable or method `categories_path' for #<#:0x00000003bc85d8>): 2: 3: <%= render 'form' %> 4: 5: <%= link_to 'Back', categories_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:03:15 -0200 Processing by Admin::CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/_form.html.erb (6.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/admin/categories/new.html.erb within layouts/application (53.8ms) Completed 500 Internal Server Error in 58ms ActionView::Template::Error (undefined local variable or method `categories_path' for #<#:0x0000000420efa0>): 2: 3: <%= render 'form' %> 4: 5: <%= link_to 'Back', categories_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/admin/categories/new" for 127.0.0.1 at 2012-01-01 19:06:15 -0200 ActionController::RoutingError (uninitialized constant Admin): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:06:20 -0200 ActionController::RoutingError (No route matches [GET] "/categories/new"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:06:24 -0200 ActionController::RoutingError (No route matches [GET] "/categories"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:06:29 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.4ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:06:29.624847') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (194.3ms) Completed 500 Internal Server Error in 259ms ActionView::Template::Error (undefined method `edit_post_path' for #<#:0x00000003fa8e28>): 9:

<%= post.body %>

10:
11: <%= link_to 'Show', post %> 12: <%= link_to 'Edit', edit_post_path(post) %> 13: <%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %> 14: <% end %> 15:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:07:05 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:07:05.723188') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (201.1ms) Completed 500 Internal Server Error in 244ms ActionView::Template::Error (undefined method `edit_post_path' for #<#:0x00000002eee150>): 9:

<%= post.body %>

10:
11: <%= link_to 'Show', post %> 12: <%= link_to 'Edit', edit_post_path(post) %> 13: <%= link_to 'Destroy', post, confirm: 'Are you sure?', method: :delete %> 14: <% end %> 15:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (21.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (25.5ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:07:35 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (4.7ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:07:35.214948') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (19.6ms) Completed 200 OK in 131ms (Views: 93.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:07:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:07:35 -0200 Served asset /jquery.js - 304 Not Modified (4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:07:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:07:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:07:59 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.0ms) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:07:59.165846') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (45.9ms) Completed 200 OK in 60ms (Views: 50.7ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:07:59 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:07:59 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:07:59 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:07:59 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:08:05 -0200 ActionController::RoutingError (No route matches [GET] "/categories"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:08:31 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (5.6ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (No route matches {:action=>"new", :controller=>"admin/categories"}): 17: 18:
19: 20: <%= link_to 'New Category', new_admin_category_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:08:47 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (32.6ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (No route matches {:action=>"new", :controller=>"admin/categories"}): 17: 18:
19: 20: <%= link_to 'New Category', new_admin_category_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:08:49 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (4.9ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (No route matches {:action=>"new", :controller=>"admin/categories"}): 17: 18:
19: 20: <%= link_to 'New Category', new_admin_category_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:09:00 -0200 Processing by CategoriesController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (55.1ms) Completed 500 Internal Server Error in 88ms ActionView::Template::Error (undefined local variable or method `new_admin_category_path' for #<#:0x000000044ae490>): 17: 18:
19: 20: <%= link_to 'New Category', new_admin_category_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:09:05 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:09:05.859938') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (147.0ms) Completed 200 OK in 175ms (Views: 160.5ms | ActiveRecord: 0.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:09:06 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:09:06 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:09:06 -0200 Served asset /jquery_ujs.js - 304 Not Modified (3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:09:06 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:10:40 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (29.7ms) Completed 200 OK in 38ms (Views: 35.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:10:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:10:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:10:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:10:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:25:14 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (67.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (69.7ms) Completed 500 Internal Server Error in 75ms ActionView::Template::Error (undefined method `admin_categories_path' for #<#:0x00000004db66a0>): 1: <%= form_for [:admin, @category] do |f| %> 2: <% if @category.errors.any? %> 3:
4:

<%= pluralize(@category.errors.count, "error") %> prohibited this category from being saved:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:25:27 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (52.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (52.9ms) Completed 500 Internal Server Error in 58ms ActionView::Template::Error (undefined method `admin_categories_path' for #<#:0x00000004e05020>): 1: <%= form_for [:admin, @category] do |f| %> 2: <% if @category.errors.any? %> 3:
4:

<%= pluralize(@category.errors.count, "error") %> prohibited this category from being saved:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/categories/" for 127.0.0.1 at 2012-01-01 19:25:31 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (5.0ms) Completed 200 OK in 14ms (Views: 12.1ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:25:31 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:31 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:31 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:25:32 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (55.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (56.2ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `admin_categories_path' for #<#:0x00000004ec13b0>): 1: <%= form_for [:admin, @category] do |f| %> 2: <% if @category.errors.any? %> 3:
4:

<%= pluralize(@category.errors.count, "error") %> prohibited this category from being saved:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/categories/" for 127.0.0.1 at 2012-01-01 19:25:46 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (4.3ms) Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:25:46 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:46 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:46 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:46 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/" for 127.0.0.1 at 2012-01-01 19:25:47 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (4.5ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:25:47 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:47 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:25:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:25:49 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (52.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (53.0ms) Completed 500 Internal Server Error in 57ms ActionView::Template::Error (undefined method `admin_categories_path' for #<#:0x00000005143cf0>): 1: <%= form_for [:admin, @category] do |f| %> 2: <% if @category.errors.any? %> 3:
4:

<%= pluralize(@category.errors.count, "error") %> prohibited this category from being saved:

Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms) Started GET "/categories/" for 127.0.0.1 at 2012-01-01 19:26:12 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (4.3ms) Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:26:12 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:12 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:12 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:12 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:26:15 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (7.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (8.4ms) Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:26:15 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:15 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:15 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:15 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2012-01-01 19:26:26 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "category"=>{"name"=>"uncategorized"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'uncategorized' LIMIT 1 SQL (0.6ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 01 Jan 2012 21:26:26 UTC +00:00], ["name", "uncategorized"], ["updated_at", Sun, 01 Jan 2012 21:26:26 UTC +00:00]] Redirected to http://localhost:3000/categories/4 Completed 302 Found in 227ms Started GET "/categories/4" for 127.0.0.1 at 2012-01-01 19:26:26 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"4"} Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (1.1ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1:

2: Name: 3: <%= @category.name %> 4:

5: 6: <%= link_to 'Edit', edit_category_path(@category) %> | Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/categories/4" for 127.0.0.1 at 2012-01-01 19:26:58 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"4"} Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (3.0ms) Completed 200 OK in 13ms (Views: 12.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:26:58 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:58 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:58 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:26:58 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories/4" for 127.0.0.1 at 2012-01-01 19:27:08 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"4"} Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (1.2ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1:

2: Name: 3: <%= @category.name %> 4:

5: 6: <%= link_to 'Edit', edit_category_path(@category) %> | Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/categories/4" for 127.0.0.1 at 2012-01-01 19:27:34 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"4"} Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (1.5ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1:

2: Name: 3: <%= @category.name %> 4:

5: 6: <%= link_to 'Edit', edit_category_path(@category) %> | Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:27:40 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (6.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (7.5ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:27:41 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:27:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:27:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:27:41 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2012-01-01 19:27:41 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "category"=>{"name"=>""}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = '' LIMIT 1 SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 01 Jan 2012 21:27:41 UTC +00:00], ["name", ""], ["updated_at", Sun, 01 Jan 2012 21:27:41 UTC +00:00]] Redirected to http://localhost:3000/categories/5 Completed 302 Found in 172ms Started GET "/categories/5" for 127.0.0.1 at 2012-01-01 19:27:42 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"5"} Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (0.6ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `name' for nil:NilClass): 1:

2: Name: 3: <%= @category.name %> 4:

5: 6: <%= link_to 'Edit', edit_category_path(@category) %> | Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Started GET "/categories/" for 127.0.0.1 at 2012-01-01 19:28:58 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (4.2ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:28:59 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:28:59 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:28:59 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:28:59 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:29:01 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (7.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (8.6ms) Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:29:01 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:01 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:01 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:01 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2012-01-01 19:29:03 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "category"=>{"name"=>"carros"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'carros' LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (2.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (3.9ms) Completed 200 OK in 18ms (Views: 9.3ms | ActiveRecord: 0.6ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:03 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:29:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2012-01-01 19:29:15 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "category"=>{"name"=>"google"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'google' LIMIT 1 SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 01 Jan 2012 21:29:15 UTC +00:00], ["name", "google"], ["updated_at", Sun, 01 Jan 2012 21:29:15 UTC +00:00]] Redirected to http://localhost:3000/categories/6 Completed 302 Found in 174ms Started GET "/categories/6" for 127.0.0.1 at 2012-01-01 19:29:15 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"6"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (4.7ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:29:15 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:15 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:15 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:15 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:29:17 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (4.7ms) Completed 200 OK in 14ms (Views: 10.1ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:29:17 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:17 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:17 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:29:17 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:31:33 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (10.0ms) Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:31:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:31:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:31:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:31:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:31:55 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (39.1ms) Completed 200 OK in 46ms (Views: 44.4ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:31:55 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:31:55 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:31:55 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:31:55 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:32:39 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (9.9ms) Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:32:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:32:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:32:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:32:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:33:39 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (40.1ms) Completed 200 OK in 48ms (Views: 45.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:33:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:33:43 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:43 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:43 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:43 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories/new" for 127.0.0.1 at 2012-01-01 19:33:47 -0200 Processing by CategoriesController#new as HTML Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/_form.html.erb (6.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/new.html.erb within layouts/application (7.6ms) Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:33:47 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:47 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/categories" for 127.0.0.1 at 2012-01-01 19:33:50 -0200 Processing by CategoriesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "category"=>{"name"=>"ruby"}, "commit"=>"Create Category"}  (0.1ms) SELECT 1 FROM "categories" WHERE "categories"."name" = 'ruby' LIMIT 1 SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 01 Jan 2012 21:33:50 UTC +00:00], ["name", "ruby"], ["updated_at", Sun, 01 Jan 2012 21:33:50 UTC +00:00]] Redirected to http://localhost:3000/categories/7 Completed 302 Found in 141ms Started GET "/categories/7" for 127.0.0.1 at 2012-01-01 19:33:50 -0200 Processing by CategoriesController#show as HTML Parameters: {"id"=>"7"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "7"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/show.html.erb within layouts/application (4.8ms) Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 0.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:33:50 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:50 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:50 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:50 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:33:52 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (9.8ms) Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:33:52 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:52 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:52 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:33:52 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:34:19 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (24.4ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:34:20.063894') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (151.3ms) Completed 200 OK in 204ms (Views: 189.4ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:34:20 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:20 -0200 Served asset /jquery.js - 304 Not Modified (5ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:20 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:20 -0200 Served asset /jquery_ujs.js - 304 Not Modified (2ms) Started DELETE "/categories/5" for 127.0.0.1 at 2012-01-01 19:34:30 -0200 Processing by CategoriesController#destroy as HTML Parameters: {"authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "id"=>"5"} Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "5"]] Post Load (0.1ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 5 SQL (0.3ms) DELETE FROM "categories" WHERE "categories"."id" = ? [["id", 5]] Redirected to http://localhost:3000/categories Completed 302 Found in 370ms Started GET "/categories" for 127.0.0.1 at 2012-01-01 19:34:30 -0200 Processing by CategoriesController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/categories/index.html.erb within layouts/application (9.7ms) Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:34:30 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:30 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:30 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:30 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:34:35 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:34:35.197972') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (21.5ms) Completed 200 OK in 63ms (Views: 27.3ms | ActiveRecord: 0.9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:34:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 19:34:39 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"   (0.2ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 2 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 3 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 4 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 6 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 7 LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (55.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (57.0ms) Completed 200 OK in 72ms (Views: 61.1ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:34:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:39 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:34:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2012-01-01 19:35:23 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "post"=>{"category_ids"=>["7"], "published"=>"1", "title"=>"Ruby é legal", "date(1i)"=>"2012", "date(2i)"=>"1", "date(3i)"=>"1", "date(4i)"=>"21", "date(5i)"=>"34", "excerpt"=>"ruby é uma linguagem legal.", "body"=>"ruby é bom, eu programo e gosto dela."}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 7]]  (0.1ms) SELECT 1 FROM "posts" WHERE "posts"."title" = 'Ruby é legal' LIMIT 1 SQL (0.5ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", "ruby é bom, eu programo e gosto dela."], ["created_at", Sun, 01 Jan 2012 21:35:23 UTC +00:00], ["date", Sun, 01 Jan 2012 21:34:00 UTC +00:00], ["excerpt", "ruby é uma linguagem legal."], ["published", true], ["title", "Ruby é legal"], ["updated_at", Sun, 01 Jan 2012 21:35:23 UTC +00:00]]  (0.2ms) INSERT INTO "categories_posts" ("post_id", "category_id") VALUES (4, 7) Redirected to http://localhost:3000/posts/4-ruby-e-legal Completed 302 Found in 357ms Started GET "/posts/4-ruby-e-legal" for 127.0.0.1 at 2012-01-01 19:35:24 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ruby-e-legal"} Category Load (0.2ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 21:35:24.119727') LIMIT 1 [["id", "4-ruby-e-legal"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.4ms) Completed 200 OK in 28ms (Views: 15.4ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:35:24 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:24 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:24 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:24 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:35:26 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.1ms) Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:35:26.103630') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (24.1ms) Completed 200 OK in 39ms (Views: 28.9ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:35:26 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:26 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:26 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:26 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=7" for 127.0.0.1 at 2012-01-01 19:35:30 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"7"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "7"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 7 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.5ms) Completed 200 OK in 63ms (Views: 21.9ms | ActiveRecord: 1.3ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:30 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:30 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:35:30 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:30 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=6" for 127.0.0.1 at 2012-01-01 19:35:33 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"6"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 6 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (33.7ms) Completed 200 OK in 53ms (Views: 38.7ms | ActiveRecord: 1.2ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:35:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts/new" for 127.0.0.1 at 2012-01-01 19:35:34 -0200 Processing by PostsController#new as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  (0.2ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 2 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 3 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 4 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 6 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" IS NULL AND "categories"."id" = 7 LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (26.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/new.html.erb within layouts/application (27.7ms) Completed 200 OK in 43ms (Views: 32.0ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:35:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:35:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started POST "/posts" for 127.0.0.1 at 2012-01-01 19:37:00 -0200 Processing by PostsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "post"=>{"category_ids"=>["6"], "published"=>"1", "title"=>"google", "date(1i)"=>"2012", "date(2i)"=>"1", "date(3i)"=>"1", "date(4i)"=>"21", "date(5i)"=>"35", "excerpt"=>"google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google", "body"=>", google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google"}, "commit"=>"Create Post"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 6]]  (0.1ms) SELECT 1 FROM "posts" WHERE "posts"."title" = 'google' LIMIT 1 SQL (0.4ms) INSERT INTO "posts" ("body", "created_at", "date", "excerpt", "published", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["body", ", google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google"], ["created_at", Sun, 01 Jan 2012 21:37:01 UTC +00:00], ["date", Sun, 01 Jan 2012 21:35:00 UTC +00:00], ["excerpt", "google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google, google"], ["published", true], ["title", "google"], ["updated_at", Sun, 01 Jan 2012 21:37:01 UTC +00:00]]  (0.1ms) INSERT INTO "categories_posts" ("post_id", "category_id") VALUES (5, 6) Redirected to http://localhost:3000/posts/5-google Completed 302 Found in 154ms Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-01 19:37:01 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 21:37:01.270230') LIMIT 1 [["id", "5-google"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.0ms) Completed 200 OK in 55ms (Views: 14.5ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:37:01 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:01 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:01 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:01 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:37:12 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.2ms) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:37:12.081048') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (53.9ms) Completed 200 OK in 68ms (Views: 58.9ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:37:12 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:12 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:12 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:12 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:37:49 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.1ms) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:37:49.754142') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (53.0ms) Completed 200 OK in 70ms (Views: 59.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:37:49 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:49 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:49 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:37:49 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:38:42 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (7.6ms) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:38:42.692615') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (30.5ms) Completed 200 OK in 48ms (Views: 36.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:38:42 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:42 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:42 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:42 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit/edit" for 127.0.0.1 at 2012-01-01 19:38:47 -0200 Processing by PostsController#edit as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]]  (0.2ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 AND "categories"."id" = 2 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 AND "categories"."id" = 3 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 AND "categories"."id" = 4 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 AND "categories"."id" = 6 LIMIT 1  (0.1ms) SELECT 1 FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2 AND "categories"."id" = 7 LIMIT 1 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_form.html.erb (27.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/edit.html.erb within layouts/application (30.2ms) Completed 200 OK in 47ms (Views: 35.3ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:38:47 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:47 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:47 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:47 -0200 Served asset /application.js - 304 Not Modified (0ms) Started PUT "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 19:38:50 -0200 Processing by PostsController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"f3hY9wjDjPwibjsP0kyGu+rbcJa3xwBaKrD97WZKwow=", "post"=>{"category_ids"=>["2"], "published"=>"1", "title"=>"Ford Mondeo desfila camuflado antes de Detroit", "date(1i)"=>"2012", "date(2i)"=>"1", "date(3i)"=>"1", "date(4i)"=>"16", "date(5i)"=>"22", "excerpt"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.", "body"=>"A chegada do novo Ford Mondeo é esperada para 2012. A apresentação do modelo está programada para acontecer no Salão de Detroit, em janeiro, onde ele será apresentado como Ford Fusion. Enquanto isso, o novo sedã médio-grande da Ford passa por testes e, durante um deles, acabou sendo flagrado pelas lentes do portal Infomotori, parceiro editorial de MotorDream. O Mondeo seguirá a tendência atual da marca do oval azul e será um modelo global.\r\n\r\nO motor do novo sedã deve ser ECOBoost e usar a tecnologia ECOnetic, que faz dos carros da fabricante os não-híbridos mais eficientes do mercado europeu. A ECOnetic já estará disponível a partir de meados de 2012 no Focus e no Fiesta. Essa tecnologia faz parte da política da marca de reduzir em 30% as emissões e o consumo dos modelos até 2020.\r\n\r\nProvavelmente a Ford oferecerá toda sua linha de motores no Mondeo, entre eles a versão 1.6 e 2.0 turbocharged com 4 cilindros e capacidade de gerar até 253 cv. Na Europa, há a possibilidade de a fabricante oferecer uma versão híbrida, além de versões a diesel.\r\n\r\nO Mondeo 2013 é o primeiro da marca do oval azul a incorporar as linhas do Evos Concept (apresentado no Salão de Frankfurt em 2011), e, além do sedã, terá também variantes station wagon e notchback."}, "commit"=>"Update Post", "id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 2]] Category Load (0.1ms) SELECT "categories".* FROM "categories" INNER JOIN "categories_posts" ON "categories"."id" = "categories_posts"."category_id" WHERE "categories_posts"."post_id" = 2  (0.1ms) SELECT 1 FROM "posts" WHERE ("posts"."title" = 'Ford Mondeo desfila camuflado antes de Detroit' AND "posts"."id" != 2) LIMIT 1 Redirected to http://localhost:3000/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit Completed 302 Found in 30ms Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 19:38:50 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 21:38:50.428747') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.3ms) Completed 200 OK in 53ms (Views: 40.7ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:38:50 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:50 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:50 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:50 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:38:51 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.2ms) Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:38:51.897521') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (25.1ms) Completed 200 OK in 69ms (Views: 58.6ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:51 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:51 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:51 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:38:51 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-01 19:38:53 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (7.0ms) Completed 200 OK in 27ms (Views: 11.7ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:38:53 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:53 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:53 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:53 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 19:38:55 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (20.3ms) Completed 200 OK in 40ms (Views: 25.6ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:38:55 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:55 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:55 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:55 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=7" for 127.0.0.1 at 2012-01-01 19:38:57 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"7"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "7"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 7 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (17.7ms) Completed 200 OK in 64ms (Views: 22.5ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:38:57 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:57 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:57 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:57 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=6" for 127.0.0.1 at 2012-01-01 19:38:59 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"6"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.4ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 6 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.9ms) Completed 200 OK in 64ms (Views: 49.7ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:38:59 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:59 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:59 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:38:59 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-01 19:39:00 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.5ms) Completed 200 OK in 26ms (Views: 11.3ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:00 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:00 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:00 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:00 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 19:39:02 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.5ms) Completed 200 OK in 26ms (Views: 11.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:02 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:02 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:02 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:02 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 19:39:03 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (19.9ms) Completed 200 OK in 41ms (Views: 25.5ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:03 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:03 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:03 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:03 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 19:39:04 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.7ms) Completed 200 OK in 54ms (Views: 11.7ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:04 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.6ms) Completed 200 OK in 26ms (Views: 11.8ms | ActiveRecord: 1.2ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=6" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"6"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 6 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.3ms) Completed 200 OK in 36ms (Views: 21.0ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:05 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=7" for 127.0.0.1 at 2012-01-01 19:39:06 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"7"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "7"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 7 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.2ms) Completed 200 OK in 36ms (Views: 21.5ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:06 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:06 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:06 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:06 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=6" for 127.0.0.1 at 2012-01-01 19:39:08 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"6"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 6 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.3ms) Completed 200 OK in 64ms (Views: 21.1ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:08 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:08 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:08 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:08 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-01 19:39:09 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.2ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.9ms) Completed 200 OK in 56ms (Views: 39.7ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:09 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:09 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:09 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:09 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.6ms) Completed 200 OK in 34ms (Views: 13.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (19.6ms) Completed 200 OK in 40ms (Views: 24.7ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:39:10 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 19:40:25 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (82.6ms) Completed 200 OK in 103ms (Views: 88.2ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:25 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:25 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:25 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:25 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-01 19:40:32 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.0ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (5.9ms) Completed 200 OK in 25ms (Views: 10.9ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:32 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:32 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:32 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:32 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-01 19:40:33 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 26ms (Views: 11.2ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=6" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"6"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 6 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (15.9ms) Completed 200 OK in 64ms (Views: 48.8ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:34 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=7" for 127.0.0.1 at 2012-01-01 19:40:35 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"7"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "7"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 7 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (43.1ms) Completed 200 OK in 63ms (Views: 47.9ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-01 19:40:37 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (19.3ms) Completed 200 OK in 39ms (Views: 24.5ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:37 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:37 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:37 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:37 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-01 19:40:42 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-01 21:40:42.700348') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (8.6ms) Completed 200 OK in 26ms (Views: 14.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:42 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:42 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:42 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:42 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:40:45 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.9ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:40:45.615264') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:40:45.615264') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (23.4ms) Completed 200 OK in 66ms (Views: 28.2ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:45 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:45 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:45 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:45 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:40:53 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (34.0ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:40:53.107157') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:40:53.107157') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (51.6ms) Completed 200 OK in 67ms (Views: 56.8ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:40:53 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:53 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:53 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:40:53 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-01 19:41:24 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.6ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:41:24.643634') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-01 21:41:24.643634') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (52.6ms) Completed 200 OK in 68ms (Views: 58.0ms | ActiveRecord: 1.1ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-01 19:41:24 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-01 19:41:24 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-01 19:41:24 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-01 19:41:24 -0200 Served asset /application.css - 304 Not Modified (0ms)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateCategories (20111231175637) Migrating to CreatePosts (20111231181111) Migrating to CreateCategoriesPosts (20111231183528) Migrating to CreateComments (20120102163952)  (0.2ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar(255), "email" varchar(255), "url" varchar(255), "body" text, "post_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102163952')  (0.3ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("categories")  (0.0ms) PRAGMA index_list("categories_posts")  (0.0ms) PRAGMA index_list("comments")  (0.0ms) PRAGMA index_list("posts") Started GET "/" for 127.0.0.1 at 2012-01-02 14:56:25 -0200 ActionController::RoutingError (No route matches [GET] "/"): Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (3.5ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 14:56:32 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (7.1ms)  (17.7ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 16:56:33.231226') Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 16:56:33.231226') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (258.1ms) Completed 200 OK in 510ms (Views: 399.2ms | ActiveRecord: 18.9ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:33 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:56:34 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:34 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:34 -0200 Served asset /jquery_ujs.js - 304 Not Modified (1ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-02 14:56:56 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.2ms) SELECT "categories".* FROM "categories" Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.6ms) Post Load (4.3ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (111.2ms) Completed 200 OK in 210ms (Views: 114.5ms | ActiveRecord: 5.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:56:56 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:56 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:56 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:56 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=6" for 127.0.0.1 at 2012-01-02 14:56:59 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"6"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.3ms) Post Load (14.6ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 6 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (31.6ms) Completed 200 OK in 53ms (Views: 23.0ms | ActiveRecord: 15.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:56:59 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:59 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:59 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:56:59 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-02 14:57:00 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.8ms) Completed 200 OK in 37ms (Views: 12.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:00 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:00 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:00 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:00 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=7" for 127.0.0.1 at 2012-01-02 14:57:01 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"7"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "7"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 7 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.2ms) Completed 200 OK in 63ms (Views: 21.3ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:01 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:01 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:01 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:01 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-02 14:57:02 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.2ms) SELECT "categories".* FROM "categories" Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (48.4ms) Completed 200 OK in 70ms (Views: 53.5ms | ActiveRecord: 2.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:02 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:02 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:02 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:02 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-02 14:57:03 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.9ms) Completed 200 OK in 28ms (Views: 12.4ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:03 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:03 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:03 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:03 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-02 14:57:04 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (3.4ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (8.0ms) Completed 200 OK in 31ms (Views: 14.0ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:04 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-02 14:57:05 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.2ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (18.7ms) Completed 200 OK in 40ms (Views: 24.0ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:05 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:05 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:05 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:05 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-02 14:57:06 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.6ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (7.0ms) Completed 200 OK in 55ms (Views: 12.6ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:06 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:06 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:06 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:06 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=6" for 127.0.0.1 at 2012-01-02 14:57:07 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"6"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.8ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 6 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (43.4ms) Completed 200 OK in 64ms (Views: 48.4ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:07 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:07 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:07 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:07 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=7" for 127.0.0.1 at 2012-01-02 14:57:08 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"7"} Category Load (0.2ms) SELECT "categories".* FROM "categories" Category Load (3.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "7"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 7 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.0ms) Completed 200 OK in 43ms (Views: 23.5ms | ActiveRecord: 4.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:08 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:08 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:08 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:08 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts/4-ruby-e-legal" for 127.0.0.1 at 2012-01-02 14:57:11 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ruby-e-legal"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 16:57:11.084967') LIMIT 1 [["id", "4-ruby-e-legal"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (10.5ms) Completed 200 OK in 28ms (Views: 16.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:11 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:11 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:11 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:11 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 14:57:13 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.2ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 16:57:13.150727') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 16:57:13.150727') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (25.7ms) Completed 200 OK in 70ms (Views: 30.7ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 14:57:13 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:13 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:13 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 14:57:13 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 15:31:56 -0200 Processing by PostsController#index as HTML Category Load (0.2ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.5ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:32:05.251016') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:32:05.251016') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (60.7ms) Completed 200 OK in 191ms (Views: 163.1ms | ActiveRecord: 1.6ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:32:05 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:32:05.511383') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (162.9ms) Completed 500 Internal Server Error in 178ms ActionView::Template::Error (undefined method `comments' for #): 16:

17: 18: 19: <%= render @post.comments || "Nobody commented this post yet." %> 20: 21: <%= link_to 'Edit', edit_post_path(@post) %> | 22: <%= link_to 'Back', posts_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.4ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:32:05 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:32:06.013096') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (8.3ms) Completed 500 Internal Server Error in 25ms ActionView::Template::Error (undefined method `comments' for #): 16:

17: 18: 19: <%= render @post.comments || "Nobody commented this post yet." %> 20: 21: <%= link_to 'Edit', edit_post_path(@post) %> | 22: <%= link_to 'Back', posts_path %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:33:16 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:33:16.300921') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (1.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (30.7ms) Completed 500 Internal Server Error in 73ms ActionView::Template::Error (undefined method `model_name' for NilClass:Class): 1: <%= div_for comment, :class => "comment" do %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.3ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:33:30 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:33:30.570970') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (0.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (9.1ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `model_name' for NilClass:Class): 1: <%= div_for comment, :class => "comment" do %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (30.4ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:33:57 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:33:57.972289') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (0.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (8.7ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `model_name' for NilClass:Class): 1: <%= div_for comment, :class => "comment" do %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.3ms) Started GET "/posts/" for 127.0.0.1 at 2012-01-02 15:34:19 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (6.0ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:34:19.775603') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:34:19.775603') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (22.5ms) Completed 200 OK in 37ms (Views: 27.3ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:34:19 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:34:19 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:34:19 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:34:19 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:34:21 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:34:21.951994') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (9.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (18.7ms) Completed 500 Internal Server Error in 33ms ActionView::Template::Error (undefined method `model_name' for NilClass:Class): 1: <%= div_for comment, :class => "comment" do %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.8ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:34:59 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:34:59.111198') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (34.5ms) Completed 500 Internal Server Error in 49ms ActionView::Template::Error (undefined method `comments' for #): 16:

17: 18: 19: <%= render @post.comments || "Nobody commented this post yet." %> 20: <%= render "comments/form", :post => @post, :comment => Comment.new %> 21: 22: <%= link_to 'Edit', edit_post_path(@post) %> | Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:36:08 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:36:08.712376') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (238.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (357.7ms) Completed 500 Internal Server Error in 372ms ActionView::Template::Error (undefined method `post_comments_path' for #<#:0x00000004d0d078>): 1: <%= form_for [post, comment] do |f| %> 2: 3: <%= error_messages_for comment %> 4: Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:36:51 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:36:51.548647') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (111.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (127.3ms) Completed 500 Internal Server Error in 142ms ActionView::Template::Error (undefined method `error_messages_for' for #<#:0x00000004199390>): 1: <%= form_for [post, comment] do |f| %> 2: 3: <%= error_messages_for comment %> 4: 5:
6: <%= f.label :author %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:37:59 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:37:59.799050') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (43.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (87.6ms) Completed 200 OK in 103ms (Views: 92.2ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:37:59 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:37:59 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:37:59 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:37:59 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 15:38:23 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (34.4ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:38:23.146795') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:38:23.146795') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (51.2ms) Completed 200 OK in 66ms (Views: 56.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:38:23 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:38:23 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:38:23 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:38:23 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 15:39:04 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.7ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:39:04.582395') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:39:04.582395') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (51.4ms) Completed 200 OK in 67ms (Views: 56.5ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:04 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:39:06 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:39:06.369893') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (12.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (58.4ms) Completed 200 OK in 75ms (Views: 63.4ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:06 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:06 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:06 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:06 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:39:28 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:39:28.164534') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (12.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (58.8ms) Completed 200 OK in 75ms (Views: 63.5ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:28 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:28 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:28 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:28 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 15:39:33 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.6ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:39:33.321133') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:39:33.321133') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (51.3ms) Completed 200 OK in 66ms (Views: 56.7ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts?category_id=2" for 127.0.0.1 at 2012-01-02 15:39:34 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"2"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "2"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.9ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 2 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (46.8ms) Completed 200 OK in 67ms (Views: 51.8ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts?category_id=3" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"3"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "3"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (1.9ms) Post Load (0.3ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 3 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 26ms (Views: 11.1ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts?category_id=4" for 127.0.0.1 at 2012-01-02 15:39:36 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"4"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "4"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 4 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (6.7ms) Completed 200 OK in 26ms (Views: 11.6ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:36 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:36 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:36 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:36 -0200 Served asset /application.js - 304 Not Modified (2ms) Started GET "/posts?category_id=6" for 127.0.0.1 at 2012-01-02 15:39:37 -0200 Processing by PostsController#index as HTML Parameters: {"category_id"=>"6"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "6"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (2.1ms) Post Load (0.2ms) SELECT "posts".* FROM "posts" INNER JOIN "categories_posts" ON "posts"."id" = "categories_posts"."post_id" WHERE "categories_posts"."category_id" = 6 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (16.0ms) Completed 200 OK in 36ms (Views: 21.5ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:37 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:37 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:37 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:37 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:39:38 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:39:38.444732') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (11.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (29.0ms) Completed 200 OK in 74ms (Views: 33.6ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:39:38 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:39:38 -0200 Served asset /application.js - 304 Not Modified (0ms) Started POST "/posts/5-google/comments" for 127.0.0.1 at 2012-01-02 15:39:49 -0200 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"K3n5uDfUmCxnlyArwH8t7psOCQctqt6eEuZ7nwHMvVA=", "comment"=>{"author"=>"hahahhaha", "email"=>"email@exemplo.com", "url"=>"https://tecnobest.tk", "body"=>"ddasasddadadaaadasdadasds"}, "commit"=>"Create Comment", "post_id"=>"5-google"} Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "5-google"]] SQL (474.6ms) INSERT INTO "comments" ("author", "body", "created_at", "email", "post_id", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["author", "hahahhaha"], ["body", "ddasasddadadaaadasdadasds"], ["created_at", Mon, 02 Jan 2012 17:39:50 UTC +00:00], ["email", "email@exemplo.com"], ["post_id", 5], ["updated_at", Mon, 02 Jan 2012 17:39:50 UTC +00:00], ["url", "https://tecnobest.tk"]] Redirected to http://localhost:3000/posts/5-google Completed 302 Found in 610ms Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:39:50 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:39:50.651261') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (105.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (130.6ms) Completed 500 Internal Server Error in 172ms ActionView::Template::Error (undefined method `gravatar_image_tag' for #<#:0x00000004852470>): 1: <%= div_for comment, :class => "comment" do %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
5:
6: <%= comment_author(comment.author, comment.url) %>
7: Posted <%= time_ago_in_words comment.created_at %> ago Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:40:22 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:40:22.465372') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (68.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (113.2ms) Completed 500 Internal Server Error in 127ms ActionView::Template::Error (undefined method `gravatar_image_tag' for #<#:0x00000004e93b90>): 1: <%= div_for comment, :class => "comment" do %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
5:
6: <%= comment_author(comment.author, comment.url) %>
7: Posted <%= time_ago_in_words comment.created_at %> ago Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:43:21 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:43:21.698516') LIMIT 1 [["id", "5-google"]] Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (12.4ms) Completed 500 Internal Server Error in 27ms ActionView::Template::Error (Unknown validator: 'CommentValidator'): 16:

17: 18:
19: <%= render @post.comments || "Nobody commented this post yet." %> 20: <%= render "comments/form", :post => @post, :comment => Comment.new %> 21: 22: <%= link_to 'Edit', edit_post_path(@post) %> | Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.4ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:44:14 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:44:14.774204') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (120.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (137.8ms) Completed 500 Internal Server Error in 153ms ActionView::Template::Error (undefined method `gravatar_image_tag' for #<#:0x00000004a8ed60>): 1: <%= div_for comment, :class => "comment" do %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
5:
6: <%= comment_author(comment.author, comment.url) %>
7: Posted <%= time_ago_in_words comment.created_at %> ago Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:44:42 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:44:42.443950') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (84.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (101.9ms) Completed 500 Internal Server Error in 117ms ActionView::Template::Error (undefined method `comment_author' for #<#:0x000000049be3e0>): 2: 3:
4:
5: <%= comment_author(comment.author, comment.url) %>
6: Posted <%= time_ago_in_words comment.created_at %> ago 7:
8:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:46:31 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:46:31.621323') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (1.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (19.3ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each): 1: <% @comments.each do |comment| %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:46:37 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:46:37.607088') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (0.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (19.1ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each): 1: <% @comments.each do |comment| %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.4ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:46:38 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:46:38.580790') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (0.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (19.0ms) Completed 500 Internal Server Error in 34ms ActionView::Template::Error (You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each): 1: <% @comments.each do |comment| %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:46:57 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:46:57.685496') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (1.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (19.7ms) Completed 500 Internal Server Error in 35ms ActionView::Template::Error (You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each): 1: <% @comments.each do |comment| %> 2: 3: 4: <%= comment.body %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:47:07 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:47:07.368595') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (82.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (100.9ms) Completed 500 Internal Server Error in 116ms ActionView::Template::Error (undefined method `gravatar_image_tag' for #<#:0x000000039ea090>): 1: <%= div_for comment, :class => "comment" do %> 2: 3:
4:
<%= gravatar_image_tag comment.email %>
5:
6: <%= comment_author(comment.author, comment.url) %>
7: Posted <%= time_ago_in_words comment.created_at %> ago Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:47:22 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:47:22.967185') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (82.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (101.0ms) Completed 500 Internal Server Error in 142ms ActionView::Template::Error (undefined method `comment_author' for #<#:0x000000030a0f48>): 3:
4: 5:
6: <%= comment_author(comment.author, comment.url) %>
7: Posted <%= time_ago_in_words comment.created_at %> ago 8:
9:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:47:33 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:47:33.695339') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 ERROR: compiling __home_phinfonet_projetos_pessoais_blogmodule_app_views_comments__comment_html_erb__2876856541231502718_32775220 RAISED /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:6: syntax error, unexpected ')', expecting '=' ...(comment.author, comment.url) );@output_buffer.safe_concat('... ... ^ /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:14: syntax error, unexpected keyword_end, expecting ')' '); end ;@output_buffer.to_s ^ /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:15: syntax error, unexpected keyword_ensure, expecting ')' /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:17: syntax error, unexpected keyword_end, expecting ')' Function body: def __home_phinfonet_projetos_pessoais_blogmodule_app_views_comments__comment_html_erb__2876856541231502718_32775220(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "comments/_comment";_old_output_buffer = @output_buffer;comment = local_assigns[:comment];comment_counter = local_assigns[:comment_counter];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= div_for comment, :class => "comment" do @output_buffer.safe_concat(' ');@output_buffer.safe_concat('
');@output_buffer.append= ( (comment.author, comment.url) );@output_buffer.safe_concat('
Posted ');@output_buffer.append= ( time_ago_in_words comment.created_at );@output_buffer.safe_concat(' ago
');@output_buffer.append= ( comment.body );@output_buffer.safe_concat(' ');@output_buffer.safe_concat('
'); end ;@output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `module_eval' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `compile' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:334:in `block in collection_with_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:331:in `each' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:331:in `collection_with_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:241:in `render_collection' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:224:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:223:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:219:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:41:in `render_partial' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/helpers/rendering_helper.rb:27:in `render' /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb:19:in `__home_phinfonet_projetos_pessoais_blogmodule_app_views_posts_show_html_erb__1598244093900383625_41201200' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:171:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:195:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /home/phinfonet/projetos/pessoais/blogmodule/app/controllers/posts_controller.rb:22:in `show' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:425:in `_run__4222272641519117634__process_action__3630446096960218640__callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236:in `block in action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:110:in `optimized_each' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/etag.rb:23:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/conditionalget.rb:25:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195:in `context' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392:in `_run_call_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/sendfile.rb:101:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/logger.rb:13:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/methodoverride.rb:24:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/runtime.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/lock.rb:15:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/engine.rb:456:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/content_length.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (0.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (45.8ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (/home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:6: syntax error, unexpected ')', expecting '=' ...(comment.author, comment.url) );@output_buffer.safe_concat('... ... ^ /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:14: syntax error, unexpected keyword_end, expecting ')' '); end ;@output_buffer.to_s ^ /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:15: syntax error, unexpected keyword_ensure, expecting ')' /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:17: syntax error, unexpected keyword_end, expecting ')'): 3:
4: 5:
6: <%= (comment.author, comment.url) %>
7: Posted <%= time_ago_in_words comment.created_at %> ago 8:
9:
Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.5ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:47:40 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:47:40.087564') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (18.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (69.0ms) Completed 200 OK in 85ms (Views: 74.2ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:47:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:47:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:47:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:47:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:48:13 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:48:13.414467') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (62.2ms) Completed 200 OK in 79ms (Views: 66.9ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:13 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:13 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:48:13 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:13 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:48:33 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:48:33.468958') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (9.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (4.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (63.4ms) Completed 200 OK in 80ms (Views: 68.1ms | ActiveRecord: 1.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:48:33 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:33 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:33 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:33 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:48:57 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:48:57.397298') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (32.4ms) Completed 200 OK in 76ms (Views: 37.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:48:57 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:57 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:57 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:48:57 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:49:12 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:49:12.236533') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (33.3ms) Completed 200 OK in 77ms (Views: 38.0ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:49:12 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:12 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:12 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:12 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:49:35 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:49:35.845014') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (9.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (32.6ms) Completed 200 OK in 49ms (Views: 37.2ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:49:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:49:40 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:49:40.183652') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (31.7ms) Completed 200 OK in 48ms (Views: 36.5ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:40 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:49:40 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:40 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:49:40 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:50:00 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:50:00.340605') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (85.1ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (103.3ms) Completed 500 Internal Server Error in 119ms ActionView::Template::Error (undefined local variable or method `blank' for #<#:0x00000003e98a38>): 1: <%= div_for comment, :class => "comment" do %> 2: 3: Posted <%= time_ago_in_words comment.created_at %> ago
4: <%= link_to comment.author :target => blank %>
5: <%= comment.body %> 6: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:50:15 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:50:15.429823') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (4.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (32.9ms) Completed 200 OK in 75ms (Views: 37.7ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:15 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:15 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:50:15 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:15 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:50:17 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:50:17.263968') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (32.3ms) Completed 200 OK in 49ms (Views: 37.3ms | ActiveRecord: 1.5ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:17 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:17 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:50:17 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:17 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:50:17 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:50:18.052460') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.2ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (31.9ms) Completed 200 OK in 49ms (Views: 36.8ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:50:18.734000') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (32.1ms) Completed 200 OK in 49ms (Views: 37.1ms | ActiveRecord: 1.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:18 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:50:19 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:50:19.422128') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (4.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (32.0ms) Completed 200 OK in 49ms (Views: 36.9ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:50:19 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:19 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:19 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:19 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 15:50:21 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:50:21.831730') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (31.9ms) Completed 200 OK in 49ms (Views: 36.8ms | ActiveRecord: 1.6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:21 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:50:21 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:21 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:50:21 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 15:52:14 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories" Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (10.0ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:52:14.577275') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 17:52:14.577275') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (30.5ms) Completed 200 OK in 45ms (Views: 35.2ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:52:14 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:14 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:14 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:14 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 15:52:18 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:52:18.448896') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (11.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (30.1ms) Completed 200 OK in 47ms (Views: 35.3ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:52:18 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:18 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:18 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:18 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011" for 127.0.0.1 at 2012-01-02 15:52:24 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 17:52:24.453434') LIMIT 1 [["id", "3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 3 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (11.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (30.8ms) Completed 200 OK in 47ms (Views: 35.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 15:52:24 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:24 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:24 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 15:52:24 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 16:02:30 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.7ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 18:02:30.227115') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 18:02:30.227115') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (23.0ms) Completed 200 OK in 39ms (Views: 27.7ms | ActiveRecord: 1.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:02:30 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:30 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/2-ford-mondeo-desfila-camuflado-antes-de-detroit" for 127.0.0.1 at 2012-01-02 16:02:31 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"2-ford-mondeo-desfila-camuflado-antes-de-detroit"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:02:31.753032') LIMIT 1 [["id", "2-ford-mondeo-desfila-camuflado-antes-de-detroit"]] Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 2 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (11.7ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (31.0ms) Completed 200 OK in 47ms (Views: 35.5ms | ActiveRecord: 1.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:02:31 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:31 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:31 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:31 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 16:02:35 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.7ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 18:02:35.341820') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 18:02:35.341820') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (23.3ms) Completed 200 OK in 39ms (Views: 28.6ms | ActiveRecord: 1.3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:35 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:35 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:35 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:02:35 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/posts/3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011" for 127.0.0.1 at 2012-01-02 16:02:36 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:02:36.599348') LIMIT 1 [["id", "3-industria-automobilistica-embala-arrecadacao-recorde-de-impostos-em-2011"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 3 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (11.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (31.0ms) Completed 200 OK in 47ms (Views: 35.6ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:02:36 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:36 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:36 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:36 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 16:02:38 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.7ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 18:02:38.703546') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 18:02:38.703546') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (22.3ms) Completed 200 OK in 37ms (Views: 27.0ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:02:38 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:38 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:38 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:38 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/4-ruby-e-legal" for 127.0.0.1 at 2012-01-02 16:02:39 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"4-ruby-e-legal"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:02:39.736943') LIMIT 1 [["id", "4-ruby-e-legal"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 4 Rendered collection (0.0ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (12.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (31.2ms) Completed 200 OK in 48ms (Views: 36.4ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:02:39 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:39 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:39 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:39 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts" for 127.0.0.1 at 2012-01-02 16:02:41 -0200 Processing by PostsController#index as HTML Category Load (0.1ms) SELECT "categories".* FROM "categories"  Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/_categories.html.erb (5.8ms)  (0.2ms) SELECT COUNT(*) FROM "posts" WHERE (published = 't' AND date < '2012-01-02 18:02:41.802525') Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE (published = 't' AND date < '2012-01-02 18:02:41.802525') Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/index.html.erb within layouts/application (22.3ms) Completed 200 OK in 37ms (Views: 27.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:02:41 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:41 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:41 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:02:41 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 16:02:43 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:02:43.612844') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (85.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (104.0ms) Completed 500 Internal Server Error in 119ms ActionView::Template::Error (undefined local variable or method `target' for #<#:0x00000003f05b60>): 1: <%= div_for comment, :class => "comment" do %> 2: 3: Posted <%= time_ago_in_words comment.created_at %> ago
4: <%= link_to comment.author, target => '_blank' %>
5: <%= comment.body %> 6: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms) Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 16:03:01 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:03:01.453218') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (9.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.6ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (33.8ms) Completed 200 OK in 76ms (Views: 38.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:03:01 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:01 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:01 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:01 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/posts/5-google?target=_blank" for 127.0.0.1 at 2012-01-02 16:03:04 -0200 Processing by PostsController#show as HTML Parameters: {"target"=>"_blank", "id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:03:04.384492') LIMIT 1 [["id", "5-google"]] Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (8.9ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.3ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (33.0ms) Completed 200 OK in 77ms (Views: 37.4ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:03:04 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:04 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:04 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:04 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started POST "/posts/5-google/comments" for 127.0.0.1 at 2012-01-02 16:03:13 -0200 Processing by CommentsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"K3n5uDfUmCxnlyArwH8t7psOCQctqt6eEuZ7nwHMvVA=", "comment"=>{"author"=>"hahahhaha", "email"=>"email@exemplo.com", "url"=>"https://tecnobest.tk", "body"=>"fsdadsasd"}, "commit"=>"Create Comment", "post_id"=>"5-google"} Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "5-google"]] SQL (0.4ms) INSERT INTO "comments" ("author", "body", "created_at", "email", "post_id", "updated_at", "url") VALUES (?, ?, ?, ?, ?, ?, ?) [["author", "hahahhaha"], ["body", "fsdadsasd"], ["created_at", Mon, 02 Jan 2012 18:03:13 UTC +00:00], ["email", "email@exemplo.com"], ["post_id", 5], ["updated_at", Mon, 02 Jan 2012 18:03:13 UTC +00:00], ["url", "https://tecnobest.tk"]] Redirected to http://localhost:3000/posts/5-google Completed 302 Found in 226ms Started GET "/posts/5-google" for 127.0.0.1 at 2012-01-02 16:03:13 -0200 Processing by PostsController#show as HTML Parameters: {"id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:03:13.484314') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (9.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.4ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (62.1ms) Completed 200 OK in 78ms (Views: 66.9ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:03:13 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:13 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:13 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:13 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/5-google?target=_blank" for 127.0.0.1 at 2012-01-02 16:03:15 -0200 Processing by PostsController#show as HTML Parameters: {"target"=>"_blank", "id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:03:15.286763') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (9.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (33.3ms) Completed 200 OK in 78ms (Views: 66.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:03:15 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:15 -0200 Served asset /jquery.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:15 -0200 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:03:15 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/posts/5-google?target=_blank" for 127.0.0.1 at 2012-01-02 16:07:40 -0200 Processing by PostsController#show as HTML Parameters: {"target"=>"_blank", "id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories"  Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:07:40.937297') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 ERROR: compiling __home_phinfonet_projetos_pessoais_blogmodule_app_views_comments__comment_html_erb__2876856541231502718_38633040 RAISED /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:4: syntax error, unexpected tSYMBEG, expecting ')' ...o comment.author, comment.url :target => '_blank' );@output... ... ^ Function body: def __home_phinfonet_projetos_pessoais_blogmodule_app_views_comments__comment_html_erb__2876856541231502718_38633040(local_assigns, output_buffer) _old_virtual_path, @virtual_path = @virtual_path, "comments/_comment";_old_output_buffer = @output_buffer;comment = local_assigns[:comment];comment_counter = local_assigns[:comment_counter];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= div_for comment, :class => "comment" do @output_buffer.safe_concat(' ');@output_buffer.safe_concat(' Posted ');@output_buffer.append= ( time_ago_in_words comment.created_at );@output_buffer.safe_concat(' ago
');@output_buffer.append= ( link_to comment.author, comment.url :target => '_blank' );@output_buffer.safe_concat('
');@output_buffer.append= ( comment.body );@output_buffer.safe_concat(' '); end ;@output_buffer.to_s ensure @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer end Backtrace: /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `module_eval' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:309:in `compile' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:217:in `compile!' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:170:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:334:in `block in collection_with_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:331:in `each' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:331:in `collection_with_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:241:in `render_collection' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:224:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:223:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/partial_renderer.rb:219:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:41:in `render_partial' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/helpers/rendering_helper.rb:27:in `render' /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb:19:in `__home_phinfonet_projetos_pessoais_blogmodule_app_views_posts_show_html_erb__1598244093900383625_41201200' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:171:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/template.rb:169:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:40:in `block (2 levels) in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:39:in `block in render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:47:in `render_with_layout' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:38:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:12:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/abstract_renderer.rb:22:in `wrap_formats' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/template_renderer.rb:9:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:36:in `render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_view/renderer/renderer.rb:17:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:120:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/streaming.rb:250:in `_render_template' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:114:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/renderers.rb:30:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/compatibility.rb:43:in `render_to_body' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:99:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:16:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/core_ext/benchmark.rb:5:in `ms' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:40:in `block in render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:39:in `render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:268:in `block in retrieve_response_from_mimes' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:195:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/mime_responds.rb:195:in `respond_to' /home/phinfonet/projetos/pessoais/blogmodule/app/controllers/posts_controller.rb:22:in `show' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:425:in `_run__4222272641519117634__process_action__3630446096960218640__callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rescue.rb:17:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `block in instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/notifications.rb:53:in `instrument' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/instrumentation.rb:29:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/params_wrapper.rb:201:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:121:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/abstract_controller/rendering.rb:45:in `process' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:193:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_controller/metal.rb:236:in `block in action' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:65:in `dispatch' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:29:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:152:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:96:in `block in recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:110:in `optimized_each' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/code_generation.rb:95:in `recognize' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:141:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:532:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/etag.rb:23:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/conditionalget.rb:25:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/head.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/flash.rb:247:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:195:in `context' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/session/abstract/id.rb:190:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/cookies.rb:331:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/query_cache.rb:64:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.1.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:392:in `_run_call_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/callbacks.rb:28:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/reloader.rb:68:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/sendfile.rb:101:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/remote_ip.rb:48:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/logger.rb:13:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/methodoverride.rb:24:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/runtime.rb:17:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/lock.rb:15:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/static.rb:53:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/engine.rb:456:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/content_length.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.3/lib/rails/rack/log_tailer.rb:14:in `call' /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.6/lib/rack/handler/webrick.rb:59:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' /home/phinfonet/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (0.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (19.0ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (/home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb:4: syntax error, unexpected tSYMBEG, expecting ')' ...o comment.author, comment.url :target => '_blank' );@output... ... ^): 1: <%= div_for comment, :class => "comment" do %> 2: 3: Posted <%= time_ago_in_words comment.created_at %> ago
4: <%= link_to comment.author, comment.url :target => '_blank' %>
5: <%= comment.body %> 6: <% end %> Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) Rendered /home/phinfonet/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/posts/5-google?target=_blank" for 127.0.0.1 at 2012-01-02 16:08:00 -0200 Processing by PostsController#show as HTML Parameters: {"target"=>"_blank", "id"=>"5-google"} Category Load (0.1ms) SELECT "categories".* FROM "categories" Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? AND (published = 't' AND date < '2012-01-02 18:08:00.830223') LIMIT 1 [["id", "5-google"]] Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = 5 Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_comment.html.erb (9.5ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/comments/_form.html.erb (3.8ms) Rendered /home/phinfonet/projetos/pessoais/blogmodule/app/views/posts/show.html.erb within layouts/application (34.4ms) Completed 200 OK in 82ms (Views: 39.4ms | ActiveRecord: 1.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-01-02 16:08:00 -0200 Served asset /application.css - 304 Not Modified (0ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-01-02 16:08:00 -0200 Served asset /jquery.js - 304 Not Modified (1ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-01-02 16:08:00 -0200 Served asset /jquery_ujs.js - 304 Not Modified (0ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-01-02 16:08:00 -0200 Served asset /application.js - 304 Not Modified (0ms)