test/dummy/log/development.log in csv_rails-0.3.0 vs test/dummy/log/development.log in csv_rails-0.4.0
- old
+ new
@@ -1,81 +1,238 @@
- [1m[36mSQL (0.8ms)[0m [1m SELECT name
+
+
+Started GET "/" for 127.0.0.1 at 2012-03-25 13:17:13 +0900
+
+ActionController::RoutingError (No route matches "/"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/users" for 127.0.0.1 at 2012-03-25 13:17:16 +0900
+ Processing by UsersController#index as HTML
+ [1m[36mSQL (0.6ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (0.1ms)[0m SELECT name
+ [1m[35mSQL (0.2ms)[0m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
- [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
- [1m[35mSQL (0.3ms)[0m select sqlite_version(*)
[1m[36mSQL (0.1ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (36.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "secret" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36mSQL (0.4ms)[0m [1m SELECT name
+ [1m[35mSQL (0.1ms)[0m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (12.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35mSQL (14.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mSQL (0.5ms)[0m [1m SELECT name
+ [1m[36mSQL (0.1ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (0.2ms)[0m SELECT version FROM "schema_migrations"
- [1m[36mSQL (12.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120323112247')[0m
- [1m[36mSQL (0.5ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
[1m[35mSQL (0.1ms)[0m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
- [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
- [1m[35mSQL (0.2ms)[0m select sqlite_version(*)
- [1m[36mSQL (0.1ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (36.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "secret" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
[1m[36mSQL (0.2ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (12.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35mSQL (15.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mSQL (0.3ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.1ms)[0m SELECT version FROM "schema_migrations"
- [1m[36mSQL (11.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120323112247')[0m
- [1m[36mSQL (0.6ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
[1m[35mSQL (0.1ms)[0m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
- [1m[36mSQL (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
- [1m[35mSQL (0.2ms)[0m select sqlite_version(*)
- [1m[36mSQL (0.1ms)[0m [1m SELECT name
+Rendered users/index.html.erb within layouts/application (16.7ms)
+Completed 500 Internal Server Error in 44ms
+
+ActionView::Template::Error (undefined local variable or method `csrf_meta_tags' for #<#<Class:0xa638904>:0xa637b94>):
+ 4: <title>Dummy</title>
+ 5: <%= stylesheet_link_tag "application", :media => "all" %>
+ 6: <%= javascript_include_tag "application" %>
+ 7: <%= csrf_meta_tags %>
+ 8: </head>
+ 9: <body>
+ 10:
+ app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb___161023209_87143500__417950673'
+ app/controllers/users_controller.rb:4:in `index'
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms)
+ [1m[36mSQL (0.3ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (20.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "age" integer, "secret" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36mSQL (0.4ms)[0m [1m SELECT name
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.4ms)
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.8ms)
+
+
+Started GET "/users" for 127.0.0.1 at 2012-03-25 13:17:29 +0900
+ Processing by UsersController#index as HTML
+Rendered users/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 1.9ms)
+
+
+Started GET "/stylesheets/application.css" for 127.0.0.1 at 2012-03-25 13:17:29 +0900
+
+ActionController::RoutingError (No route matches "/stylesheets/application.css"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
+
+
+Started GET "/javascripts/application.js" for 127.0.0.1 at 2012-03-25 13:17:29 +0900
+
+ActionController::RoutingError (No route matches "/javascripts/application.js"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (24.6ms)
+ [1m[36mSQL (0.2ms)[0m [1m SELECT name
FROM sqlite_master
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
- [1m[35mSQL (12.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36mSQL (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
- [1m[35mSQL (14.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mSQL (0.3ms)[0m [1m SELECT name
- FROM sqlite_master
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
-[0m
- [1m[35mSQL (0.2ms)[0m SELECT version FROM "schema_migrations"
- [1m[36mSQL (12.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20120323112247')[0m
+ [1m[35mAREL (0.4ms)[0m INSERT INTO "users" ("name", "age", "secret", "created_at", "updated_at") VALUES ('yalab', 20, 'hoge', '2012-03-25 04:17:59.258041', '2012-03-25 04:17:59.258041')
+
+
+Started GET "/users.csv" for 127.0.0.1 at 2012-03-25 13:19:30 +0900
+ Processing by UsersController#index as CSV
+ [1m[36mUser Load (0.8ms)[0m [1mSELECT "users".* FROM "users"[0m
+Rendered text template (0.0ms)
+Sent data (2.1ms)
+Completed 200 OK in 43ms (Views: 40.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users" for 127.0.0.1 at 2012-03-25 13:20:34 +0900
+ Processing by UsersController#index as HTML
+Rendered users/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/application.css" for 127.0.0.1 at 2012-03-25 13:20:34 +0900
+
+ActionController::RoutingError (No route matches "/stylesheets/application.css"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.3ms)
+
+
+Started GET "/javascripts/application.js" for 127.0.0.1 at 2012-03-25 13:20:34 +0900
+
+ActionController::RoutingError (No route matches "/javascripts/application.js"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.4ms)
+
+
+Started GET "/users.csv" for 127.0.0.1 at 2012-03-25 13:20:37 +0900
+ Processing by UsersController#index as CSV
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users"[0m
+Rendered text template (0.0ms)
+Sent data (2.9ms)
+Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users" for 127.0.0.1 at 2012-03-25 13:21:58 +0900
+ Processing by UsersController#index as HTML
+Rendered users/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/application.css" for 127.0.0.1 at 2012-03-25 13:21:58 +0900
+
+ActionController::RoutingError (No route matches "/stylesheets/application.css"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
+
+
+Started GET "/javascripts/application.js" for 127.0.0.1 at 2012-03-25 13:21:58 +0900
+
+ActionController::RoutingError (No route matches "/javascripts/application.js"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.1ms)
+
+
+Started GET "/users.csv" for 127.0.0.1 at 2012-03-25 13:21:59 +0900
+ Processing by UsersController#index as CSV
+ [1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users"[0m
+Rendered text template (0.0ms)
+Sent data (3.2ms)
+Completed 200 OK in 28ms (Views: 25.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users" for 127.0.0.1 at 2012-03-25 13:23:11 +0900
+ Processing by UsersController#index as HTML
+Rendered users/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/application.css" for 127.0.0.1 at 2012-03-25 13:23:11 +0900
+
+ActionController::RoutingError (No route matches "/stylesheets/application.css"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
+
+
+Started GET "/javascripts/application.js" for 127.0.0.1 at 2012-03-25 13:23:11 +0900
+
+ActionController::RoutingError (No route matches "/javascripts/application.js"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.6ms)
+
+
+Started GET "/users.csv" for 127.0.0.1 at 2012-03-25 13:23:12 +0900
+ Processing by UsersController#index as CSV
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT "users".* FROM "users"[0m
+Rendered text template (0.0ms)
+Sent data (3.3ms)
+Completed 200 OK in 22ms (Views: 20.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users" for 127.0.0.1 at 2012-03-25 13:24:44 +0900
+ Processing by UsersController#index as HTML
+Rendered users/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/application.css" for 127.0.0.1 at 2012-03-25 13:24:44 +0900
+
+ActionController::RoutingError (No route matches "/stylesheets/application.css"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
+
+
+Started GET "/javascripts/application.js" for 127.0.0.1 at 2012-03-25 13:24:44 +0900
+
+ActionController::RoutingError (No route matches "/javascripts/application.js"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms)
+
+
+Started GET "/users" for 127.0.0.1 at 2012-03-25 13:24:52 +0900
+ Processing by UsersController#index as HTML
+Rendered users/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/stylesheets/application.css" for 127.0.0.1 at 2012-03-25 13:24:53 +0900
+
+ActionController::RoutingError (No route matches "/stylesheets/application.css"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)
+
+
+Started GET "/javascripts/application.js" for 127.0.0.1 at 2012-03-25 13:24:53 +0900
+
+ActionController::RoutingError (No route matches "/javascripts/application.js"):
+
+
+Rendered /home/yalab/project/csv_rails/.bundle/ruby/1.9.1/gems/actionpack-3.0.12/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
+
+
+Started GET "/users/sjis.csv" for 127.0.0.1 at 2012-03-25 13:24:54 +0900
+ Processing by UsersController#sjis as CSV
+ [1m[36mUser Load (0.6ms)[0m [1mSELECT "users".* FROM "users"[0m
+Rendered text template (0.0ms)
+Sent data (1.9ms)
+Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.6ms)