Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- [1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (147.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
- [1m[36m (142.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35m (0.4ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
- Migrating to CreateItems (20140826153251)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (1.2ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" float, "real" boolean, "name" varchar(255), "weight" float, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (0.7ms)[0m [1mCREATE INDEX "index_items_on_price" ON "items" ("price")[0m
- [1m[35m (0.3ms)[0m CREATE INDEX "index_items_on_name" ON "items" ("name")
- [1m[36m (3.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20140826153251')[0m
- [1m[35m (122.4ms)[0m commit transaction
- [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
- Connecting to database specified by database.yml
- [1m[36m (1.7ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
- [1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (144.2ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" float, "real" boolean, "name" varchar(255), "weight" float, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
- [1m[36m (159.6ms)[0m [1mCREATE INDEX "index_items_on_name" ON "items" ("name")[0m
- [1m[35m (141.9ms)[0m CREATE INDEX "index_items_on_price" ON "items" ("price")
- [1m[36m (141.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
- [1m[35m (158.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
- [1m[35m (166.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140826153251')
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Connecting to database specified by database.yml
- Started GET "/assets/rails.png" for 127.0.0.1 at 2014-08-26 20:20:42 +0400
- Connecting to database specified by database.yml
- Served asset /rails.png - 200 OK (31ms)
- Started GET "/items" for 127.0.0.1 at 2014-08-26 20:20:48 +0400
- Processing by ItemsController#index as HTML
- [1m[36mItem Load (0.3ms)[0m [1mSELECT "items".* FROM "items" [0m
- Rendered text template (0.0ms)
- Completed 200 OK in 87.8ms (Views: 17.6ms | ActiveRecord: 5.0ms)
- Started GET "/items/create" for 127.0.0.1 at 2014-08-26 20:24:21 +0400
- Processing by ItemsController#create as HTML
- Rendered text template (0.0ms)
- Completed 200 OK in 3.4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
- Started GET "/items/create" for 127.0.0.1 at 2014-08-26 20:24:34 +0400
- Processing by ItemsController#create as HTML
- Rendered text template (0.0ms)
- Completed 200 OK in 2.3ms (Views: 1.5ms | ActiveRecord: 0.0ms)
- Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:25:55 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1"}
- Rendered text template (0.0ms)
- Completed 200 OK in 2.3ms (Views: 1.1ms | ActiveRecord: 0.0ms)
- Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:32:54 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1"}
- Completed 500 Internal Server Error in 5.1ms
- NameError (undefined local variable or method `weight' for #<ItemsController:0x007ff9d81eb318>):
- app/controllers/items_controller.rb:9:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.6ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.7ms)
- Started GET "/items/create?name=car1&descripton=lada&weight=10&price=500000&real=1" for 127.0.0.1 at 2014-08-26 20:34:47 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1", "descripton"=>"lada", "weight"=>"10", "price"=>"500000", "real"=>"1"}
- Completed 500 Internal Server Error in 9.2ms
- NameError (undefined local variable or method `weight' for #<ItemsController:0x000000037ff9b0>):
- app/controllers/items_controller.rb:9:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.2ms)
- Started GET "/items/create?name=car1&descripton=lada&weight=10&price=500000&real=1" for 127.0.0.1 at 2014-08-26 20:37:15 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1", "descripton"=>"lada", "weight"=>"10", "price"=>"500000", "real"=>"1"}
- Completed 500 Internal Server Error in 4.6ms
- NameError (undefined local variable or method `weight' for #<ItemsController:0x000000034cab50>):
- app/controllers/items_controller.rb:9:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.4ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.6ms)
- Started GET "/items/create?name=car1&descripton=lada&weight=10&price=500000&real=1" for 127.0.0.1 at 2014-08-26 20:40:18 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1", "descripton"=>"lada", "weight"=>"10", "price"=>"500000", "real"=>"1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Completed 500 Internal Server Error in 39.5ms
- NoMethodError (undefined method `new_record' for #<Item:0x00000001c973f8>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.6ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.4ms)
- Started GET "/items/create?name=car1&descripton=lada&weight=10&price=500000&real=1" for 127.0.0.1 at 2014-08-26 20:41:47 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1", "descripton"=>"lada", "weight"=>"10", "price"=>"500000", "real"=>"1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Completed 500 Internal Server Error in 3.5ms
- NoMethodError (undefined method `new_record' for #<Item:0x000000010505e0>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (18.3ms)
- Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:41:58 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Completed 500 Internal Server Error in 5.7ms
- NoMethodError (undefined method `new_record' for #<Item:0x007ff9d8358098>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.7ms)
- Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:22 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Completed 500 Internal Server Error in 23.6ms
- NoMethodError (undefined method `new_record' for #<Item:0x007ff9d8042278>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.2ms)
- Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:24 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1"}
- [1m[35m (0.2ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Completed 500 Internal Server Error in 9.1ms
- NoMethodError (undefined method `new_record' for #<Item:0x000000035e5fa8>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.4ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (19.0ms)
- Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:24 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Completed 500 Internal Server Error in 4.7ms
- NoMethodError (undefined method `new_record' for #<Item:0x0000000345e1f8>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.3ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.7ms)
- Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:25 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Completed 500 Internal Server Error in 7.2ms
- NoMethodError (undefined method `new_record' for #<Item:0x00000003271d90>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (24.9ms)
- Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:25 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Completed 500 Internal Server Error in 6.6ms
- NoMethodError (undefined method `new_record' for #<Item:0x00000001c56ba0>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.8ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.1ms)
- Started GET "/items/create?name=car1&description=good&price=500000&weight=0&real=1" for 127.0.0.1 at 2014-08-26 20:46:51 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1", "description"=>"good", "price"=>"500000", "weight"=>"0", "real"=>"1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36mSQL (20.5ms)[0m [1mINSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 16:46:51 UTC +00:00], ["description", "good"], ["name", "car1"], ["price", 500000.0], ["real", true], ["updated_at", Tue, 26 Aug 2014 16:46:51 UTC +00:00], ["weight", 0.0]]
- [1m[35m (128.8ms)[0m commit transaction
- Completed 500 Internal Server Error in 155.5ms
- NoMethodError (undefined method `new_record' for #<Item:0x000000014fca58>):
- app/controllers/items_controller.rb:10:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (10.6ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (29.0ms)
- Started GET "/items/create?name=car1&description=good&price=500000&weight=0&real=1" for 127.0.0.1 at 2014-08-26 21:09:22 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"name"=>"car1", "description"=>"good", "price"=>"500000", "weight"=>"0", "real"=>"1"}
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mSQL (5.1ms)[0m INSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Aug 2014 17:09:23 UTC +00:00], ["description", "good"], ["name", "car1"], ["price", 500000.0], ["real", true], ["updated_at", Tue, 26 Aug 2014 17:09:23 UTC +00:00], ["weight", 0.0]]
- [1m[36m (213.6ms)[0m [1mcommit transaction[0m
- Rendered text template (0.0ms)
- Completed 200 OK in 286.6ms (Views: 1.1ms | ActiveRecord: 228.0ms)
- Started GET "/items/create?description=good&price=500000&weight=0&real=1" for 127.0.0.1 at 2014-08-26 21:28:59 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"description"=>"good", "price"=>"500000", "weight"=>"0", "real"=>"1"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Rendered text template (0.0ms)
- Completed 200 OK in 53.8ms (Views: 7.1ms | ActiveRecord: 4.8ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-26 22:19:40 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (21.4ms)
- Warning. Error encountered while saving cache /home/weare138/two/tmp/cache/sass/38934fc4f0ab6f1957cc809ecd2e0277ce6c76b7/items.css.scssc: can't dump anonymous class #<Class:0x00000003387e28>
- Compiled items.css (104ms) (pid 28381)
- Compiled application.css (134ms) (pid 28381)
- Compiled jquery.js (14ms) (pid 28381)
- Compiled jquery_ujs.js (1ms) (pid 28381)
- Compiled items.js (680ms) (pid 28381)
- Compiled application.js (785ms) (pid 28381)
- Completed 200 OK in 1247.1ms (Views: 1245.4ms | ActiveRecord: 0.0ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 22:19:41 +0400
- Served asset /application.css - 200 OK (104ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 22:19:41 +0400
- Served asset /jquery_ujs.js - 200 OK (9ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 22:19:42 +0400
- Served asset /items.css - 200 OK (6ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 22:19:42 +0400
- Served asset /jquery.js - 200 OK (12ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 22:19:42 +0400
- Served asset /application.js - 200 OK (28ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 22:19:42 +0400
- Served asset /items.js - 200 OK (7ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (3.0ms)
- Completed 200 OK in 24.2ms (Views: 17.3ms | ActiveRecord: 0.0ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
- Served asset /application.css - 304 Not Modified (27ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
- Served asset /jquery.js - 304 Not Modified (3ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
- Served asset /application.js - 304 Not Modified (7ms)
- Started GET "/items/10/" for 127.0.0.1 at 2014-08-26 22:55:20 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"10"}
- [1m[35mItem Load (1.3ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = 10 LIMIT 1
- Rendered items/show.html.erb within layouts/application (69.8ms)
- Completed 500 Internal Server Error in 248.8ms
- ActionView::Template::Error (undefined method `price' for nil:NilClass):
- 1: <h2>%= @item.name %></h2>
- 2: <ul>
- 3: <li><%= @item.price %>R.</li>
- 4: <li><%= @item.description %></li>
- 5: <li>weight<%= @item.weight %></li>
- 6:
- app/views/items/show.html.erb:3:in `_app_views_items_show_html_erb__3679694940575988720_26579140'
- app/controllers/items_controller.rb:8:in `show'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.6ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (24.2ms)
- Started GET "/items/1/" for 127.0.0.1 at 2014-08-26 22:55:26 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"1"}
- [1m[36mItem Load (0.4ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1[0m
- Rendered items/show.html.erb within layouts/application (2.3ms)
- Completed 500 Internal Server Error in 11.6ms
- ActionView::Template::Error (undefined method `price' for nil:NilClass):
- 1: <h2>%= @item.name %></h2>
- 2: <ul>
- 3: <li><%= @item.price %>R.</li>
- 4: <li><%= @item.description %></li>
- 5: <li>weight<%= @item.weight %></li>
- 6:
- app/views/items/show.html.erb:3:in `_app_views_items_show_html_erb__3679694940575988720_26579140'
- app/controllers/items_controller.rb:8:in `show'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.4ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.9ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (40.3ms)
- Started GET "/items/2/" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"2"}
- [1m[35mItem Load (99.9ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = 2 LIMIT 1
- Rendered items/show.html.erb within layouts/application (1.5ms)
- Completed 200 OK in 172.5ms (Views: 20.9ms | ActiveRecord: 99.9ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
- Served asset /application.css - 304 Not Modified (9ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
- Served asset /items.css - 304 Not Modified (14ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
- Served asset /jquery.js - 304 Not Modified (2ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
- Served asset /application.js - 304 Not Modified (5ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
- Served asset /items.js - 304 Not Modified (3ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/items/2/" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"2"}
- [1m[36mItem Load (0.3ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = 2 LIMIT 1[0m
- Rendered items/show.html.erb within layouts/application (1.0ms)
- Completed 200 OK in 25.4ms (Views: 23.7ms | ActiveRecord: 0.3ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
- Served asset /application.css - 304 Not Modified (0ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
- Served asset /jquery.js - 304 Not Modified (1ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
- Served asset /application.js - 304 Not Modified (4ms)
- Started GET "/items/1/" for 127.0.0.1 at 2014-08-26 22:58:43 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"1"}
- [1m[35mItem Load (0.4ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
- Rendered text template (0.0ms)
- Completed 404 Not Found in 7.0ms (Views: 1.3ms | ActiveRecord: 1.6ms)
- Started GET "/items/1/" for 127.0.0.1 at 2014-08-26 23:01:13 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"1"}
- [1m[36mItem Load (0.3ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1[0m
- Rendered text template (0.0ms)
- Completed 404 Not Found in 14.1ms (Views: 1.2ms | ActiveRecord: 1.4ms)
- Started GET "/items/2/" for 127.0.0.1 at 2014-08-26 23:01:17 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"2"}
- [1m[35mItem Load (0.4ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = 2 LIMIT 1
- Rendered items/show.html.erb within layouts/application (0.2ms)
- Completed 200 OK in 43.9ms (Views: 17.4ms | ActiveRecord: 0.4ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
- Served asset /application.css - 304 Not Modified (21ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
- Served asset /jquery.js - 304 Not Modified (11ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
- Served asset /application.js - 304 Not Modified (5ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/items/" for 127.0.0.1 at 2014-08-26 23:03:56 +0400
- Processing by ItemsController#index as HTML
- [1m[36mItem Load (1.7ms)[0m [1mSELECT "items".* FROM "items" [0m
- Rendered items/index.html.erb within layouts/application (0.9ms)
- Completed 200 OK in 37.8ms (Views: 16.7ms | ActiveRecord: 2.6ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
- Served asset /application.css - 304 Not Modified (10ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
- Served asset /jquery.js - 304 Not Modified (6ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
- Served asset /items.css - 304 Not Modified (5ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
- Served asset /application.js - 304 Not Modified (8ms)
- Started GET "/items/" for 127.0.0.1 at 2014-08-26 23:06:37 +0400
- Processing by ItemsController#index as HTML
- [1m[35mItem Load (0.4ms)[0m SELECT "items".* FROM "items"
- Rendered items/index.html.erb within layouts/application (38.0ms)
- Completed 500 Internal Server Error in 47.2ms
- ActionView::Template::Error (undefined local variable or method `item' for #<#<Class:0x000000010309c0>:0x007ff9d8249a58>):
- 1: <% @items.each do |i| %>
- 2: <p><% link_to i.name, item.path(i) %></p>
- 3: <% end %>
- app/views/items/index.html.erb:2:in `block in _app_views_items_index_html_erb___2714789055491962083_70355524918820'
- app/views/items/index.html.erb:1:in `each'
- app/views/items/index.html.erb:1:in `_app_views_items_index_html_erb___2714789055491962083_70355524918820'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.0ms)
- Started GET "/items/" for 127.0.0.1 at 2014-08-26 23:07:17 +0400
- Processing by ItemsController#index as HTML
- [1m[36mItem Load (2.5ms)[0m [1mSELECT "items".* FROM "items" [0m
- Rendered items/index.html.erb within layouts/application (37.5ms)
- Completed 500 Internal Server Error in 43.6ms
- ActionView::Template::Error (undefined local variable or method `item' for #<#<Class:0x000000010309c0>:0x0000000379e3e0>):
- 1: <% @items.each do |i| %>
- 2: <p><%= link_to i.name, item.path(i) %></p>
- 3: <% end %>
- app/views/items/index.html.erb:2:in `block in _app_views_items_index_html_erb___2714789055491962083_29155640'
- app/views/items/index.html.erb:1:in `each'
- app/views/items/index.html.erb:1:in `_app_views_items_index_html_erb___2714789055491962083_29155640'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.3ms)
- Started GET "/items/" for 127.0.0.1 at 2014-08-26 23:09:17 +0400
- Processing by ItemsController#index as HTML
- [1m[35mItem Load (0.3ms)[0m SELECT "items".* FROM "items"
- Rendered items/index.html.erb within layouts/application (33.5ms)
- Completed 500 Internal Server Error in 41.5ms
- ActionView::Template::Error (undefined local variable or method `item' for #<#<Class:0x000000010309c0>:0x00000003562a90>):
- 1: <% @items.each do |i| %>
- 2: <p><%= link_to i.name, item.path(i) %></p>
- 3: <% end %>
- app/views/items/index.html.erb:2:in `block in _app_views_items_index_html_erb___2714789055491962083_27986020'
- app/views/items/index.html.erb:1:in `each'
- app/views/items/index.html.erb:1:in `_app_views_items_index_html_erb___2714789055491962083_27986020'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.9ms)
- Started GET "/items" for 127.0.0.1 at 2014-08-26 23:09:20 +0400
- Processing by ItemsController#index as HTML
- [1m[36mItem Load (0.4ms)[0m [1mSELECT "items".* FROM "items" [0m
- Rendered items/index.html.erb within layouts/application (46.9ms)
- Completed 500 Internal Server Error in 53.3ms
- ActionView::Template::Error (undefined local variable or method `item' for #<#<Class:0x000000010309c0>:0x0000000328def0>):
- 1: <% @items.each do |i| %>
- 2: <p><%= link_to i.name, item.path(i) %></p>
- 3: <% end %>
- app/views/items/index.html.erb:2:in `block in _app_views_items_index_html_erb___2714789055491962083_27986020'
- app/views/items/index.html.erb:1:in `each'
- app/views/items/index.html.erb:1:in `_app_views_items_index_html_erb___2714789055491962083_27986020'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.4ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (27.6ms)
- Started GET "/items" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
- Processing by ItemsController#index as HTML
- [1m[35mItem Load (0.9ms)[0m SELECT "items".* FROM "items"
- Rendered items/index.html.erb within layouts/application (8.4ms)
- Completed 200 OK in 28.2ms (Views: 26.0ms | ActiveRecord: 0.9ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
- Served asset /application.css - 304 Not Modified (18ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
- Served asset /jquery.js - 304 Not Modified (5ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
- Served asset /application.js - 304 Not Modified (6ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/items/2" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"2"}
- [1m[36mItem Load (0.4ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = 2 LIMIT 1[0m
- Rendered items/show.html.erb within layouts/application (0.2ms)
- Completed 200 OK in 10.8ms (Views: 8.2ms | ActiveRecord: 0.4ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
- Served asset /application.css - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
- Served asset /jquery.js - 304 Not Modified (1ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (2ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
- Served asset /application.js - 304 Not Modified (10ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/items/3" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"3"}
- [1m[35mItem Load (0.4ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = 3 LIMIT 1
- Rendered items/show.html.erb within layouts/application (0.2ms)
- Completed 200 OK in 25.5ms (Views: 23.6ms | ActiveRecord: 0.4ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
- Served asset /application.css - 304 Not Modified (0ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
- Served asset /jquery.js - 304 Not Modified (8ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
- Served asset /application.js - 304 Not Modified (3ms)
- Started GET "/items" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
- Processing by ItemsController#index as HTML
- [1m[36mItem Load (1.6ms)[0m [1mSELECT "items".* FROM "items" [0m
- Rendered items/index.html.erb within layouts/application (4.8ms)
- Completed 200 OK in 21.8ms (Views: 18.7ms | ActiveRecord: 1.6ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
- Served asset /application.css - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
- Served asset /jquery.js - 304 Not Modified (4ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
- Served asset /application.js - 304 Not Modified (1ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
- Served asset /items.js - 304 Not Modified (3ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (2ms)
- Started GET "/new" for 127.0.0.1 at 2014-08-26 23:29:40 +0400
- ActionController::RoutingError (No route matches [GET] "/new"):
- actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
- railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
- activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
- railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.19) 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.19) 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.19) lib/action_dispatch/middleware/static.rb:63:in `call'
- railties (3.2.19) lib/rails/engine.rb:484:in `call'
- railties (3.2.19) lib/rails/application.rb:231:in `call'
- rack (1.4.5) lib/rack/content_length.rb:14:in `call'
- railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
- /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
- /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
- /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.2ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (12.6ms)
- Completed 200 OK in 36.9ms (Views: 36.3ms | ActiveRecord: 0.0ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
- Served asset /application.css - 304 Not Modified (9ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
- Served asset /jquery.js - 304 Not Modified (3ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
- Served asset /items.js - 304 Not Modified (2ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
- Served asset /application.js - 304 Not Modified (5ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (7.8ms)
- Completed 200 OK in 26.8ms (Views: 26.5ms | ActiveRecord: 0.0ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
- Served asset /application.css - 304 Not Modified (20ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
- Served asset /jquery.js - 304 Not Modified (1ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
- Served asset /application.js - 304 Not Modified (5ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (8.0ms)
- Completed 200 OK in 33.4ms (Views: 33.2ms | ActiveRecord: 0.0ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
- Served asset /application.css - 304 Not Modified (5ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
- Served asset /application.js - 304 Not Modified (2ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
- Served asset /jquery.js - 304 Not Modified (1ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:38:12 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.1ms)[0m [1mrollback transaction[0m
- Rendered text template (0.0ms)
- Completed 200 OK in 34.0ms (Views: 1.1ms | ActiveRecord: 1.2ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:38:41 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- Rendered text template (0.0ms)
- Completed 200 OK in 6.2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:41:18 +0400
- SyntaxError (/home/weare138/two/app/controllers/items_controller.rb:39: syntax error, unexpected end-of-input, expecting keyword_end):
- activesupport (3.2.19) lib/active_support/dependencies.rb:469:in `load'
- activesupport (3.2.19) lib/active_support/dependencies.rb:469:in `block in load_file'
- activesupport (3.2.19) lib/active_support/dependencies.rb:639:in `new_constants_in'
- activesupport (3.2.19) lib/active_support/dependencies.rb:468:in `load_file'
- activesupport (3.2.19) lib/active_support/dependencies.rb:353:in `require_or_load'
- activesupport (3.2.19) lib/active_support/dependencies.rb:502:in `load_missing_constant'
- activesupport (3.2.19) lib/active_support/dependencies.rb:192:in `block in const_missing'
- activesupport (3.2.19) lib/active_support/dependencies.rb:190:in `each'
- activesupport (3.2.19) lib/active_support/dependencies.rb:190:in `const_missing'
- activesupport (3.2.19) lib/active_support/inflector/methods.rb:230:in `block in constantize'
- activesupport (3.2.19) lib/active_support/inflector/methods.rb:229:in `each'
- activesupport (3.2.19) lib/active_support/inflector/methods.rb:229:in `constantize'
- activesupport (3.2.19) lib/active_support/dependencies.rb:554:in `get'
- actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
- actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:54:in `controller'
- actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:32:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `block in call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.5) lib/rack/etag.rb:23:in `call'
- rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
- rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'
- activerecord (3.2.19) lib/active_record/query_cache.rb:64:in `call'
- activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `_run__250704792628872498__call__208507337346700568__callbacks'
- activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
- railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
- activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
- railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.19) 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.19) 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.19) lib/action_dispatch/middleware/static.rb:63:in `call'
- railties (3.2.19) lib/rails/engine.rb:484:in `call'
- railties (3.2.19) lib/rails/application.rb:231:in `call'
- rack (1.4.5) lib/rack/content_length.rb:14:in `call'
- railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
- /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
- /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
- /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.9ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (29.3ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:41:44 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36mSQL (13.7ms)[0m [1mINSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 19:41:45 UTC +00:00], ["description", "des"], ["name", "name"], ["price", 100.0], ["real", nil], ["updated_at", Tue, 26 Aug 2014 19:41:45 UTC +00:00], ["weight", 10.0]]
- [1m[35m (136.8ms)[0m commit transaction
- Completed 500 Internal Server Error in 205.0ms
- NoMethodError (undefined method `emty?' for #<ActiveModel::Errors:0x00000001bb2c08>):
- app/controllers/items_controller.rb:22:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.4ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (32.0ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:41:48 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mSQL (0.7ms)[0m INSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Aug 2014 19:41:48 UTC +00:00], ["description", "des"], ["name", "name"], ["price", 100.0], ["real", nil], ["updated_at", Tue, 26 Aug 2014 19:41:48 UTC +00:00], ["weight", 10.0]]
- [1m[36m (181.3ms)[0m [1mcommit transaction[0m
- Completed 500 Internal Server Error in 192.1ms
- NoMethodError (undefined method `emty?' for #<ActiveModel::Errors:0x0000000143d0b8>):
- app/controllers/items_controller.rb:22:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.4ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (37.8ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:42:09 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36mSQL (2.7ms)[0m [1mINSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Tue, 26 Aug 2014 19:42:10 UTC +00:00], ["description", "des"], ["name", "name"], ["price", 100.0], ["real", nil], ["updated_at", Tue, 26 Aug 2014 19:42:10 UTC +00:00], ["weight", 10.0]]
- [1m[35m (152.9ms)[0m commit transaction
- Completed 500 Internal Server Error in 202.2ms
- NoMethodError (undefined method `emty?' for nil:NilClass):
- app/controllers/items_controller.rb:22:in `create'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (8.8ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (9.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.2ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mSQL (1.8ms)[0m INSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Aug 2014 19:43:12 UTC +00:00], ["description", "des"], ["name", "name"], ["price", 100.0], ["real", nil], ["updated_at", Tue, 26 Aug 2014 19:43:12 UTC +00:00], ["weight", 10.0]]
- [1m[36m (164.3ms)[0m [1mcommit transaction[0m
- Redirected to http://localhost:3000/items/7
- Completed 302 Found in 191.6ms (ActiveRecord: 167.1ms)
- Started GET "/items/7" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"7"}
- [1m[35mItem Load (3.5ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = 7 LIMIT 1
- Rendered items/show.html.erb within layouts/application (0.3ms)
- Completed 200 OK in 31.7ms (Views: 25.6ms | ActiveRecord: 3.5ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
- Served asset /application.css - 304 Not Modified (23ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
- Served asset /items.css - 304 Not Modified (45ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
- Served asset /jquery.js - 304 Not Modified (4ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
- Served asset /application.js - 304 Not Modified (7ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:44:09 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[36m (0.2ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- Rendered items/new.html.erb within layouts/application (4.8ms)
- Completed 200 OK in 35.4ms (Views: 21.3ms | ActiveRecord: 0.3ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
- Served asset /application.css - 304 Not Modified (0ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
- Served asset /items.css - 304 Not Modified (3ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
- Served asset /jquery.js - 304 Not Modified (13ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (13ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
- Served asset /application.js - 304 Not Modified (6ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- Rendered items/new.html.erb within layouts/application (9.1ms)
- Completed 200 OK in 40.0ms (Views: 29.7ms | ActiveRecord: 0.2ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
- Served asset /application.css - 304 Not Modified (6ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
- Served asset /jquery.js - 304 Not Modified (13ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
- Served asset /items.css - 304 Not Modified (1ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
- Served asset /application.js - 304 Not Modified (5ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:46:04 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- Rendered items/new.html.erb within layouts/application (2.3ms)
- Completed 200 OK in 39.3ms (Views: 30.4ms | ActiveRecord: 0.3ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
- Served asset /application.css - 304 Not Modified (11ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
- Served asset /jquery.js - 304 Not Modified (4ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
- Served asset /application.js - 304 Not Modified (5ms)
- Started POST "/items" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
- Processing by ItemsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.1ms)[0m rollback transaction
- Rendered items/new.html.erb within layouts/application (9.6ms)
- Completed 200 OK in 37.9ms (Views: 28.2ms | ActiveRecord: 0.3ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
- Served asset /application.css - 304 Not Modified (0ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
- Served asset /items.css - 304 Not Modified (0ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
- Served asset /jquery.js - 304 Not Modified (3ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
- Served asset /items.js - 304 Not Modified (0ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
- Served asset /application.js - 304 Not Modified (2ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (2ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-27 15:52:15 +0400
- Connecting to database specified by database.yml
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (6.9ms)
- Completed 500 Internal Server Error in 52.9ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34831020'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.5ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (23.3ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-27 15:54:42 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (6.2ms)
- Completed 500 Internal Server Error in 10.2ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34831020'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.0ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (21.9ms)
- Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 15:58:38 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (5.6ms)
- Completed 500 Internal Server Error in 7.7ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34831020'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (21.9ms)
- Started GET "/items/" for 127.0.0.1 at 2014-08-27 15:58:41 +0400
- Processing by ItemsController#index as HTML
- [1m[36mItem Load (4.4ms)[0m [1mSELECT "items".* FROM "items" [0m
- Rendered items/index.html.erb within layouts/application (4.4ms)
- Completed 200 OK in 284.2ms (Views: 208.8ms | ActiveRecord: 7.0ms)
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-27 15:58:41 +0400
- Served asset /application.css - 304 Not Modified (36ms)
- Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-27 15:58:41 +0400
- Served asset /items.css - 304 Not Modified (6ms)
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-27 15:58:41 +0400
- Served asset /application.js - 304 Not Modified (22ms)
- Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-27 15:58:42 +0400
- Served asset /items.js - 304 Not Modified (10ms)
- Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-27 15:58:42 +0400
- Served asset /jquery.js - 304 Not Modified (20ms)
- Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-27 15:58:42 +0400
- Served asset /jquery_ujs.js - 304 Not Modified (12ms)
- Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 15:58:48 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (1.1ms)
- Completed 500 Internal Server Error in 4.6ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34831020'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.9ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.9ms)
- Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 16:00:04 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (7.4ms)
- Completed 500 Internal Server Error in 12.1ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34122560'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.5ms)
- Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 16:15:51 +0400
- Connecting to database specified by database.yml
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (15.7ms)
- Completed 500 Internal Server Error in 31.1ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb___3757039352064665175_38842540'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (26.6ms)
- Started GET "/items/create" for 127.0.0.1 at 2014-08-27 16:15:56 +0400
- Processing by ItemsController#show as HTML
- Parameters: {"id"=>"create"}
- [1m[36mItem Load (0.4ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = 0 LIMIT 1[0m
- Rendered text template (0.0ms)
- Completed 404 Not Found in 106.8ms (Views: 8.8ms | ActiveRecord: 2.6ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-27 16:16:02 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (1.1ms)
- Completed 500 Internal Server Error in 10.5ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb___3757039352064665175_38842540'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.3ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (8.7ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (33.3ms)
- Started GET "/items/new" for 127.0.0.1 at 2014-08-27 16:34:25 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (3.0ms)
- Completed 500 Internal Server Error in 7.8ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb___3757039352064665175_38842540'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.9ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.1ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.8ms)
- Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 16:39:03 +0400
- Processing by ItemsController#new as HTML
- Rendered items/new.html.erb within layouts/application (3.5ms)
- Completed 500 Internal Server Error in 8.5ms
- ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
- 1: <h1>Create new item</h1>
- 2:
- 3: <%= form_for @item do |f| %>
- 4:
- 5: <p>price<br/><%= f.text_field :price %></p>
- 6: <p>name<br/><%= f.text_field :name %></p>
- app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb___3757039352064665175_38842540'
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.7ms)
- Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.6ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement