spec/dummy/log/development.log in genderize-0.0.3 vs spec/dummy/log/development.log in genderize-0.0.4

- old
+ new

@@ -65,5 +65,257 @@  (150.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(20) NOT NULL, "gender" varchar(1) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130506080641') +Connecting to database specified by database.yml + + +Started GET "/" for 127.0.0.1 at 2013-05-06 17:43:04 +0100 + +ActionController::RoutingError (No route matches [GET] "/"): + actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.5) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.5) lib/rack/lock.rb:15:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' + railties (3.2.13) lib/rails/engine.rb:479:in `call' + railties (3.2.13) lib/rails/application.rb:223:in `call' + rack (1.4.5) lib/rack/content_length.rb:14:in `call' + railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' + /Users/Gavin/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' + /Users/Gavin/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' + /Users/Gavin/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (4.6ms) +Connecting to database specified by database.yml +Connecting to database specified by database.yml + + +Started GET "/" for 127.0.0.1 at 2013-05-06 17:54:07 +0100 + +ActionController::RoutingError (No route matches [GET] "/"): + actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.5) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.5) lib/rack/lock.rb:15:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' + railties (3.2.13) lib/rails/engine.rb:479:in `call' + railties (3.2.13) lib/rails/application.rb:223:in `call' + rack (1.4.5) lib/rack/content_length.rb:14:in `call' + railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service' + /Users/Gavin/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' + /Users/Gavin/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' + /Users/Gavin/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' + + + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms) +Connecting to database specified by database.yml +SQLite3::ConstraintException: users.name may not be NULL: INSERT INTO "users" ("created_at", "gender", "name", "updated_at") VALUES (?, ?, ?, ?) +Connecting to database specified by database.yml +Connecting to database specified by database.yml + + +Started GET "/users" for 127.0.0.1 at 2013-05-06 17:57:03 +0100 + +ActionController::RoutingError (uninitialized constant ApplicationController): + app/controllers/users_controller.rb:1:in `<top (required)>' + + + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms) + + +Started GET "/users" for 127.0.0.1 at 2013-05-06 17:57:35 +0100 +Processing by UsersController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users"  + Rendered users/index.html.erb (11.1ms) +Completed 500 Internal Server Error in 36ms + +ActionView::Template::Error (undefined method `new' for #<User:0x007ff260df8ea0>): + 12: + 13: <% @users.each do |user| %> + 14: <tr> + 15: <td><%= user.new %></td> + 16: <td><%= user.index %></td> + 17: <td><%= user.show %></td> + 18: <td><%= link_to 'Show', user %></td> + app/views/users/index.html.erb:15:in `block in _app_views_users_index_html_erb__195431217160685788_70339491875360' + app/views/users/index.html.erb:13:in `each' + app/views/users/index.html.erb:13:in `_app_views_users_index_html_erb__195431217160685788_70339491875360' + app/controllers/users_controller.rb:7:in `index' + + + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms) + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms) + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.4ms) + + +Started GET "/users" for 127.0.0.1 at 2013-05-06 17:58:29 +0100 +Processing by UsersController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb (1.2ms) +Completed 500 Internal Server Error in 4ms + +ActionView::Template::Error (undefined method `new' for #<User:0x007ff260c4bc88>): + 12: + 13: <% @users.each do |user| %> + 14: <tr> + 15: <td><%= user.new %></td> + 16: <td><%= user.index %></td> + 17: <td><%= user.show %></td> + 18: <td><%= link_to 'Show', user %></td> + app/views/users/index.html.erb:15:in `block in _app_views_users_index_html_erb__195431217160685788_70339491875360' + app/views/users/index.html.erb:13:in `each' + app/views/users/index.html.erb:13:in `_app_views_users_index_html_erb__195431217160685788_70339491875360' + app/controllers/users_controller.rb:7:in `index' + + + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.5ms) + + +Started GET "/users" for 127.0.0.1 at 2013-05-06 17:58:57 +0100 +Processing by UsersController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users"  + Rendered users/index.html.erb (3.1ms) +Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms) + + +Started GET "/users/new" for 127.0.0.1 at 2013-05-06 17:59:00 +0100 +Processing by UsersController#new as HTML + Rendered users/_form.html.erb (7.7ms) + Rendered users/new.html.erb (88.1ms) +Completed 200 OK in 91ms (Views: 90.4ms | ActiveRecord: 0.0ms) + + +Started POST "/users" for 127.0.0.1 at 2013-05-06 17:59:06 +0100 +Processing by UsersController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"ldtoT2Ug+eOtkjnmxRe6R4KpW8S/pmP1lgePwQxUDFg=", "user"=>{"name"=>"m", "gender"=>"f"}, "commit"=>"Create User"} +  (0.1ms) begin transaction + SQL (3.5ms) INSERT INTO "users" ("created_at", "gender", "name", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 06 May 2013 16:59:06 UTC +00:00], ["gender", "f"], ["name", "m"], ["updated_at", Mon, 06 May 2013 16:59:06 UTC +00:00]] +  (3.6ms) commit transaction +Redirected to http://localhost:3000/users/2 +Completed 302 Found in 11ms (ActiveRecord: 7.1ms) + + +Started GET "/users/2" for 127.0.0.1 at 2013-05-06 17:59:06 +0100 +Processing by UsersController#show as HTML + Parameters: {"id"=>"2"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]] + Rendered users/show.html.erb (1.5ms) +Completed 500 Internal Server Error in 5ms + +ActionView::Template::Error (undefined method `new' for #<User:0x007ff2608fa908>): + 2: + 3: <p> + 4: <b>New:</b> + 5: <%= @user.new %> + 6: </p> + 7: + 8: <p> + app/views/users/show.html.erb:5:in `_app_views_users_show_html_erb___3696768098522740839_70339489415300' + app/controllers/users_controller.rb:18:in `show' + + + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.9ms) + + +Started GET "/users/2" for 127.0.0.1 at 2013-05-06 17:59:28 +0100 +Processing by UsersController#show as HTML + Parameters: {"id"=>"2"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]] + Rendered users/show.html.erb (1.3ms) +Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.1ms) + + +Started GET "/users" for 127.0.0.1 at 2013-05-06 17:59:29 +0100 +Processing by UsersController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users"  + Rendered users/index.html.erb (2.0ms) +Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) + + +Started GET "/users" for 127.0.0.1 at 2013-05-06 18:01:02 +0100 +Processing by UsersController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb (1.9ms) +Completed 500 Internal Server Error in 6ms + +ActionView::Template::Error (undefined method `abbr' for #<User:0x007ff2606e2008>): + 15: <td><%= user.name %></td> + 16: <td><%= user.gender %></td> + 17: + 18: <td><%= user.abbr %></td> + 19: <td><%= user.subject %></td> + 20: <td><%= user.object %></td> + 21: <td><%= user.casual %></td> + app/views/users/index.html.erb:18:in `block in _app_views_users_index_html_erb__195431217160685788_70339488305400' + app/views/users/index.html.erb:13:in `each' + app/views/users/index.html.erb:13:in `_app_views_users_index_html_erb__195431217160685788_70339488305400' + app/controllers/users_controller.rb:7:in `index' + + + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms) + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) + Rendered /Users/Gavin/.rvm/gems/ruby-2.0.0-p0@genderize/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.9ms) + + +Started GET "/users" for 127.0.0.1 at 2013-05-06 18:01:08 +0100 +Processing by UsersController#index as HTML + User Load (0.2ms) SELECT "users".* FROM "users"  + Rendered users/index.html.erb (2.8ms) +Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms) + + +Started GET "/users/2/edit" for 127.0.0.1 at 2013-05-06 18:01:12 +0100 +Processing by UsersController#edit as HTML + Parameters: {"id"=>"2"} + User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]] + Rendered users/_form.html.erb (2.4ms) + Rendered users/edit.html.erb (4.4ms) +Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.2ms) + + +Started PUT "/users/2" for 127.0.0.1 at 2013-05-06 18:01:15 +0100 +Processing by UsersController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"ldtoT2Ug+eOtkjnmxRe6R4KpW8S/pmP1lgePwQxUDFg=", "user"=>{"name"=>"m", "gender"=>"m"}, "commit"=>"Update User", "id"=>"2"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]] +  (0.0ms) begin transaction +  (0.9ms) UPDATE "users" SET "gender" = 'm', "updated_at" = '2013-05-06 17:01:15.759258' WHERE "users"."id" = 2 +  (56.4ms) commit transaction +Redirected to http://localhost:3000/users/2 +Completed 302 Found in 62ms (ActiveRecord: 57.5ms) + + +Started GET "/users/2" for 127.0.0.1 at 2013-05-06 18:01:15 +0100 +Processing by UsersController#show as HTML + Parameters: {"id"=>"2"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]] + Rendered users/show.html.erb (0.6ms) +Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.1ms) + + +Started GET "/users" for 127.0.0.1 at 2013-05-06 18:01:19 +0100 +Processing by UsersController#index as HTML + User Load (0.1ms) SELECT "users".* FROM "users" + Rendered users/index.html.erb (1.8ms) +Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)