ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20130316163018)  (0.2ms) BEGIN  (0.6ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)  PG::Error: ERROR: relation "users" already exists : CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)  (0.1ms) ROLLBACK  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20130316163018)  (0.2ms) BEGIN  (1.1ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)  SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130316163018"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUserImages (20130316163904)  (0.2ms) BEGIN  (8.1ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "iamge_data" bytea, "iamge_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130316163904"]]  (1.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (112.2ms) DROP DATABASE IF EXISTS "dummy_test"  (246.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (9.7ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "iamge_data" bytea, "iamge_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163904')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163018') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (118.3ms) DROP DATABASE IF EXISTS "dummy_test"  (162.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (17.3ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "iamge_data" bytea, "iamge_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  (6.1ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (1.6ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163904')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163018') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (115.9ms) DROP DATABASE IF EXISTS "dummy_test"  (310.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (11.3ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "iamge_data" bytea, "iamge_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163904')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163018') Started GET "/users" for 127.0.0.1 at 2013-03-17 15:45:58 +0900 Processing by UsersController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (6.2ms) Completed 200 OK in 756ms (Views: 747.7ms | ActiveRecord: 2.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 15:45:58 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 15:45:58 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 15:45:59 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 15:45:59 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 15:45:59 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 15:45:59 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 15:45:59 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 15:45:59 +0900 Started GET "/users/new" for 127.0.0.1 at 2013-03-17 15:46:01 +0900 Processing by UsersController#new as HTML Rendered users/_form.html.erb (73.8ms) Rendered users/new.html.erb within layouts/application (78.7ms) Completed 200 OK in 86ms (Views: 85.1ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-17 15:46:13 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.1ms) BEGIN  (0.1ms) COMMIT Unpermitted parameters: username Completed 500 Internal Server Error in 56ms NoMethodError (undefined method `upload_image=' for #): app/controllers/users_controller.rb:31:in `create' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.3ms) Started POST "/users" for 127.0.0.1 at 2013-03-17 15:47:01 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.1ms) BEGIN  (0.1ms) COMMIT Unpermitted parameters: username Completed 500 Internal Server Error in 130ms NoMethodError (undefined method `image_data=' for #): app/models/user_image.rb:12:in `uploaded_image=' app/controllers/users_controller.rb:31:in `create' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.9ms) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUserImages (20130316163904)  (0.1ms) BEGIN  (2.9ms) DROP TABLE "user_images" SQL (1.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20130316163904'  (2.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUserImages (20130317065108)  (0.2ms) BEGIN  (8.7ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130317065108"]]  (1.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (117.2ms) DROP DATABASE IF EXISTS "dummy_test"  (242.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (10.0ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  (1.5ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130317065108')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163018') Started POST "/users" for 127.0.0.1 at 2013-03-17 15:52:29 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.1ms) BEGIN  (0.1ms) COMMIT Unpermitted parameters: username  (0.2ms) BEGIN SQL (6.0ms) INSERT INTO "users" ("created_at", "updated_at", "username") VALUES ($1, $2, $3) RETURNING "username" [["created_at", Sun, 17 Mar 2013 06:52:30 UTC +00:00], ["updated_at", Sun, 17 Mar 2013 06:52:30 UTC +00:00], ["username", "rb"]] SQL (3.5ms) INSERT INTO "user_images" ("content_type", "created_at", "filename", "image_data", "image_thumb", "updated_at", "user_username") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["content_type", "image/png"], ["created_at", Sun, 17 Mar 2013 06:52:30 UTC +00:00], ["filename", "rb.png"], ["image_data", "<17470 bytes of binary data>"], ["image_thumb", "<3597 bytes of binary data>"], ["updated_at", Sun, 17 Mar 2013 06:52:30 UTC +00:00], ["user_username", "rb"]]  (0.6ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 130ms (ActiveRecord: 15.7ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (2.8ms) Completed 200 OK in 125ms (Views: 118.4ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 15:52:30 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-17 15:52:34 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (2.9ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.4ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImage Load (2.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (68.4ms) Completed 200 OK in 78ms (Views: 74.6ms | ActiveRecord: 3.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 15:53:33 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-17 15:55:19 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImage Load (0.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (7.7ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `user_image_thumb_path' for #): 17: 18: <%= user.username %> 19: <%= user.user_image.id %> 20: <%= image_tag user.user_image_thumb_path if user.user_image %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__2887381805761643556_70179670484680' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__2887381805761643556_70179670484680' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 15:56:00 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (21.0ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `user_image_thumb_path' for #<#:0x007fa7f6032208>): 17: 18: <%= user.username %> 19: <%= user.user_image.id %> 20: <%= image_tag user_image_thumb_path @user if user.user_image %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__2887381805761643556_70179681830660' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__2887381805761643556_70179681830660' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 15:58:10 +0900 Processing by UsersController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (102.7ms) Completed 500 Internal Server Error in 110ms ActionView::Template::Error (undefined method `user_image' for nil:NilClass): 17: 18: <%= user.username %> 19: <%= user.user_image.id %> 20: <%= image_tag user_image_thumb_path @user if user.user_image %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/helpers/users_helper.rb:3:in `user_image_thumb_path' app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__2887381805761643556_70179681830660' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__2887381805761643556_70179681830660' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.3ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 15:58:54 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-17 15:58:57 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (5.4ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `user_image' for nil:NilClass): 17: 18: <%= user.username %> 19: <%= user.user_image.id %> 20: <%= image_tag user_image_thumb_path @user if user.user_image %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/helpers/users_helper.rb:3:in `user_image_thumb_path' app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__2887381805761643556_70179671143860' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__2887381805761643556_70179671143860' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 15:58:57 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (0.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (6.0ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `user_image' for nil:NilClass): 17: 18: <%= user.username %> 19: <%= user.user_image.id %> 20: <%= image_tag user_image_thumb_path @user if user.user_image %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/helpers/users_helper.rb:3:in `user_image_thumb_path' app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__2887381805761643556_70179681830660' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__2887381805761643556_70179681830660' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.0ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (14.4ms) Completed 200 OK in 21ms (Views: 19.3ms | ActiveRecord: 1.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:35 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-17 15:59:52 +0900 Processing by UsersController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" UserImage Load (2.0ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (9.3ms) Completed 200 OK in 78ms (Views: 74.5ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 15:59:53 +0900 AbstractController::ActionNotFound (The action 'load_image' could not be found for UsersController): actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:131:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__1197511674981171300__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (0.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImage Load (2.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (68.5ms) Completed 200 OK in 243ms (Views: 229.3ms | ActiveRecord: 8.0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:00:20 +0900 AbstractController::ActionNotFound (The action 'load_image' could not be found for UsersController): actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:131:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__3452787111700829374__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (0.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:02:21 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (3.3ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (70.0ms) Completed 200 OK in 252ms (Views: 236.8ms | ActiveRecord: 9.6ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:02:21 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:02:21 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:02:21 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:02:21 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:02:21 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:02:21 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:02:21 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:02:22 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:02:22 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `find' for UsersController:Class): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:21:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__3747697406293967923__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__3850680599622039473__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.2ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:14:14 +0900 ActionController::RoutingError (undefined method `image_handler=' for UsersController:Class): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (90.1ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:17:25 +0900 ActionController::RoutingError (undefined method `image_handler=' for UsersController:Class): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (32.8ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:19:28 +0900 ActionController::RoutingError (undefined method `image_handler=' for UsersController:Class): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (43.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:19:35 +0900 ActionController::RoutingError (undefined method `image_handler=' for UsersController:Class): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (40.5ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:20:16 +0900 ActionController::RoutingError (undefined method `image_handler=' for UsersController:Class): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.3ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (46.4ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:28:21 +0900 ArgumentError (wrong number of arguments (0 for 1)): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (35.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (60.1ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:28:33 +0900 ArgumentError (wrong number of arguments (0 for 1)): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.9ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:28:44 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (70.2ms) Completed 200 OK in 262ms (Views: 247.6ms | ActiveRecord: 8.5ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:28:45 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 3ms NameError (uninitialized constant Image): activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `const_get' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `block in constantize' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `each' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `inject' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `constantize' activesupport (4.0.0.beta1) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:21:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2969020466695285295__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__4305569418380405965__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (28.1ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImage Load (0.9ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (53.1ms) Completed 200 OK in 64ms (Views: 54.4ms | ActiveRecord: 5.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:32:22 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 1ms NameError (uninitialized constant Image): activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `const_get' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `block in constantize' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `each' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `inject' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `constantize' activesupport (4.0.0.beta1) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:21:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2969020466695285295__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__4305569418380405965__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (49.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (70.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImage Load (0.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (7.6ms) Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 1.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:32:51 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 1ms NameError (uninitialized constant Image): activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `const_get' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `block in constantize' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `each' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `inject' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `constantize' activesupport (4.0.0.beta1) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:21:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2969020466695285295__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__4305569418380405965__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:33:06 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImage Load (2.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (67.5ms) Completed 200 OK in 251ms (Views: 237.1ms | ActiveRecord: 8.1ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:33:06 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:33:06 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:33:07 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:33:07 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:33:07 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:33:07 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:33:07 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:33:07 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:33:07 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 8ms NameError (undefined local variable or method `model' for #): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__3042092833321860042__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__4450107290363645518__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.0ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:34:03 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (65.5ms) Completed 200 OK in 243ms (Views: 230.0ms | ActiveRecord: 8.0ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:34:03 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:34:03 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:34:03 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:34:04 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:34:04 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:34:04 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:34:04 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:34:04 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:34:04 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 1ms NameError (uninitialized class variable @@image_handler in Watarase::InstanceMethods): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:22:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2208572519945238447__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__2319338472307173215__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.9ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImage Load (2.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (66.4ms) Completed 200 OK in 251ms (Views: 237.3ms | ActiveRecord: 8.1ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:41:41 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 2ms NameError (uninitialized constant Image): activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `const_get' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `block in constantize' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `each' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `inject' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `constantize' activesupport (4.0.0.beta1) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:23:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__143621241722155787__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__3062789291770346390__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (30.9ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 16:42:52 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImage Load (2.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (67.0ms) Completed 200 OK in 247ms (Views: 233.1ms | ActiveRecord: 8.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 16:42:53 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 1ms NameError (uninitialized constant Image): activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `const_get' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `block in constantize' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `each' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `inject' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `constantize' activesupport (4.0.0.beta1) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:23:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__3709601624894325628__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__2559601939450693585__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.2ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 17:10:44 +0900 ActionController::RoutingError (undefined method `def' for UsersController:Class): app/controllers/users_controller.rb:3:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (82.9ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-17 17:23:11 +0900 ActionController::RoutingError (undefined local variable or method `_image_handler' for #): app/controllers/users_controller.rb:3:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (40.0ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 17:23:18 +0900 ActionController::RoutingError (undefined local variable or method `_image_handler' for #): app/controllers/users_controller.rb:3:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (36.3ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 17:39:28 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.9ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (69.0ms) Completed 200 OK in 213ms (Views: 198.9ms | ActiveRecord: 8.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 17:39:29 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 1ms NameError (uninitialized constant Image): activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `const_get' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:226:in `block in constantize' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `each' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `inject' activesupport (4.0.0.beta1) lib/active_support/inflector/methods.rb:224:in `constantize' activesupport (4.0.0.beta1) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:23:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__574953474589793138__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__1308941106572206007__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.5ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 17:42:51 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (68.0ms) Completed 200 OK in 255ms (Views: 241.7ms | ActiveRecord: 7.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 17:42:52 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.2ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `model' for #): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2592597651864108715__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__271584299875814537__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.2ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.0ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (9.2ms) Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 2.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 17:44:14 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.2ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `model' for #): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2592597651864108715__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__271584299875814537__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.9ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 17:44:40 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (3.3ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (72.3ms) Completed 200 OK in 252ms (Views: 234.3ms | ActiveRecord: 11.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 17:44:40 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:40 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 17:44:40 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:40 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:41 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 17:44:41 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:41 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 17:44:41 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 17:44:41 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (7.0ms) Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 1.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 17:57:07 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (72.8ms) Completed 200 OK in 249ms (Views: 235.3ms | ActiveRecord: 8.0ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 17:57:08 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (3.3ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (2.3ms) Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 3.3ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 18:02:09 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.9ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (68.6ms) Completed 200 OK in 251ms (Views: 236.2ms | ActiveRecord: 8.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 18:02:09 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 18:02:09 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 18:02:09 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 18:02:09 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 18:02:09 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 18:02:09 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 18:02:09 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 18:02:10 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:02:10 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.3ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (1.7ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.3ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-17 18:02:12 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (1.3ms) Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 18:02:14 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (5.7ms) Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 1.1ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:02:14 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (0.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (0.7ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.8ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-17 18:02:22 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (26.1ms) Rendered users/edit.html.erb within layouts/application (31.3ms) Completed 200 OK in 46ms (Views: 44.7ms | ActiveRecord: 0.3ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 18:43:47 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImage Load (3.9ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (76.3ms) Completed 200 OK in 247ms (Views: 230.2ms | ActiveRecord: 11.5ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:43:48 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.2ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (3.7ms) Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 1.2ms) Started GET "/users/new" for 127.0.0.1 at 2013-03-17 18:43:51 +0900 Processing by UsersController#new as HTML Rendered users/_form.html.erb (19.8ms) Rendered users/new.html.erb within layouts/application (27.4ms) Completed 200 OK in 36ms (Views: 34.9ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-17 18:43:58 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.2ms) BEGIN  (0.1ms) COMMIT Unpermitted parameters: username  (0.2ms) BEGIN SQL (6.8ms) INSERT INTO "users" ("created_at", "updated_at", "username") VALUES ($1, $2, $3) RETURNING "username" [["created_at", Sun, 17 Mar 2013 09:43:59 UTC +00:00], ["updated_at", Sun, 17 Mar 2013 09:43:59 UTC +00:00], ["username", "tb"]] SQL (2.3ms) INSERT INTO "user_images" ("content_type", "created_at", "filename", "image_data", "image_thumb", "updated_at", "user_username") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["content_type", "image/png"], ["created_at", Sun, 17 Mar 2013 09:43:59 UTC +00:00], ["filename", "default.png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Sun, 17 Mar 2013 09:43:59 UTC +00:00], ["user_username", "tb"]]  (0.5ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 38ms (ActiveRecord: 10.1ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (1.5ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 18:43:59 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-17 18:44:01 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (0.5ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (7.2ms) Completed 200 OK in 15ms (Views: 12.3ms | ActiveRecord: 1.6ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:44:01 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.4ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 1.4ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:44:01 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.7ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-17 18:45:34 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (58.0ms) Rendered users/edit.html.erb within layouts/application (60.2ms) Completed 200 OK in 68ms (Views: 66.0ms | ActiveRecord: 0.3ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-17 18:46:06 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Completed 500 Internal Server Error in 8ms NameError (undefined local variable or method `ser_user_image' for #): app/controllers/users_controller.rb:48:in `update' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.2ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-17 18:46:17 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `ser_user_image' for #): app/controllers/users_controller.rb:48:in `update' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (64.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (91.8ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-17 18:46:35 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (3.0ms) UPDATE "user_images" SET "filename" = $1, "image_data" = $2, "image_thumb" = $3, "updated_at" = $4 WHERE "user_images"."id" = 1 [["filename", "default.png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Sun, 17 Mar 2013 09:46:35 UTC +00:00]]  (0.9ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 79ms (ActiveRecord: 12.1ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (1.0ms) Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 0.8ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:36 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-17 18:46:41 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (7.1ms) Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 1.5ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:46:42 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:46:42 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImage Load (0.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.8ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-17 18:46:44 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (4.1ms) Rendered users/edit.html.erb within layouts/application (5.4ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.3ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] UserImage Load (1.3ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (1.9ms) UPDATE "user_images" SET "filename" = $1, "image_data" = $2, "image_thumb" = $3, "updated_at" = $4 WHERE "user_images"."id" = 1 [["filename", "rb.png"], ["image_data", "<17470 bytes of binary data>"], ["image_thumb", "<3597 bytes of binary data>"], ["updated_at", Sun, 17 Mar 2013 09:46:50 UTC +00:00]]  (1.1ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 45ms (ActiveRecord: 5.3ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (0.7ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 18:46:50 +0900 Started GET "/users/rb" for 127.0.0.1 at 2013-03-17 18:52:01 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (36.5ms) Completed 200 OK in 150ms (Views: 126.7ms | ActiveRecord: 3.9ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 18:52:02 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 18:52:02 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 18:52:02 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 18:52:02 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 18:52:02 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 18:52:02 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 18:52:02 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 18:52:02 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-17 18:52:03 +0900 Processing by UsersController#index as HTML User Load (12.5ms) SELECT "users".* FROM "users" UserImage Load (46.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (1.1ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (116.4ms) Completed 200 OK in 128ms (Views: 63.8ms | ActiveRecord: 63.0ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:52:03 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImage Load (0.9ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (1.6ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.9ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 18:52:03 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (1.2ms) Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.7ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-17 18:52:08 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (19.7ms) Rendered users/edit.html.erb within layouts/application (30.1ms) Completed 200 OK in 38ms (Views: 36.5ms | ActiveRecord: 0.3ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-17 18:54:56 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (2.5ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.3ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 19:55:46 +0900 ActionController::RoutingError (uninitialized class variable @@image_handler in Watarase::ImageLoader): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (42.5ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 19:56:45 +0900 ActionController::RoutingError (uninitialized class variable @@image_handler in Watarase::ImageLoader): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (46.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (89.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 19:56:53 +0900 ActionController::RoutingError (uninitialized class variable @@image_handler in Watarase::ImageLoader): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (42.1ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 19:56:56 +0900 ActionController::RoutingError (uninitialized class variable @@image_handler in Watarase::ImageLoader): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (93.2ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 19:58:08 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (3.0ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (73.8ms) Completed 200 OK in 257ms (Views: 242.5ms | ActiveRecord: 8.9ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `class_variable_get' for #): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:22:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__3617760755855148968__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__3078435537615834288__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.3ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.3ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 19:58:09 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 3ms NoMethodError (undefined method `class_variable_get' for #): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:22:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__3617760755855148968__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__3078435537615834288__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.9ms) Started GET "/users" for 127.0.0.1 at 2013-03-17 20:00:40 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (5.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (0.8ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (160.5ms) Completed 200 OK in 253ms (Views: 235.4ms | ActiveRecord: 12.5ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.2ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (1.7ms) Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.2ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-17 20:00:41 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (3.2ms) Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (114.5ms) Completed 200 OK in 208ms (Views: 193.8ms | ActiveRecord: 8.4ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 06:45:51 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 06:45:52 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.2ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (3.2ms) Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 1.2ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 06:45:52 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.6ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 06:45:57 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (30.3ms) Rendered users/edit.html.erb within layouts/application (34.6ms) Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.8ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (6.6ms) UPDATE "user_images" SET "filename" = $1, "image_data" = $2, "image_thumb" = $3, "updated_at" = $4 WHERE "user_images"."id" = 2 [["filename", "rb.png"], ["image_data", "<17470 bytes of binary data>"], ["image_thumb", "<3597 bytes of binary data>"], ["updated_at", Sun, 17 Mar 2013 21:46:03 UTC +00:00]]  (0.8ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 52ms (ActiveRecord: 8.5ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (2.1ms) Completed 200 OK in 13ms (Views: 9.7ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:03 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 06:46:05 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (0.9ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (2.3ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (10.8ms) Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 3.6ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 06:46:05 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.7ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 06:46:05 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImage Load (2.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (1.6ms) Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 2.7ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 06:46:06 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (4.4ms) Rendered users/edit.html.erb within layouts/application (6.0ms) Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.3ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (1.2ms) UPDATE "user_images" SET "filename" = $1, "image_data" = $2, "image_thumb" = $3, "updated_at" = $4 WHERE "user_images"."id" = 2 [["filename", "default.png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Sun, 17 Mar 2013 21:46:11 UTC +00:00]]  (0.6ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 80ms (ActiveRecord: 3.0ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (1.4ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.3ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 06:46:11 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 06:46:13 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.2ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (1.0ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (12.2ms) Completed 200 OK in 19ms (Views: 15.3ms | ActiveRecord: 3.6ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 06:46:13 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 06:46:13 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImage Load (0.5ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 07:06:28 +0900 ActionController::RoutingError (undefined method `camelize' for :user:Symbol): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (42.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 07:07:27 +0900 ActionController::RoutingError (undefined method `camelize' for :user:Symbol): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (46.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (85.3ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 07:07:42 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (115.7ms) Completed 200 OK in 204ms (Views: 192.7ms | ActiveRecord: 9.2ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `name' for :user:Symbol): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:38:in `image_holder' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__4566720580534719405__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__2500421536416147164__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.3ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 07:07:43 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `name' for :user:Symbol): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:38:in `image_holder' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__4566720580534719405__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__2500421536416147164__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.9ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 07:10:33 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (2.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (0.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (69.9ms) Completed 200 OK in 203ms (Views: 192.9ms | ActiveRecord: 8.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 07:10:33 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `name' for :user:Symbol): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:38:in `image_holder' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__1113082969453911874__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__3705600568237537429__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.4ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 07:10:34 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} Completed 500 Internal Server Error in 1ms NoMethodError (undefined method `name' for :user:Symbol): /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:38:in `image_holder' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__1113082969453911874__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__3705600568237537429__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.5ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImage Load (4.2ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImage Load (3.1ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."user_username" = $1 ORDER BY "user_images"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (117.1ms) Completed 200 OK in 220ms (Views: 206.6ms | ActiveRecord: 12.3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImage Load (1.6ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "1"]] Rendered text template (0.1ms) Sent data (6.4ms) Completed 200 OK in 11ms (Views: 6.2ms | ActiveRecord: 1.6ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 07:13:08 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImage Load (0.7ms) SELECT "user_images".* FROM "user_images" WHERE "user_images"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (5.7ms) Completed 200 OK in 14ms (Views: 5.5ms | ActiveRecord: 0.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 22:50:19 +0900 ActiveRecord::PendingMigrationError (Migrations are pending; run 'rake db:migrate RAILS_ENV=development' to resolve this issue.): activerecord (4.0.0.beta1) lib/active_record/migration.rb:357:in `check_pending!' activerecord (4.0.0.beta1) lib/active_record/migration.rb:346:in `block in call' activesupport (4.0.0.beta1) lib/active_support/logger_silence.rb:16:in `silence' activerecord (4.0.0.beta1) lib/active_record/migration.rb:345:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__4495346397644368393__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.4ms) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUserImageHolders (20130318134905)  (0.2ms) BEGIN  (8.4ms) CREATE TABLE "user_image_holders" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130318134905"]]  (1.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/users" for 127.0.0.1 at 2013-03-18 22:50:45 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (18.7ms) Completed 500 Internal Server Error in 71ms ActionView::Template::Error (undefined method `user_image' for #): 16: <% @users.each do |user| %> 17: 18: <%= user.username %> 19: <%= user.user_image.id %> 20: <%= image_tag user_image_thumb_path user if user.user_image %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> app/views/users/index.html.erb:19:in `block in _app_views_users_index_html_erb___582773684322315741_70205093207340' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb___582773684322315741_70205093207340' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (36.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (51.5ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 22:51:56 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (19.4ms) Completed 500 Internal Server Error in 72ms ActionView::Template::Error (undefined method `user_image_holder' for #): 16: <% @users.each do |user| %> 17: 18: <%= user.username %> 19: <%= user.user_image_holder.id %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> app/views/users/index.html.erb:19:in `block in _app_views_users_index_html_erb__1800010627332477401_70282260513480' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__1800010627332477401_70282260513480' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (36.2ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (50.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 22:52:41 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (2.5ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `user_image_holder' for #): 16: <% @users.each do |user| %> 17: 18: <%= user.username %> 19: <%= user.user_image_holder.id %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> app/views/users/index.html.erb:19:in `block in _app_views_users_index_html_erb__1800010627332477401_70282260513480' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__1800010627332477401_70282260513480' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.8ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 22:52:50 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImageHolder Load (2.2ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (85.4ms) Completed 500 Internal Server Error in 94ms ActionView::Template::Error (undefined method `id' for nil:NilClass): 16: <% @users.each do |user| %> 17: 18: <%= user.username %> 19: <%= user.user_image_holder.id %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> app/views/users/index.html.erb:19:in `block in _app_views_users_index_html_erb___2682962994244913802_70202564893740' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb___2682962994244913802_70202564893740' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (44.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (59.3ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 22:59:06 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImageHolder Load (2.2ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (40.3ms) Completed 500 Internal Server Error in 91ms ActionView::Template::Error (undefined method `id' for nil:NilClass): 16: <% @users.each do |user| %> 17: 18: <%= user.username %> 19: <%= user.user_image_holder.id %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> app/views/users/index.html.erb:19:in `block in _app_views_users_index_html_erb__3289842591592054984_70108262942480' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__3289842591592054984_70108262942480' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (39.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (53.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:00:00 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (4.9ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `id' for nil:NilClass): 16: <% @users.each do |user| %> 17: 18: <%= user.username %> 19: <%= user.try(:user_image_holder).id %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> app/views/users/index.html.erb:19:in `block in _app_views_users_index_html_erb__3289842591592054984_70108290602260' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__3289842591592054984_70108290602260' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.1ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (9.1ms) Completed 200 OK in 120ms (Views: 118.3ms | ActiveRecord: 1.0ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:00:35 +0900 Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-18 23:00:40 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (71.1ms) Rendered users/edit.html.erb within layouts/application (75.7ms) Completed 200 OK in 85ms (Views: 82.5ms | ActiveRecord: 0.7ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-18 23:00:46 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]]  (0.1ms) BEGIN SQL (6.3ms) INSERT INTO "user_image_holders" ("created_at", "updated_at", "user_username") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 18 Mar 2013 14:00:46 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:00:46 UTC +00:00], ["user_username", "rb"]]  (0.6ms) COMMIT Completed 400 Bad Request in 57ms ActionController::ParameterMissing (param not found: users_controller): app/controllers/users_controller.rb:79:in `set_image_holder' app/controllers/users_controller.rb:47:in `update' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:09:16 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (10.0ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `user_image' for #): 17: 18: <%= user.username %> 19: <%= user.user_image_holder.try(:id) %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/helpers/users_helper.rb:3:in `user_image_thumb_path' app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__3289842591592054984_70108290794220' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__3289842591592054984_70108290794220' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.1ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:09:16 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (4.6ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (undefined method `user_image' for #): 17: 18: <%= user.username %> 19: <%= user.user_image_holder.try(:id) %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/helpers/users_helper.rb:3:in `user_image_thumb_path' app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__3289842591592054984_70108283397940' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__3289842591592054984_70108283397940' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.8ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:12:46 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (119.4ms) Completed 500 Internal Server Error in 128ms ActionView::Template::Error (undefined method `user_image_handler' for #): 17: 18: <%= user.username %> 19: <%= user.user_image_holder.try(:id) %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/helpers/users_helper.rb:3:in `user_image_thumb_path' app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__3289842591592054984_70108283397940' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__3289842591592054984_70108283397940' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Processing by UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" UserImageHolder Load (0.9ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (64.1ms) Completed 200 OK in 72ms (Views: 61.6ms | ActiveRecord: 8.8ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:13:43 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 3ms TypeError (wrong argument type nil (expected String)): activerecord (4.0.0.beta1) lib/active_record/connection_adapters/postgresql/oid.rb:23:in `unescape_bytea' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/postgresql/oid.rb:23:in `type_cast' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:93:in `block in read_attribute' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:79:in `fetch' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:79:in `read_attribute' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:54:in `__temp__96d6167656f5478657d626' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2581444675637001085__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__2922579295321716954__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.3ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-18 23:13:47 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (55.0ms) Rendered users/edit.html.erb within layouts/application (56.9ms) Completed 200 OK in 65ms (Views: 62.7ms | ActiveRecord: 0.5ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-18 23:13:54 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] UserImageHolder Load (0.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Completed 400 Bad Request in 11ms ActionController::ParameterMissing (param not found: users_controller): app/controllers/users_controller.rb:79:in `set_image_holder' app/controllers/users_controller.rb:47:in `update' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.0ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:21:34 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (7.5ms) Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 1.1ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:21:34 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 3ms TypeError (wrong argument type nil (expected String)): activerecord (4.0.0.beta1) lib/active_record/connection_adapters/postgresql/oid.rb:23:in `unescape_bytea' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/postgresql/oid.rb:23:in `type_cast' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:93:in `block in read_attribute' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:79:in `fetch' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:79:in `read_attribute' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:54:in `__temp__96d6167656f5478657d626' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2581444675637001085__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__2922579295321716954__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.1ms) Started DELETE "/users/rb" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Processing by UsersController#destroy as HTML Parameters: {"authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "id"=>"rb"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]]  (0.1ms) BEGIN SQL (0.6ms) DELETE FROM "users" WHERE "users"."username" = $1 [["username", "rb"]]  (4.2ms) COMMIT Redirected to http://localhost:3000/users Completed 302 Found in 29ms (ActiveRecord: 5.4ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Processing by UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" UserImageHolder Load (2.1ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (5.8ms) Completed 200 OK in 18ms (Views: 14.3ms | ActiveRecord: 2.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:37 +0900 Started DELETE "/users/tb" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Processing by UsersController#destroy as HTML Parameters: {"authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]]  (0.1ms) BEGIN SQL (0.2ms) DELETE FROM "users" WHERE "users"."username" = $1 [["username", "tb"]]  (1.3ms) COMMIT Redirected to http://localhost:3000/users Completed 302 Found in 5ms (ActiveRecord: 2.0ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (1.0ms) Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.3ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:21:42 +0900 Started GET "/users/new" for 127.0.0.1 at 2013-03-18 23:21:43 +0900 Processing by UsersController#new as HTML Rendered users/_form.html.erb (8.9ms) Rendered users/new.html.erb within layouts/application (11.0ms) Completed 200 OK in 30ms (Views: 29.3ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-18 23:21:51 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.2ms) BEGIN  (0.1ms) COMMIT Completed 400 Bad Request in 5ms ActionController::ParameterMissing (param not found: users_controller): app/controllers/users_controller.rb:79:in `set_image_holder' app/controllers/users_controller.rb:30:in `create' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.3ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:26:34 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 131ms (Views: 126.7ms | ActiveRecord: 2.5ms) Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:26:34 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:26:34 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:26:34 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:26:35 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:26:35 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:26:35 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:26:35 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:26:35 +0900 Started GET "/users/new" for 127.0.0.1 at 2013-03-18 23:26:37 +0900 Processing by UsersController#new as HTML Rendered users/_form.html.erb (32.3ms) Rendered users/new.html.erb within layouts/application (36.4ms) Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-18 23:26:52 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.1ms) BEGIN  (0.3ms) COMMIT Completed 400 Bad Request in 80ms ActionController::ParameterMissing (param not found: users_controller): app/controllers/users_controller.rb:79:in `set_image_holder' app/controllers/users_controller.rb:30:in `create' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.4ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (5.6ms) Completed 200 OK in 129ms (Views: 124.7ms | ActiveRecord: 2.2ms) Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:47 +0900 Started GET "/users/new" for 127.0.0.1 at 2013-03-18 23:30:49 +0900 Processing by UsersController#new as HTML Rendered users/_form.html.erb (36.6ms) Rendered users/new.html.erb within layouts/application (40.8ms) Completed 200 OK in 47ms (Views: 46.6ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-18 23:30:56 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.2ms) BEGIN  (0.1ms) COMMIT Unpermitted parameters: username  (0.2ms) BEGIN SQL (5.0ms) INSERT INTO "users" ("created_at", "updated_at", "username") VALUES ($1, $2, $3) RETURNING "username" [["created_at", Mon, 18 Mar 2013 14:30:57 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:30:57 UTC +00:00], ["username", "rb"]] SQL (5.1ms) INSERT INTO "user_image_holders" ("content_type", "created_at", "filename", "image_data", "image_thumb", "updated_at", "user_username") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["content_type", "image/png"], ["created_at", Mon, 18 Mar 2013 14:30:57 UTC +00:00], ["filename", "rb.png"], ["image_data", "<17470 bytes of binary data>"], ["image_thumb", "<3597 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 14:30:57 UTC +00:00], ["user_username", "rb"]]  (0.9ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 144ms (ActiveRecord: 14.8ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (1.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (1.4ms) Completed 200 OK in 14ms (Views: 9.0ms | ActiveRecord: 1.4ms) Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:30:57 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:30:59 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (2.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (13.9ms) Completed 200 OK in 21ms (Views: 17.3ms | ActiveRecord: 3.0ms) Started GET "/users/1/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:30:59 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"1"} UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "1"]] Completed 500 Internal Server Error in 3ms TypeError (wrong argument type nil (expected String)): activerecord (4.0.0.beta1) lib/active_record/connection_adapters/postgresql/oid.rb:23:in `unescape_bytea' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/postgresql/oid.rb:23:in `type_cast' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:93:in `block in read_attribute' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:79:in `fetch' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:79:in `read_attribute' activerecord (4.0.0.beta1) lib/active_record/attribute_methods/read.rb:54:in `__temp__96d6167656f5478657d626' /Users/toshinobu/RubymineProjects/watarase/lib/watarase/controller.rb:24:in `load_image' actionpack (4.0.0.beta1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:413:in `_run__2919259836900962993__process_action__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/abstract_controller/callbacks.rb:17:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `block in instrument' activesupport (4.0.0.beta1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.0.0.beta1) lib/active_support/notifications.rb:158:in `instrument' actionpack (4.0.0.beta1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.0.0.beta1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action' activerecord (4.0.0.beta1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.0.0.beta1) lib/abstract_controller/base.rb:136:in `process' actionpack (4.0.0.beta1) lib/abstract_controller/rendering.rb:44:in `process' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.0.0.beta1) lib/action_controller/metal.rb:232:in `block in action' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:78:in `dispatch' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:46:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:69:in `block in call' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `each' actionpack (4.0.0.beta1) lib/action_dispatch/journey/router.rb:57:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/routing/route_set.rb:651:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/flash.rb:241:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/cookies.rb:452:in `call' activerecord (4.0.0.beta1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.0.0.beta1) lib/active_record/connection_adapters/abstract/connection_pool.rb:632:in `call' activerecord (4.0.0.beta1) lib/active_record/migration.rb:348:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:373:in `_run__664673674690715056__call__callbacks' activesupport (4.0.0.beta1) lib/active_support/callbacks.rb:78:in `run_callbacks' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/reloader.rb:64:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.3ms) UserImageHolder Load (1.1ms) SELECT "user_image_holders".* FROM "user_image_holders" ORDER BY "user_image_holders"."id" ASC LIMIT 1 UserImageHolder Load (1.7ms) SELECT "user_image_holders".* FROM "user_image_holders" UserImageHolder Load (1.1ms) SELECT "user_image_holders".* FROM "user_image_holders" ORDER BY "user_image_holders"."id" ASC LIMIT 1 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (2.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (112.7ms) Completed 200 OK in 202ms (Views: 191.7ms | ActiveRecord: 8.2ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:36:30 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImageHolder Load (6.2ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (1.8ms) Completed 200 OK in 10ms (Views: 1.6ms | ActiveRecord: 6.2ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-18 23:36:35 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (20.4ms) Rendered users/edit.html.erb within layouts/application (24.9ms) Completed 200 OK in 43ms (Views: 40.4ms | ActiveRecord: 0.7ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (5.5ms) UPDATE "user_image_holders" SET "filename" = $1, "image_data" = $2, "image_thumb" = $3, "updated_at" = $4 WHERE "user_image_holders"."id" = 2 [["filename", "default.png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 14:36:40 UTC +00:00]]  (1.2ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 44ms (ActiveRecord: 8.0ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (1.4ms) Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:40 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:36:41 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (5.4ms) Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 1.0ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:36:41 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.8ms) Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.7ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-18 23:36:43 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (4.4ms) Rendered users/edit.html.erb within layouts/application (5.8ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.4ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] UserImageHolder Load (1.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (3.1ms) UPDATE "user_image_holders" SET "filename" = $1, "image_data" = $2, "image_thumb" = $3, "updated_at" = $4 WHERE "user_image_holders"."id" = 2 [["filename", "rb.png"], ["image_data", "<17470 bytes of binary data>"], ["image_thumb", "<3597 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 14:36:49 UTC +00:00]]  (0.9ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 31ms (ActiveRecord: 5.9ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (0.7ms) Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.3ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:49 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:36:51 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (4.6ms) Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 1.1ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:36:51 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.8ms) Started GET "/users/new" for 127.0.0.1 at 2013-03-18 23:36:53 +0900 Processing by UsersController#new as HTML Rendered users/_form.html.erb (3.5ms) Rendered users/new.html.erb within layouts/application (5.3ms) Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-18 23:36:55 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb"}, "commit"=>"Create User"}  (0.2ms) BEGIN  (0.1ms) COMMIT Unpermitted parameters: username  (0.1ms) BEGIN User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 ORDER BY "users"."username" ASC LIMIT 1 [["username", "tb"]]  (0.2ms) COMMIT  (0.1ms) BEGIN SQL (1.0ms) INSERT INTO "users" ("created_at", "updated_at", "username") VALUES ($1, $2, $3) RETURNING "username" [["created_at", Mon, 18 Mar 2013 14:36:55 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:36:55 UTC +00:00], ["username", "tb"]]  (0.9ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 19ms (ActiveRecord: 3.8ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (4.5ms) Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.7ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:36:56 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:36:57 +0900 Processing by UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (10.6ms) Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 1.7ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:36:57 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.6ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 23:37:01 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (4.0ms) Rendered users/edit.html.erb within layouts/application (5.4ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.3ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]]  (0.1ms) BEGIN SQL (0.9ms) INSERT INTO "user_image_holders" ("created_at", "updated_at", "user_username") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 18 Mar 2013 14:37:05 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:37:05 UTC +00:00], ["user_username", "tb"]]  (0.3ms) COMMIT Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.4ms) BEGIN SQL (1.5ms) UPDATE "user_image_holders" SET "filename" = $1, "content_type" = $2, "image_data" = $3, "image_thumb" = $4, "updated_at" = $5 WHERE "user_image_holders"."id" = 3 [["filename", "default.png"], ["content_type", "image/png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 14:37:05 UTC +00:00]]  (0.6ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 25ms (ActiveRecord: 4.5ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (0.7ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.5ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:37:05 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:37:07 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (1.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (11.9ms) Completed 200 OK in 20ms (Views: 16.9ms | ActiveRecord: 2.7ms) Started GET "/users/3/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:37:07 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"3"} UserImageHolder Load (0.5ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "3"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.5ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:37:07 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImageHolder Load (0.9ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.9ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:41:49 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImageHolder Load (3.1ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (122.6ms) Completed 500 Internal Server Error in 132ms ActionView::Template::Error (undefined method `user_image_thumb_path' for #<#:0x007ffddbaf6d70>): 17: 18: <%= user.username %> 19: <%= user.user_image_holder.try(:id) %> 20: <%= image_tag user_image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__4148632359109418008_70364159008620' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__4148632359109418008_70364159008620' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (38.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (55.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:46:46 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.9ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (6.4ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (No route matches {:action=>"load_image", :controller=>"Users", :id=>2, :image_column=>:image_thumb}): 17: 18: <%= user.username %> 19: <%= user.user_image_holder.try(:id) %> 20: <%= image_tag image_thumb_path user if user.user_image_holder %> 21: <%= link_to 'Show', user %> 22: <%= link_to 'Edit', edit_user_path(user) %> 23: <%= link_to 'Destroy', user, method: :delete, data: { confirm: 'Are you sure?' } %> app/views/users/index.html.erb:20:in `block in _app_views_users_index_html_erb__4148632359109418008_70364159098020' app/views/users/index.html.erb:16:in `_app_views_users_index_html_erb__4148632359109418008_70364159098020' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:48:13 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (2.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (114.1ms) Completed 200 OK in 222ms (Views: 210.5ms | ActiveRecord: 9.9ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImageHolder Load (1.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (2.5ms) Completed 200 OK in 12ms (Views: 1.6ms | ActiveRecord: 1.3ms) Started GET "/users/3/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:48:14 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"3"} UserImageHolder Load (1.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "3"]] Rendered text template (0.0ms) Sent data (3.3ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 1.6ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-18 23:48:20 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (1.4ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:48:22 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (11.6ms) Completed 200 OK in 28ms (Views: 25.6ms | ActiveRecord: 1.8ms) Started GET "/users/3/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:48:22 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"3"} UserImageHolder Load (0.5ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "3"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms) Started GET "/users/2/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:48:22 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"2"} UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "2"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.8ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-18 23:48:23 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (25.2ms) Rendered users/edit.html.erb within layouts/application (33.7ms) Completed 200 OK in 42ms (Views: 39.7ms | ActiveRecord: 0.3ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-18 23:48:27 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "remove_image"=>"1"}, "commit"=>"Update User", "id"=>"rb"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] UserImageHolder Load (1.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Unpermitted parameters: username  (0.3ms) BEGIN User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 ORDER BY "users"."username" ASC LIMIT 1 [["username", "rb"]] SQL (0.7ms) DELETE FROM "users" WHERE "users"."username" = $1 [["username", "rb"]] SQL (3.6ms) DELETE FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 [["id", 2]]  (1.0ms) COMMIT Unpermitted parameters: remove_image  (0.2ms) BEGIN  (0.2ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 42ms (ActiveRecord: 9.1ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-18 23:48:27 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Completed 404 Not Found in 2ms ActiveRecord::RecordNotFound (Couldn't find User with username=rb): app/controllers/users_controller.rb:73:in `set_user' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.4ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-18 23:48:48 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Completed 404 Not Found in 4ms ActiveRecord::RecordNotFound (Couldn't find User with username=rb): app/controllers/users_controller.rb:73:in `set_user' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.6ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:49:00 +0900 Processing by UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" UserImageHolder Load (13.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (26.8ms) Completed 200 OK in 34ms (Views: 19.6ms | ActiveRecord: 14.3ms) Started GET "/users/3/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:49:00 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"3"} UserImageHolder Load (0.5ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "3"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.5ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 23:51:37 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (93.7ms) Rendered users/edit.html.erb within layouts/application (98.9ms) Completed 200 OK in 170ms (Views: 152.1ms | ActiveRecord: 3.7ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:51:40 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "remove_image"=>"1"}, "commit"=>"Update User", "id"=>"tb"} User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Completed 500 Internal Server Error in 15ms ArgumentError (The :dependent option must be one of [:destroy, :delete], but is :nullify): app/models/user_image_holder.rb:3:in `' app/models/user_image_holder.rb:1:in `' app/controllers/users_controller.rb:78:in `set_image_holder' app/controllers/users_controller.rb:47:in `update' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (22.6ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "remove_image"=>"1"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (3.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Unpermitted parameters: username  (0.2ms) BEGIN SQL (3.3ms) DELETE FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 [["id", 3]]  (1.0ms) COMMIT Unpermitted parameters: remove_image  (0.2ms) BEGIN  (0.2ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 87ms (ActiveRecord: 20.4ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (1.3ms) Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:23 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:52:25 +0900 Processing by UsersController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" UserImageHolder Load (1.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (7.6ms) Completed 200 OK in 16ms (Views: 12.7ms | ActiveRecord: 2.3ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 23:52:27 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (4.4ms) Rendered users/edit.html.erb within layouts/application (5.9ms) Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.4ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (0.2ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]]  (0.1ms) BEGIN SQL (6.3ms) INSERT INTO "user_image_holders" ("created_at", "updated_at", "user_username") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 18 Mar 2013 14:52:34 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:52:34 UTC +00:00], ["user_username", "tb"]]  (0.7ms) COMMIT Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (2.6ms) UPDATE "user_image_holders" SET "filename" = $1, "content_type" = $2, "image_data" = $3, "image_thumb" = $4, "updated_at" = $5 WHERE "user_image_holders"."id" = 4 [["filename", "rb.png"], ["content_type", "image/png"], ["image_data", "<17470 bytes of binary data>"], ["image_thumb", "<3597 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 14:52:34 UTC +00:00]]  (0.6ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 47ms (ActiveRecord: 11.1ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (2.4ms) Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:52:34 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:52:35 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (5.1ms) Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 1.1ms) Started GET "/users/4/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:52:35 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"4"} UserImageHolder Load (1.1ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "4"]] Rendered text template (0.0ms) Sent data (1.5ms) Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 1.1ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 23:54:04 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (5.0ms) Rendered users/edit.html.erb within layouts/application (6.6ms) Completed 200 OK in 34ms (Views: 13.4ms | ActiveRecord: 5.5ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "remove_image"=>"1"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (1.0ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Unpermitted parameters: username  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 [["id", 4]]  (1.0ms) COMMIT Unpermitted parameters: remove_image  (0.2ms) BEGIN  (0.2ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 53ms (ActiveRecord: 6.0ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.7ms) Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:06 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:54:20 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImageHolder Load (0.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (3.1ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.7ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 23:54:21 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (4.4ms) Rendered users/edit.html.erb within layouts/application (5.7ms) Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.3ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]]  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "user_image_holders" ("created_at", "updated_at", "user_username") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 18 Mar 2013 14:54:27 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:54:27 UTC +00:00], ["user_username", "tb"]]  (0.9ms) COMMIT Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (1.6ms) UPDATE "user_image_holders" SET "filename" = $1, "content_type" = $2, "image_data" = $3, "image_thumb" = $4, "updated_at" = $5 WHERE "user_image_holders"."id" = 5 [["filename", "default.png"], ["content_type", "image/png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 14:54:27 UTC +00:00]]  (0.6ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 28ms (ActiveRecord: 4.6ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:27 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:54:29 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImageHolder Load (1.2ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (5.0ms) Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 1.5ms) Started GET "/users/5/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:54:29 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"5"} UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "5"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.6ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 23:54:40 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (4.2ms) Rendered users/edit.html.erb within layouts/application (5.7ms) Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.3ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "remove_image"=>"1"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (0.5ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Unpermitted parameters: username  (1.0ms) BEGIN SQL (0.6ms) DELETE FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 [["id", 5]]  (6.4ms) COMMIT Unpermitted parameters: remove_image  (0.1ms) BEGIN  (0.1ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 17ms (ActiveRecord: 9.0ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:43 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:54:45 +0900 Processing by UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (6.3ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 1.0ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 23:54:46 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (3.8ms) Rendered users/edit.html.erb within layouts/application (5.1ms) Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.3ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "remove_image"=>"1"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]]  (1.8ms) BEGIN SQL (0.5ms) INSERT INTO "user_image_holders" ("created_at", "updated_at", "user_username") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 18 Mar 2013 14:54:49 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:54:49 UTC +00:00], ["user_username", "tb"]]  (0.7ms) COMMIT Unpermitted parameters: username  (0.2ms) BEGIN SQL (0.3ms) DELETE FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 [["id", 6]]  (0.3ms) COMMIT Unpermitted parameters: remove_image  (0.1ms) BEGIN  (0.1ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 18ms (ActiveRecord: 4.7ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (0.7ms) Completed 200 OK in 11ms (Views: 7.0ms | ActiveRecord: 2.4ms) Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:54:49 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:54:50 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImageHolder Load (0.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (3.4ms) Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.8ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-18 23:54:53 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (5.6ms) Rendered users/edit.html.erb within layouts/application (7.1ms) Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.4ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]]  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "user_image_holders" ("created_at", "updated_at", "user_username") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 18 Mar 2013 14:55:00 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:55:00 UTC +00:00], ["user_username", "tb"]]  (0.8ms) COMMIT Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (1.6ms) UPDATE "user_image_holders" SET "filename" = $1, "content_type" = $2, "image_data" = $3, "image_thumb" = $4, "updated_at" = $5 WHERE "user_image_holders"."id" = 7 [["filename", "default.png"], ["content_type", "image/png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 14:55:00 UTC +00:00]]  (4.7ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 36ms (ActiveRecord: 8.6ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (0.7ms) Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.6ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:55:00 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:55:02 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (77.8ms) Completed 200 OK in 85ms (Views: 83.3ms | ActiveRecord: 1.0ms) Started GET "/users/7/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:55:02 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"7"} UserImageHolder Load (0.5ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "7"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms) Started GET "/users" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImageHolder Load (3.0ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Rendered users/index.html.erb within layouts/application (114.1ms) Completed 200 OK in 205ms (Views: 195.2ms | ActiveRecord: 8.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Started GET "/users/7/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:58:12 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"7"} UserImageHolder Load (2.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "7"]] Rendered text template (0.0ms) Sent data (2.7ms) Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 2.8ms) Started GET "/users/new" for 127.0.0.1 at 2013-03-18 23:58:15 +0900 Processing by UsersController#new as HTML Rendered users/_form.html.erb (23.1ms) Rendered users/new.html.erb within layouts/application (27.9ms) Completed 200 OK in 37ms (Views: 36.2ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.4ms) BEGIN  (0.2ms) COMMIT Unpermitted parameters: username  (0.2ms) BEGIN SQL (4.3ms) INSERT INTO "users" ("created_at", "updated_at", "username") VALUES ($1, $2, $3) RETURNING "username" [["created_at", Mon, 18 Mar 2013 14:58:23 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 14:58:23 UTC +00:00], ["username", "rb"]] SQL (3.1ms) INSERT INTO "user_image_holders" ("content_type", "created_at", "filename", "image_data", "image_thumb", "updated_at", "user_username") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["content_type", "image/png"], ["created_at", Mon, 18 Mar 2013 14:58:23 UTC +00:00], ["filename", "rb.png"], ["image_data", "<17470 bytes of binary data>"], ["image_thumb", "<3597 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 14:58:23 UTC +00:00], ["user_username", "rb"]]  (1.2ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 49ms (ActiveRecord: 9.3ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (1.5ms) Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.6ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-18 23:58:23 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-18 23:58:25 +0900 Processing by UsersController#index as HTML User Load (1.2ms) SELECT "users".* FROM "users" UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (0.9ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (11.2ms) Completed 200 OK in 19ms (Views: 15.5ms | ActiveRecord: 2.7ms) Started GET "/users/7/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:58:25 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"7"} UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "7"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.6ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-18 23:58:25 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.8ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-19 00:22:47 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (101.8ms) Rendered users/edit.html.erb within layouts/application (108.7ms) Completed 200 OK in 202ms (Views: 184.2ms | ActiveRecord: 4.1ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-19 00:22:55 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Completed 500 Internal Server Error in 11ms NoMethodError (undefined method `userimageholder' for #): app/controllers/users_controller.rb:47:in `update' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (33.1ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-19 00:23:37 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="rb.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"rb.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (1.5ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (1.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.2ms) BEGIN SQL (7.9ms) UPDATE "user_image_holders" SET "filename" = $1, "image_data" = $2, "image_thumb" = $3, "updated_at" = $4 WHERE "user_image_holders"."id" = 7 [["filename", "rb.png"], ["image_data", "<17470 bytes of binary data>"], ["image_thumb", "<3597 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 15:23:37 UTC +00:00]]  (1.7ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 168ms (ActiveRecord: 18.8ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (3.6ms) Completed 200 OK in 109ms (Views: 105.7ms | ActiveRecord: 1.0ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:38 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-19 00:23:42 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (1.2ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (10.1ms) Completed 200 OK in 38ms (Views: 35.3ms | ActiveRecord: 2.4ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:23:42 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (1.2ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (3.3ms) Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 1.2ms) Started GET "/users/7/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:23:42 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"7"} UserImageHolder Load (1.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "7"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 1.6ms) Started GET "/users/rb/edit" for 127.0.0.1 at 2013-03-19 00:23:44 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"rb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/_form.html.erb (20.1ms) Rendered users/edit.html.erb within layouts/application (29.6ms) Completed 200 OK in 39ms (Views: 37.6ms | ActiveRecord: 0.4ms) Started PATCH "/users/rb" for 127.0.0.1 at 2013-03-19 00:23:46 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"rb", "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"rb"} User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Unpermitted parameters: username Unpermitted parameters: remove_image  (0.2ms) BEGIN  (0.2ms) COMMIT Redirected to http://localhost:3000/users/rb Completed 302 Found in 80ms (ActiveRecord: 2.4ms) Started GET "/users/rb" for 127.0.0.1 at 2013-03-19 00:23:46 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"rb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "rb"]] Rendered users/show.html.erb within layouts/application (0.6ms) Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:46 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:46 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:46 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:46 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:47 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:47 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:47 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:47 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-19 00:23:48 +0900 Processing by UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" UserImageHolder Load (1.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (10.3ms) Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 2.4ms) Started GET "/users/7/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:23:48 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"7"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "7"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.7ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:23:48 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.7ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-19 00:23:50 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (4.6ms) Rendered users/edit.html.erb within layouts/application (7.2ms) Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.6ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-19 00:23:55 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "remove_image"=>"1"}, "commit"=>"Update User", "id"=>"tb"} User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] Unpermitted parameters: username  (0.1ms) BEGIN SQL (0.6ms) DELETE FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 [["id", 7]]  (0.3ms) COMMIT Unpermitted parameters: remove_image  (0.1ms) BEGIN  (0.1ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 12ms (ActiveRecord: 3.1ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-19 00:23:55 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (0.8ms) Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.4ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:55 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:56 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:56 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:56 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:56 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-19 00:23:56 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:56 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-19 00:23:56 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-19 00:23:57 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] Rendered users/index.html.erb within layouts/application (6.5ms) Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 1.5ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:23:58 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.8ms) Started GET "/users/new" for 127.0.0.1 at 2013-03-19 00:23:59 +0900 Processing by UsersController#new as HTML Rendered users/_form.html.erb (3.8ms) Rendered users/new.html.erb within layouts/application (5.8ms) Completed 200 OK in 17ms (Views: 14.8ms | ActiveRecord: 0.0ms) Started POST "/users" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Processing by UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"techno", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">}, "commit"=>"Create User"} Unpermitted parameters: image_file  (0.2ms) BEGIN  (0.2ms) COMMIT Unpermitted parameters: username  (0.4ms) BEGIN SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at", "username") VALUES ($1, $2, $3) RETURNING "username" [["created_at", Mon, 18 Mar 2013 15:24:08 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 15:24:08 UTC +00:00], ["username", "techno"]] SQL (1.9ms) INSERT INTO "user_image_holders" ("content_type", "created_at", "filename", "image_data", "image_thumb", "updated_at", "user_username") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["content_type", "image/png"], ["created_at", Mon, 18 Mar 2013 15:24:08 UTC +00:00], ["filename", "default.png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 15:24:08 UTC +00:00], ["user_username", "techno"]]  (3.9ms) COMMIT Redirected to http://localhost:3000/users/techno Completed 302 Found in 47ms (ActiveRecord: 7.4ms) Started GET "/users/techno" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"techno"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "techno"]] Rendered users/show.html.erb within layouts/application (1.2ms) Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.3ms) Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-19 00:24:08 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-19 00:24:10 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (0.3ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "techno"]] Rendered users/index.html.erb within layouts/application (13.4ms) Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 2.1ms) Started GET "/users/9/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:24:10 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"9"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "9"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.7ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:24:10 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-19 00:34:04 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (2.5ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (1.0ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (7.4ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "techno"]] Rendered users/index.html.erb within layouts/application (145.1ms) Completed 200 OK in 230ms (Views: 212.0ms | ActiveRecord: 16.7ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (1.2ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (1.7ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 1.2ms) Started GET "/users/9/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:34:05 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"9"} UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "9"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.6ms) Started GET "/users/tb/edit" for 127.0.0.1 at 2013-03-19 00:34:08 +0900 Processing by UsersController#edit as HTML Parameters: {"id"=>"tb"} User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/_form.html.erb (19.7ms) Rendered users/edit.html.erb within layouts/application (24.2ms) Completed 200 OK in 47ms (Views: 44.6ms | ActiveRecord: 0.8ms) Started PATCH "/users/tb" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Processing by UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"t8OeIxkQKfT9s9J1PptfDSa/Eb5wc5Na99PQl4UZ8QI=", "user"=>{"username"=>"tb", "image_file"=>#, @original_filename="default.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"user[image_file]\"; filename=\"default.png\"\r\nContent-Type: image/png\r\n">, "remove_image"=>"0"}, "commit"=>"Update User", "id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] UserImageHolder Load (2.1ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]]  (0.2ms) BEGIN SQL (4.5ms) INSERT INTO "user_image_holders" ("created_at", "updated_at", "user_username") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Mon, 18 Mar 2013 15:34:15 UTC +00:00], ["updated_at", Mon, 18 Mar 2013 15:34:15 UTC +00:00], ["user_username", "tb"]]  (1.1ms) COMMIT Unpermitted parameters: username Unpermitted parameters: image_file, remove_image  (0.3ms) BEGIN SQL (9.5ms) UPDATE "user_image_holders" SET "filename" = $1, "content_type" = $2, "image_data" = $3, "image_thumb" = $4, "updated_at" = $5 WHERE "user_image_holders"."id" = 10 [["filename", "default.png"], ["content_type", "image/png"], ["image_data", "<8455 bytes of binary data>"], ["image_thumb", "<2431 bytes of binary data>"], ["updated_at", Mon, 18 Mar 2013 15:34:15 UTC +00:00]]  (0.5ms) COMMIT Redirected to http://localhost:3000/users/tb Completed 302 Found in 48ms (ActiveRecord: 18.5ms) Started GET "/users/tb" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Processing by UsersController#show as HTML Parameters: {"id"=>"tb"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."username" = $1 LIMIT 1 [["username", "tb"]] Rendered users/show.html.erb within layouts/application (1.4ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.3ms) Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-19 00:34:15 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-19 00:34:17 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (1.1ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "techno"]] Rendered users/index.html.erb within layouts/application (12.7ms) Completed 200 OK in 20ms (Views: 16.5ms | ActiveRecord: 2.7ms) Started GET "/users/9/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:34:17 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"9"} UserImageHolder Load (0.5ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "9"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms) Started GET "/users/10/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:34:17 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"10"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "10"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:34:17 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.7ms) Started GET "/users" for 127.0.0.1 at 2013-03-19 00:58:57 +0900 Processing by UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" UserImageHolder Load (2.5ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (1.0ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (1.1ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "techno"]] Rendered users/index.html.erb within layouts/application (81.0ms) Completed 200 OK in 267ms (Views: 255.8ms | ActiveRecord: 9.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Started GET "/users/9/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"9"} UserImageHolder Load (2.1ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "9"]] Rendered text template (0.0ms) Sent data (2.3ms) Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 2.1ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.7ms) Started GET "/users/10/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-19 00:58:58 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"10"} UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "10"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.6ms) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (121.0ms) DROP DATABASE IF EXISTS "dummy_test"  (380.1ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (9.7ms) CREATE TABLE "user_image_holders" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  (5.5ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)   (1.3ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318134905')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163018') Started GET "/" for 127.0.0.1 at 2013-03-20 02:34:15 +0900 Processing by Rails::WelcomeController#index as HTML Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/railties-4.0.0.beta1/lib/rails/templates/rails/welcome/index.html.erb (1.8ms) Completed 200 OK in 55ms (Views: 54.4ms | ActiveRecord: 0.0ms) Started GET "/assets/rails.png" for 127.0.0.1 at 2013-03-20 02:34:16 +0900 Started GET "/users" for 127.0.0.1 at 2013-03-20 02:34:21 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImageHolder Load (2.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (1.0ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "techno"]] Rendered users/index.html.erb within layouts/application (87.3ms) Completed 200 OK in 220ms (Views: 205.5ms | ActiveRecord: 9.8ms) Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Started GET "/users/10/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"10"} UserImageHolder Load (1.1ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "10"]] Rendered text template (0.0ms) Sent data (1.6ms) Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 1.1ms) Started GET "/users/9/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"9"} UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "9"]] Rendered text template (0.0ms) Sent data (1.2ms) Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.6ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-20 02:34:22 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (0.7ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.7ms) Started GET "/meetings/1" for 127.0.0.1 at 2013-03-20 12:16:47 +0900 ActionController::RoutingError (No route matches [GET] "/meetings/1"): actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (43.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.3ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (85.3ms) Started GET "/meetings" for 127.0.0.1 at 2013-03-20 12:17:01 +0900 ActionController::RoutingError (No route matches [GET] "/meetings"): actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (43.2ms) Started GET "/users" for 127.0.0.1 at 2013-03-20 12:17:07 +0900 Processing by UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" UserImageHolder Load (2.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "tb"]] UserImageHolder Load (0.9ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "rb"]] UserImageHolder Load (0.6ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."user_username" = $1 ORDER BY "user_image_holders"."id" ASC LIMIT 1 [["user_username", "techno"]] Rendered users/index.html.erb within layouts/application (112.3ms) Completed 200 OK in 257ms (Views: 221.5ms | ActiveRecord: 33.6ms) Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Started GET "/users/9/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"9"} UserImageHolder Load (1.0ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "9"]] Rendered text template (0.0ms) Sent data (1.8ms) Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 1.0ms) Started GET "/users/10/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"10"} UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "10"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.8ms) Started GET "/users/8/load_image?image_column=image_thumb" for 127.0.0.1 at 2013-03-20 12:17:08 +0900 Processing by UsersController#load_image as */* Parameters: {"image_column"=>"image_thumb", "id"=>"8"} UserImageHolder Load (0.8ms) SELECT "user_image_holders".* FROM "user_image_holders" WHERE "user_image_holders"."id" = $1 LIMIT 1 [["id", "8"]] Rendered text template (0.0ms) Sent data (0.4ms) Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.8ms) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5044.9ms) DROP DATABASE IF EXISTS "dummy_test" PG::Error: ERROR: database "dummy_test" is being accessed by other users DETAIL: There are 1 other session(s) using the database. : DROP DATABASE IF EXISTS "dummy_test" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (120.5ms) DROP DATABASE IF EXISTS "dummy_test"  (385.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (9.7ms) CREATE TABLE "user_image_holders" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  (5.5ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318134905')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163018') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePosts (20130324161507)  (0.2ms) BEGIN  (8.2ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying(255), "body" character varying(255), "created_at" timestamp, "updated_at" timestamp)  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130324161507"]]  (1.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (114.4ms) DROP DATABASE IF EXISTS "dummy_test"  (293.8ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (9.9ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying(255), "body" character varying(255), "created_at" timestamp, "updated_at" timestamp)  (5.7ms) CREATE TABLE "user_image_holders" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)   (5.6ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  (1.2ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130324161507')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163018')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318134905') ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (113.2ms) DROP DATABASE IF EXISTS "dummy_test"  (258.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (10.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying(255), "body" character varying(255), "created_at" timestamp, "updated_at" timestamp)  (5.5ms) CREATE TABLE "user_image_holders" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)   (5.7ms) CREATE TABLE "user_images" ("id" serial primary key, "user_username" character varying(255), "filename" character varying(255), "content_type" character varying(255), "image_data" bytea, "image_thumb" bytea, "created_at" timestamp, "updated_at" timestamp)  (1.4ms) CREATE TABLE "users" ("username" character varying(255), "created_at" timestamp, "updated_at" timestamp)   (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130324161507')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130316163018')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130318134905') Started GET "/meetings/2" for 127.0.0.1 at 2013-04-02 23:38:18 +0900 ActionController::RoutingError (No route matches [GET] "/meetings/2"): actionpack (4.0.0.beta1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.0.0.beta1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `block in call' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `block in tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:25:in `tagged' activesupport (4.0.0.beta1) lib/active_support/tagged_logging.rb:67:in `tagged' railties (4.0.0.beta1) lib/rails/rack/logger.rb:21:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.0.0.beta1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.0.0.beta1) lib/action_dispatch/middleware/static.rb:64:in `call' railties (4.0.0.beta1) lib/rails/engine.rb:510:in `call' railties (4.0.0.beta1) lib/rails/application.rb:96:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/toshinobu/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (14.2ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (49.6ms) Started GET "/" for 127.0.0.1 at 2013-04-02 23:38:31 +0900 Processing by Rails::WelcomeController#index as HTML Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/railties-4.0.0.beta1/lib/rails/templates/rails/welcome/index.html.erb (0.8ms) Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started GET "/assets/rails.png" for 127.0.0.1 at 2013-04-02 23:38:31 +0900 Started GET "/users" for 127.0.0.1 at 2013-04-02 23:38:35 +0900 ActionController::RoutingError (undefined method `caches_action' for UsersController:Class): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (47.1ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.9ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (82.1ms) Started GET "/users" for 127.0.0.1 at 2013-04-02 23:42:19 +0900 LoadError (cannot load such file -- action_controller/action_caching): app/controllers/users_controller.rb:2:in `' app/controllers/users_controller.rb:1:in `' Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (48.7ms) Rendered /Users/toshinobu/.rvm/gems/ruby-2.0.0-p0@rails4b/gems/actionpack-4.0.0.beta1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (74.2ms)