Advertisement
Guest User

Untitled

a guest
Aug 27th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.03 KB | None | 0 0
  1. Connecting to database specified by database.yml
  2. Connecting to database specified by database.yml
  3. Connecting to database specified by database.yml
  4.  (3.3ms) select sqlite_version(*)
  5.  (147.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
  6.  (142.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  7.  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
  8. Migrating to CreateItems (20140826153251)
  9.  (0.1ms) begin transaction
  10.  (1.2ms) 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)
  11.  (0.7ms) CREATE INDEX "index_items_on_price" ON "items" ("price")
  12.  (0.3ms) CREATE INDEX "index_items_on_name" ON "items" ("name")
  13.  (3.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140826153251')
  14.  (122.4ms) commit transaction
  15.  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
  16. Connecting to database specified by database.yml
  17.  (1.7ms) select sqlite_version(*)
  18.  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
  19.  (0.4ms) select sqlite_version(*)
  20.  (144.2ms) 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)
  21.  (159.6ms) CREATE INDEX "index_items_on_name" ON "items" ("name")
  22.  (141.9ms) CREATE INDEX "index_items_on_price" ON "items" ("price")
  23.  (141.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  24.  (158.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  25.  (0.1ms) SELECT version FROM "schema_migrations"
  26.  (166.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140826153251')
  27. Connecting to database specified by database.yml
  28. Connecting to database specified by database.yml
  29. Connecting to database specified by database.yml
  30. Connecting to database specified by database.yml
  31. Connecting to database specified by database.yml
  32. Connecting to database specified by database.yml
  33. Connecting to database specified by database.yml
  34. Connecting to database specified by database.yml
  35. Connecting to database specified by database.yml
  36.  
  37.  
  38. Started GET "/assets/rails.png" for 127.0.0.1 at 2014-08-26 20:20:42 +0400
  39. Connecting to database specified by database.yml
  40. Served asset /rails.png - 200 OK (31ms)
  41.  
  42.  
  43. Started GET "/items" for 127.0.0.1 at 2014-08-26 20:20:48 +0400
  44. Processing by ItemsController#index as HTML
  45. Item Load (0.3ms) SELECT "items".* FROM "items" 
  46. Rendered text template (0.0ms)
  47. Completed 200 OK in 87.8ms (Views: 17.6ms | ActiveRecord: 5.0ms)
  48.  
  49.  
  50. Started GET "/items/create" for 127.0.0.1 at 2014-08-26 20:24:21 +0400
  51. Processing by ItemsController#create as HTML
  52. Rendered text template (0.0ms)
  53. Completed 200 OK in 3.4ms (Views: 1.0ms | ActiveRecord: 0.0ms)
  54.  
  55.  
  56. Started GET "/items/create" for 127.0.0.1 at 2014-08-26 20:24:34 +0400
  57. Processing by ItemsController#create as HTML
  58. Rendered text template (0.0ms)
  59. Completed 200 OK in 2.3ms (Views: 1.5ms | ActiveRecord: 0.0ms)
  60.  
  61.  
  62. Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:25:55 +0400
  63. Processing by ItemsController#create as HTML
  64. Parameters: {"name"=>"car1"}
  65. Rendered text template (0.0ms)
  66. Completed 200 OK in 2.3ms (Views: 1.1ms | ActiveRecord: 0.0ms)
  67.  
  68.  
  69. Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:32:54 +0400
  70. Processing by ItemsController#create as HTML
  71. Parameters: {"name"=>"car1"}
  72. Completed 500 Internal Server Error in 5.1ms
  73.  
  74. NameError (undefined local variable or method `weight' for #<ItemsController:0x007ff9d81eb318>):
  75. app/controllers/items_controller.rb:9:in `create'
  76.  
  77.  
  78. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
  79. 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)
  80. 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)
  81.  
  82.  
  83. 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
  84. Processing by ItemsController#create as HTML
  85. Parameters: {"name"=>"car1", "descripton"=>"lada", "weight"=>"10", "price"=>"500000", "real"=>"1"}
  86. Completed 500 Internal Server Error in 9.2ms
  87.  
  88. NameError (undefined local variable or method `weight' for #<ItemsController:0x000000037ff9b0>):
  89. app/controllers/items_controller.rb:9:in `create'
  90.  
  91.  
  92. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
  93. 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)
  94. 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)
  95.  
  96.  
  97. 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
  98. Processing by ItemsController#create as HTML
  99. Parameters: {"name"=>"car1", "descripton"=>"lada", "weight"=>"10", "price"=>"500000", "real"=>"1"}
  100. Completed 500 Internal Server Error in 4.6ms
  101.  
  102. NameError (undefined local variable or method `weight' for #<ItemsController:0x000000034cab50>):
  103. app/controllers/items_controller.rb:9:in `create'
  104.  
  105.  
  106. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
  107. 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)
  108. 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)
  109.  
  110.  
  111. 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
  112. Processing by ItemsController#create as HTML
  113. Parameters: {"name"=>"car1", "descripton"=>"lada", "weight"=>"10", "price"=>"500000", "real"=>"1"}
  114.  (0.1ms) begin transaction
  115.  (0.1ms) rollback transaction
  116. Completed 500 Internal Server Error in 39.5ms
  117.  
  118. NoMethodError (undefined method `new_record' for #<Item:0x00000001c973f8>):
  119. app/controllers/items_controller.rb:10:in `create'
  120.  
  121.  
  122. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
  123. 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)
  124. 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)
  125.  
  126.  
  127. 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
  128. Processing by ItemsController#create as HTML
  129. Parameters: {"name"=>"car1", "descripton"=>"lada", "weight"=>"10", "price"=>"500000", "real"=>"1"}
  130.  (0.1ms) begin transaction
  131.  (0.1ms) rollback transaction
  132. Completed 500 Internal Server Error in 3.5ms
  133.  
  134. NoMethodError (undefined method `new_record' for #<Item:0x000000010505e0>):
  135. app/controllers/items_controller.rb:10:in `create'
  136.  
  137.  
  138. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
  139. 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)
  140. 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)
  141.  
  142.  
  143. Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:41:58 +0400
  144. Processing by ItemsController#create as HTML
  145. Parameters: {"name"=>"car1"}
  146.  (0.1ms) begin transaction
  147.  (0.1ms) rollback transaction
  148. Completed 500 Internal Server Error in 5.7ms
  149.  
  150. NoMethodError (undefined method `new_record' for #<Item:0x007ff9d8358098>):
  151. app/controllers/items_controller.rb:10:in `create'
  152.  
  153.  
  154. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms)
  155. 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)
  156. 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)
  157.  
  158.  
  159. Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:22 +0400
  160. Processing by ItemsController#create as HTML
  161. Parameters: {"name"=>"car1"}
  162.  (0.1ms) begin transaction
  163.  (0.1ms) rollback transaction
  164. Completed 500 Internal Server Error in 23.6ms
  165.  
  166. NoMethodError (undefined method `new_record' for #<Item:0x007ff9d8042278>):
  167. app/controllers/items_controller.rb:10:in `create'
  168.  
  169.  
  170. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.8ms)
  171. 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)
  172. 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)
  173.  
  174.  
  175. Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:24 +0400
  176. Processing by ItemsController#create as HTML
  177. Parameters: {"name"=>"car1"}
  178.  (0.2ms) begin transaction
  179.  (0.1ms) rollback transaction
  180. Completed 500 Internal Server Error in 9.1ms
  181.  
  182. NoMethodError (undefined method `new_record' for #<Item:0x000000035e5fa8>):
  183. app/controllers/items_controller.rb:10:in `create'
  184.  
  185.  
  186. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.4ms)
  187. 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)
  188. 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)
  189.  
  190.  
  191. Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:24 +0400
  192. Processing by ItemsController#create as HTML
  193. Parameters: {"name"=>"car1"}
  194.  (0.1ms) begin transaction
  195.  (0.1ms) rollback transaction
  196. Completed 500 Internal Server Error in 4.7ms
  197.  
  198. NoMethodError (undefined method `new_record' for #<Item:0x0000000345e1f8>):
  199. app/controllers/items_controller.rb:10:in `create'
  200.  
  201.  
  202. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms)
  203. 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)
  204. 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)
  205.  
  206.  
  207. Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:25 +0400
  208. Processing by ItemsController#create as HTML
  209. Parameters: {"name"=>"car1"}
  210.  (0.1ms) begin transaction
  211.  (0.1ms) rollback transaction
  212. Completed 500 Internal Server Error in 7.2ms
  213.  
  214. NoMethodError (undefined method `new_record' for #<Item:0x00000003271d90>):
  215. app/controllers/items_controller.rb:10:in `create'
  216.  
  217.  
  218. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
  219. 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)
  220. 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)
  221.  
  222.  
  223. Started GET "/items/create?name=car1" for 127.0.0.1 at 2014-08-26 20:42:25 +0400
  224. Processing by ItemsController#create as HTML
  225. Parameters: {"name"=>"car1"}
  226.  (0.1ms) begin transaction
  227.  (0.1ms) rollback transaction
  228. Completed 500 Internal Server Error in 6.6ms
  229.  
  230. NoMethodError (undefined method `new_record' for #<Item:0x00000001c56ba0>):
  231. app/controllers/items_controller.rb:10:in `create'
  232.  
  233.  
  234. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
  235. 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)
  236. 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)
  237.  
  238.  
  239. 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
  240. Processing by ItemsController#create as HTML
  241. Parameters: {"name"=>"car1", "description"=>"good", "price"=>"500000", "weight"=>"0", "real"=>"1"}
  242.  (0.1ms) begin transaction
  243. SQL (20.5ms) INSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?) [["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]]
  244.  (128.8ms) commit transaction
  245. Completed 500 Internal Server Error in 155.5ms
  246.  
  247. NoMethodError (undefined method `new_record' for #<Item:0x000000014fca58>):
  248. app/controllers/items_controller.rb:10:in `create'
  249.  
  250.  
  251. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (10.6ms)
  252. 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)
  253. 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)
  254.  
  255.  
  256. 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
  257. Processing by ItemsController#create as HTML
  258. Parameters: {"name"=>"car1", "description"=>"good", "price"=>"500000", "weight"=>"0", "real"=>"1"}
  259.  (0.1ms) begin transaction
  260. SQL (5.1ms) 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]]
  261.  (213.6ms) commit transaction
  262. Rendered text template (0.0ms)
  263. Completed 200 OK in 286.6ms (Views: 1.1ms | ActiveRecord: 228.0ms)
  264.  
  265.  
  266. 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
  267. Processing by ItemsController#create as HTML
  268. Parameters: {"description"=>"good", "price"=>"500000", "weight"=>"0", "real"=>"1"}
  269.  (0.1ms) begin transaction
  270.  (0.1ms) rollback transaction
  271. Rendered text template (0.0ms)
  272. Completed 200 OK in 53.8ms (Views: 7.1ms | ActiveRecord: 4.8ms)
  273.  
  274.  
  275. Started GET "/items/new" for 127.0.0.1 at 2014-08-26 22:19:40 +0400
  276. Processing by ItemsController#new as HTML
  277. Rendered items/new.html.erb within layouts/application (21.4ms)
  278. Warning. Error encountered while saving cache /home/weare138/two/tmp/cache/sass/38934fc4f0ab6f1957cc809ecd2e0277ce6c76b7/items.css.scssc: can't dump anonymous class #<Class:0x00000003387e28>
  279.  
  280. Compiled items.css (104ms) (pid 28381)
  281. Compiled application.css (134ms) (pid 28381)
  282. Compiled jquery.js (14ms) (pid 28381)
  283. Compiled jquery_ujs.js (1ms) (pid 28381)
  284. Compiled items.js (680ms) (pid 28381)
  285. Compiled application.js (785ms) (pid 28381)
  286. Completed 200 OK in 1247.1ms (Views: 1245.4ms | ActiveRecord: 0.0ms)
  287.  
  288.  
  289. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 22:19:41 +0400
  290. Served asset /application.css - 200 OK (104ms)
  291.  
  292.  
  293. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 22:19:41 +0400
  294. Served asset /jquery_ujs.js - 200 OK (9ms)
  295.  
  296.  
  297. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 22:19:42 +0400
  298. Served asset /items.css - 200 OK (6ms)
  299.  
  300.  
  301. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 22:19:42 +0400
  302. Served asset /jquery.js - 200 OK (12ms)
  303.  
  304.  
  305. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 22:19:42 +0400
  306. Served asset /application.js - 200 OK (28ms)
  307.  
  308.  
  309. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 22:19:42 +0400
  310. Served asset /items.js - 200 OK (7ms)
  311.  
  312.  
  313. Started GET "/items/new" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
  314. Processing by ItemsController#new as HTML
  315. Rendered items/new.html.erb within layouts/application (3.0ms)
  316. Completed 200 OK in 24.2ms (Views: 17.3ms | ActiveRecord: 0.0ms)
  317.  
  318.  
  319. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
  320. Served asset /application.css - 304 Not Modified (27ms)
  321.  
  322.  
  323. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
  324. Served asset /items.css - 304 Not Modified (0ms)
  325.  
  326.  
  327. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
  328. Served asset /jquery.js - 304 Not Modified (3ms)
  329.  
  330.  
  331. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
  332. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  333.  
  334.  
  335. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
  336. Served asset /items.js - 304 Not Modified (0ms)
  337.  
  338.  
  339. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 22:20:00 +0400
  340. Served asset /application.js - 304 Not Modified (7ms)
  341.  
  342.  
  343. Started GET "/items/10/" for 127.0.0.1 at 2014-08-26 22:55:20 +0400
  344. Processing by ItemsController#show as HTML
  345. Parameters: {"id"=>"10"}
  346. Item Load (1.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = 10 LIMIT 1
  347. Rendered items/show.html.erb within layouts/application (69.8ms)
  348. Completed 500 Internal Server Error in 248.8ms
  349.  
  350. ActionView::Template::Error (undefined method `price' for nil:NilClass):
  351. 1: <h2>%= @item.name %></h2>
  352. 2: <ul>
  353. 3: <li><%= @item.price %>R.</li>
  354. 4: <li><%= @item.description %></li>
  355. 5: <li>weight<%= @item.weight %></li>
  356. 6:
  357. app/views/items/show.html.erb:3:in `_app_views_items_show_html_erb__3679694940575988720_26579140'
  358. app/controllers/items_controller.rb:8:in `show'
  359.  
  360.  
  361. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
  362. 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)
  363. 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)
  364.  
  365.  
  366. Started GET "/items/1/" for 127.0.0.1 at 2014-08-26 22:55:26 +0400
  367. Processing by ItemsController#show as HTML
  368. Parameters: {"id"=>"1"}
  369. Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
  370. Rendered items/show.html.erb within layouts/application (2.3ms)
  371. Completed 500 Internal Server Error in 11.6ms
  372.  
  373. ActionView::Template::Error (undefined method `price' for nil:NilClass):
  374. 1: <h2>%= @item.name %></h2>
  375. 2: <ul>
  376. 3: <li><%= @item.price %>R.</li>
  377. 4: <li><%= @item.description %></li>
  378. 5: <li>weight<%= @item.weight %></li>
  379. 6:
  380. app/views/items/show.html.erb:3:in `_app_views_items_show_html_erb__3679694940575988720_26579140'
  381. app/controllers/items_controller.rb:8:in `show'
  382.  
  383.  
  384. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.4ms)
  385. 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)
  386. 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)
  387.  
  388.  
  389. Started GET "/items/2/" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
  390. Processing by ItemsController#show as HTML
  391. Parameters: {"id"=>"2"}
  392. Item Load (99.9ms) SELECT "items".* FROM "items" WHERE "items"."id" = 2 LIMIT 1
  393. Rendered items/show.html.erb within layouts/application (1.5ms)
  394. Completed 200 OK in 172.5ms (Views: 20.9ms | ActiveRecord: 99.9ms)
  395.  
  396.  
  397. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
  398. Served asset /application.css - 304 Not Modified (9ms)
  399.  
  400.  
  401. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
  402. Served asset /items.css - 304 Not Modified (14ms)
  403.  
  404.  
  405. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
  406. Served asset /jquery.js - 304 Not Modified (2ms)
  407.  
  408.  
  409. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
  410. Served asset /application.js - 304 Not Modified (5ms)
  411.  
  412.  
  413. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
  414. Served asset /items.js - 304 Not Modified (3ms)
  415.  
  416.  
  417. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:30 +0400
  418. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  419.  
  420.  
  421. Started GET "/items/2/" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
  422. Processing by ItemsController#show as HTML
  423. Parameters: {"id"=>"2"}
  424. Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = 2 LIMIT 1
  425. Rendered items/show.html.erb within layouts/application (1.0ms)
  426. Completed 200 OK in 25.4ms (Views: 23.7ms | ActiveRecord: 0.3ms)
  427.  
  428.  
  429. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
  430. Served asset /application.css - 304 Not Modified (0ms)
  431.  
  432.  
  433. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
  434. Served asset /items.css - 304 Not Modified (0ms)
  435.  
  436.  
  437. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
  438. Served asset /jquery.js - 304 Not Modified (1ms)
  439.  
  440.  
  441. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
  442. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  443.  
  444.  
  445. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
  446. Served asset /items.js - 304 Not Modified (0ms)
  447.  
  448.  
  449. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 22:55:45 +0400
  450. Served asset /application.js - 304 Not Modified (4ms)
  451.  
  452.  
  453. Started GET "/items/1/" for 127.0.0.1 at 2014-08-26 22:58:43 +0400
  454. Processing by ItemsController#show as HTML
  455. Parameters: {"id"=>"1"}
  456. Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
  457. Rendered text template (0.0ms)
  458. Completed 404 Not Found in 7.0ms (Views: 1.3ms | ActiveRecord: 1.6ms)
  459.  
  460.  
  461. Started GET "/items/1/" for 127.0.0.1 at 2014-08-26 23:01:13 +0400
  462. Processing by ItemsController#show as HTML
  463. Parameters: {"id"=>"1"}
  464. Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
  465. Rendered text template (0.0ms)
  466. Completed 404 Not Found in 14.1ms (Views: 1.2ms | ActiveRecord: 1.4ms)
  467.  
  468.  
  469. Started GET "/items/2/" for 127.0.0.1 at 2014-08-26 23:01:17 +0400
  470. Processing by ItemsController#show as HTML
  471. Parameters: {"id"=>"2"}
  472. Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = 2 LIMIT 1
  473. Rendered items/show.html.erb within layouts/application (0.2ms)
  474. Completed 200 OK in 43.9ms (Views: 17.4ms | ActiveRecord: 0.4ms)
  475.  
  476.  
  477. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
  478. Served asset /application.css - 304 Not Modified (21ms)
  479.  
  480.  
  481. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
  482. Served asset /jquery.js - 304 Not Modified (11ms)
  483.  
  484.  
  485. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
  486. Served asset /items.css - 304 Not Modified (0ms)
  487.  
  488.  
  489. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
  490. Served asset /application.js - 304 Not Modified (5ms)
  491.  
  492.  
  493. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
  494. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  495.  
  496.  
  497. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:01:18 +0400
  498. Served asset /items.js - 304 Not Modified (0ms)
  499.  
  500.  
  501. Started GET "/items/" for 127.0.0.1 at 2014-08-26 23:03:56 +0400
  502. Processing by ItemsController#index as HTML
  503. Item Load (1.7ms) SELECT "items".* FROM "items" 
  504. Rendered items/index.html.erb within layouts/application (0.9ms)
  505. Completed 200 OK in 37.8ms (Views: 16.7ms | ActiveRecord: 2.6ms)
  506.  
  507.  
  508. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
  509. Served asset /application.css - 304 Not Modified (10ms)
  510.  
  511.  
  512. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
  513. Served asset /items.js - 304 Not Modified (0ms)
  514.  
  515.  
  516. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
  517. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  518.  
  519.  
  520. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
  521. Served asset /jquery.js - 304 Not Modified (6ms)
  522.  
  523.  
  524. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
  525. Served asset /items.css - 304 Not Modified (5ms)
  526.  
  527.  
  528. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:03:57 +0400
  529. Served asset /application.js - 304 Not Modified (8ms)
  530.  
  531.  
  532. Started GET "/items/" for 127.0.0.1 at 2014-08-26 23:06:37 +0400
  533. Processing by ItemsController#index as HTML
  534. Item Load (0.4ms) SELECT "items".* FROM "items"
  535. Rendered items/index.html.erb within layouts/application (38.0ms)
  536. Completed 500 Internal Server Error in 47.2ms
  537.  
  538. ActionView::Template::Error (undefined local variable or method `item' for #<#<Class:0x000000010309c0>:0x007ff9d8249a58>):
  539. 1: <% @items.each do |i| %>
  540. 2: <p><% link_to i.name, item.path(i) %></p>
  541. 3: <% end %>
  542. app/views/items/index.html.erb:2:in `block in _app_views_items_index_html_erb___2714789055491962083_70355524918820'
  543. app/views/items/index.html.erb:1:in `each'
  544. app/views/items/index.html.erb:1:in `_app_views_items_index_html_erb___2714789055491962083_70355524918820'
  545.  
  546.  
  547. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms)
  548. 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)
  549. 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)
  550.  
  551.  
  552. Started GET "/items/" for 127.0.0.1 at 2014-08-26 23:07:17 +0400
  553. Processing by ItemsController#index as HTML
  554. Item Load (2.5ms) SELECT "items".* FROM "items" 
  555. Rendered items/index.html.erb within layouts/application (37.5ms)
  556. Completed 500 Internal Server Error in 43.6ms
  557.  
  558. ActionView::Template::Error (undefined local variable or method `item' for #<#<Class:0x000000010309c0>:0x0000000379e3e0>):
  559. 1: <% @items.each do |i| %>
  560. 2: <p><%= link_to i.name, item.path(i) %></p>
  561. 3: <% end %>
  562. app/views/items/index.html.erb:2:in `block in _app_views_items_index_html_erb___2714789055491962083_29155640'
  563. app/views/items/index.html.erb:1:in `each'
  564. app/views/items/index.html.erb:1:in `_app_views_items_index_html_erb___2714789055491962083_29155640'
  565.  
  566.  
  567. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
  568. 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)
  569. 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)
  570.  
  571.  
  572. Started GET "/items/" for 127.0.0.1 at 2014-08-26 23:09:17 +0400
  573. Processing by ItemsController#index as HTML
  574. Item Load (0.3ms) SELECT "items".* FROM "items"
  575. Rendered items/index.html.erb within layouts/application (33.5ms)
  576. Completed 500 Internal Server Error in 41.5ms
  577.  
  578. ActionView::Template::Error (undefined local variable or method `item' for #<#<Class:0x000000010309c0>:0x00000003562a90>):
  579. 1: <% @items.each do |i| %>
  580. 2: <p><%= link_to i.name, item.path(i) %></p>
  581. 3: <% end %>
  582. app/views/items/index.html.erb:2:in `block in _app_views_items_index_html_erb___2714789055491962083_27986020'
  583. app/views/items/index.html.erb:1:in `each'
  584. app/views/items/index.html.erb:1:in `_app_views_items_index_html_erb___2714789055491962083_27986020'
  585.  
  586.  
  587. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.1ms)
  588. 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)
  589. 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)
  590.  
  591.  
  592. Started GET "/items" for 127.0.0.1 at 2014-08-26 23:09:20 +0400
  593. Processing by ItemsController#index as HTML
  594. Item Load (0.4ms) SELECT "items".* FROM "items" 
  595. Rendered items/index.html.erb within layouts/application (46.9ms)
  596. Completed 500 Internal Server Error in 53.3ms
  597.  
  598. ActionView::Template::Error (undefined local variable or method `item' for #<#<Class:0x000000010309c0>:0x0000000328def0>):
  599. 1: <% @items.each do |i| %>
  600. 2: <p><%= link_to i.name, item.path(i) %></p>
  601. 3: <% end %>
  602. app/views/items/index.html.erb:2:in `block in _app_views_items_index_html_erb___2714789055491962083_27986020'
  603. app/views/items/index.html.erb:1:in `each'
  604. app/views/items/index.html.erb:1:in `_app_views_items_index_html_erb___2714789055491962083_27986020'
  605.  
  606.  
  607. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms)
  608. 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)
  609. 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)
  610.  
  611.  
  612. Started GET "/items" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
  613. Processing by ItemsController#index as HTML
  614. Item Load (0.9ms) SELECT "items".* FROM "items"
  615. Rendered items/index.html.erb within layouts/application (8.4ms)
  616. Completed 200 OK in 28.2ms (Views: 26.0ms | ActiveRecord: 0.9ms)
  617.  
  618.  
  619. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
  620. Served asset /application.css - 304 Not Modified (18ms)
  621.  
  622.  
  623. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
  624. Served asset /jquery.js - 304 Not Modified (5ms)
  625.  
  626.  
  627. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
  628. Served asset /application.js - 304 Not Modified (6ms)
  629.  
  630.  
  631. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
  632. Served asset /items.js - 304 Not Modified (0ms)
  633.  
  634.  
  635. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
  636. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  637.  
  638.  
  639. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:07 +0400
  640. Served asset /items.css - 304 Not Modified (0ms)
  641.  
  642.  
  643. Started GET "/items/2" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
  644. Processing by ItemsController#show as HTML
  645. Parameters: {"id"=>"2"}
  646. Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = 2 LIMIT 1
  647. Rendered items/show.html.erb within layouts/application (0.2ms)
  648. Completed 200 OK in 10.8ms (Views: 8.2ms | ActiveRecord: 0.4ms)
  649.  
  650.  
  651. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
  652. Served asset /application.css - 304 Not Modified (0ms)
  653.  
  654.  
  655. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
  656. Served asset /jquery.js - 304 Not Modified (1ms)
  657.  
  658.  
  659. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
  660. Served asset /jquery_ujs.js - 304 Not Modified (2ms)
  661.  
  662.  
  663. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
  664. Served asset /items.css - 304 Not Modified (0ms)
  665.  
  666.  
  667. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
  668. Served asset /application.js - 304 Not Modified (10ms)
  669.  
  670.  
  671. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:48 +0400
  672. Served asset /items.js - 304 Not Modified (0ms)
  673.  
  674.  
  675. Started GET "/items/3" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
  676. Processing by ItemsController#show as HTML
  677. Parameters: {"id"=>"3"}
  678. Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = 3 LIMIT 1
  679. Rendered items/show.html.erb within layouts/application (0.2ms)
  680. Completed 200 OK in 25.5ms (Views: 23.6ms | ActiveRecord: 0.4ms)
  681.  
  682.  
  683. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
  684. Served asset /application.css - 304 Not Modified (0ms)
  685.  
  686.  
  687. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
  688. Served asset /items.css - 304 Not Modified (0ms)
  689.  
  690.  
  691. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
  692. Served asset /jquery.js - 304 Not Modified (8ms)
  693.  
  694.  
  695. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
  696. Served asset /items.js - 304 Not Modified (0ms)
  697.  
  698.  
  699. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
  700. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  701.  
  702.  
  703. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:10:51 +0400
  704. Served asset /application.js - 304 Not Modified (3ms)
  705.  
  706.  
  707. Started GET "/items" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
  708. Processing by ItemsController#index as HTML
  709. Item Load (1.6ms) SELECT "items".* FROM "items" 
  710. Rendered items/index.html.erb within layouts/application (4.8ms)
  711. Completed 200 OK in 21.8ms (Views: 18.7ms | ActiveRecord: 1.6ms)
  712.  
  713.  
  714. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
  715. Served asset /application.css - 304 Not Modified (0ms)
  716.  
  717.  
  718. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
  719. Served asset /jquery.js - 304 Not Modified (4ms)
  720.  
  721.  
  722. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
  723. Served asset /items.css - 304 Not Modified (0ms)
  724.  
  725.  
  726. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
  727. Served asset /application.js - 304 Not Modified (1ms)
  728.  
  729.  
  730. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
  731. Served asset /items.js - 304 Not Modified (3ms)
  732.  
  733.  
  734. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:30 +0400
  735. Served asset /jquery_ujs.js - 304 Not Modified (2ms)
  736.  
  737.  
  738. Started GET "/new" for 127.0.0.1 at 2014-08-26 23:29:40 +0400
  739.  
  740. ActionController::RoutingError (No route matches [GET] "/new"):
  741. actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  742. actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  743. railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
  744. railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
  745. activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
  746. railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
  747. actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  748. rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  749. rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  750. activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  751. rack (1.4.5) lib/rack/lock.rb:15:in `call'
  752. actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
  753. railties (3.2.19) lib/rails/engine.rb:484:in `call'
  754. railties (3.2.19) lib/rails/application.rb:231:in `call'
  755. rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  756. railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'
  757. rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
  758. /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
  759. /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
  760. /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
  761.  
  762.  
  763. 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)
  764.  
  765.  
  766. Started GET "/items/new" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
  767. Processing by ItemsController#new as HTML
  768. Rendered items/new.html.erb within layouts/application (12.6ms)
  769. Completed 200 OK in 36.9ms (Views: 36.3ms | ActiveRecord: 0.0ms)
  770.  
  771.  
  772. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
  773. Served asset /application.css - 304 Not Modified (9ms)
  774.  
  775.  
  776. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
  777. Served asset /items.css - 304 Not Modified (0ms)
  778.  
  779.  
  780. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
  781. Served asset /jquery.js - 304 Not Modified (3ms)
  782.  
  783.  
  784. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
  785. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  786.  
  787.  
  788. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
  789. Served asset /items.js - 304 Not Modified (2ms)
  790.  
  791.  
  792. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:29:52 +0400
  793. Served asset /application.js - 304 Not Modified (5ms)
  794.  
  795.  
  796. Started GET "/items/new" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
  797. Processing by ItemsController#new as HTML
  798. Rendered items/new.html.erb within layouts/application (7.8ms)
  799. Completed 200 OK in 26.8ms (Views: 26.5ms | ActiveRecord: 0.0ms)
  800.  
  801.  
  802. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
  803. Served asset /application.css - 304 Not Modified (20ms)
  804.  
  805.  
  806. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
  807. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  808.  
  809.  
  810. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
  811. Served asset /jquery.js - 304 Not Modified (1ms)
  812.  
  813.  
  814. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
  815. Served asset /items.css - 304 Not Modified (0ms)
  816.  
  817.  
  818. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
  819. Served asset /application.js - 304 Not Modified (5ms)
  820.  
  821.  
  822. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:31:41 +0400
  823. Served asset /items.js - 304 Not Modified (0ms)
  824.  
  825.  
  826. Started GET "/items/new" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
  827. Processing by ItemsController#new as HTML
  828. Rendered items/new.html.erb within layouts/application (8.0ms)
  829. Completed 200 OK in 33.4ms (Views: 33.2ms | ActiveRecord: 0.0ms)
  830.  
  831.  
  832. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
  833. Served asset /application.css - 304 Not Modified (5ms)
  834.  
  835.  
  836. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
  837. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  838.  
  839.  
  840. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
  841. Served asset /items.css - 304 Not Modified (0ms)
  842.  
  843.  
  844. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
  845. Served asset /items.js - 304 Not Modified (0ms)
  846.  
  847.  
  848. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
  849. Served asset /application.js - 304 Not Modified (2ms)
  850.  
  851.  
  852. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:32:51 +0400
  853. Served asset /jquery.js - 304 Not Modified (1ms)
  854.  
  855.  
  856. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:38:12 +0400
  857. Processing by ItemsController#create as HTML
  858. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  859.  (0.1ms) begin transaction
  860.  (0.1ms) rollback transaction
  861. Rendered text template (0.0ms)
  862. Completed 200 OK in 34.0ms (Views: 1.1ms | ActiveRecord: 1.2ms)
  863.  
  864.  
  865. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:38:41 +0400
  866. Processing by ItemsController#create as HTML
  867. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  868. Rendered text template (0.0ms)
  869. Completed 200 OK in 6.2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
  870.  
  871.  
  872. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:41:18 +0400
  873.  
  874. SyntaxError (/home/weare138/two/app/controllers/items_controller.rb:39: syntax error, unexpected end-of-input, expecting keyword_end):
  875. activesupport (3.2.19) lib/active_support/dependencies.rb:469:in `load'
  876. activesupport (3.2.19) lib/active_support/dependencies.rb:469:in `block in load_file'
  877. activesupport (3.2.19) lib/active_support/dependencies.rb:639:in `new_constants_in'
  878. activesupport (3.2.19) lib/active_support/dependencies.rb:468:in `load_file'
  879. activesupport (3.2.19) lib/active_support/dependencies.rb:353:in `require_or_load'
  880. activesupport (3.2.19) lib/active_support/dependencies.rb:502:in `load_missing_constant'
  881. activesupport (3.2.19) lib/active_support/dependencies.rb:192:in `block in const_missing'
  882. activesupport (3.2.19) lib/active_support/dependencies.rb:190:in `each'
  883. activesupport (3.2.19) lib/active_support/dependencies.rb:190:in `const_missing'
  884. activesupport (3.2.19) lib/active_support/inflector/methods.rb:230:in `block in constantize'
  885. activesupport (3.2.19) lib/active_support/inflector/methods.rb:229:in `each'
  886. activesupport (3.2.19) lib/active_support/inflector/methods.rb:229:in `constantize'
  887. activesupport (3.2.19) lib/active_support/dependencies.rb:554:in `get'
  888. actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
  889. actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:54:in `controller'
  890. actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:32:in `call'
  891. journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  892. journey (1.0.4) lib/journey/router.rb:56:in `each'
  893. journey (1.0.4) lib/journey/router.rb:56:in `call'
  894. actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:608:in `call'
  895. actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  896. rack (1.4.5) lib/rack/etag.rb:23:in `call'
  897. rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
  898. actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call'
  899. actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  900. actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call'
  901. rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
  902. rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
  903. actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'
  904. activerecord (3.2.19) lib/active_record/query_cache.rb:64:in `call'
  905. activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  906. actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  907. activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `_run__250704792628872498__call__208507337346700568__callbacks'
  908. activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
  909. activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  910. activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
  911. actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  912. actionpack (3.2.19) lib/action_dispatch/middleware/reloader.rb:65:in `call'
  913. actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  914. actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  915. actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  916. railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
  917. railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
  918. activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
  919. railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
  920. actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  921. rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  922. rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  923. activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  924. rack (1.4.5) lib/rack/lock.rb:15:in `call'
  925. actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
  926. railties (3.2.19) lib/rails/engine.rb:484:in `call'
  927. railties (3.2.19) lib/rails/application.rb:231:in `call'
  928. rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  929. railties (3.2.19) lib/rails/rack/log_tailer.rb:17:in `call'
  930. rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
  931. /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
  932. /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
  933. /home/weare138/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
  934.  
  935.  
  936. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.9ms)
  937. 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)
  938. 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)
  939.  
  940.  
  941. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:41:44 +0400
  942. Processing by ItemsController#create as HTML
  943. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  944.  (0.1ms) begin transaction
  945. SQL (13.7ms) INSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?) [["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]]
  946.  (136.8ms) commit transaction
  947. Completed 500 Internal Server Error in 205.0ms
  948.  
  949. NoMethodError (undefined method `emty?' for #<ActiveModel::Errors:0x00000001bb2c08>):
  950. app/controllers/items_controller.rb:22:in `create'
  951.  
  952.  
  953. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
  954. 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)
  955. 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)
  956.  
  957.  
  958. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:41:48 +0400
  959. Processing by ItemsController#create as HTML
  960. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  961.  (0.1ms) begin transaction
  962. SQL (0.7ms) 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]]
  963.  (181.3ms) commit transaction
  964. Completed 500 Internal Server Error in 192.1ms
  965.  
  966. NoMethodError (undefined method `emty?' for #<ActiveModel::Errors:0x0000000143d0b8>):
  967. app/controllers/items_controller.rb:22:in `create'
  968.  
  969.  
  970. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.1ms)
  971. 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)
  972. 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)
  973.  
  974.  
  975. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:42:09 +0400
  976. Processing by ItemsController#create as HTML
  977. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  978.  (0.1ms) begin transaction
  979. SQL (2.7ms) INSERT INTO "items" ("created_at", "description", "name", "price", "real", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?) [["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]]
  980.  (152.9ms) commit transaction
  981. Completed 500 Internal Server Error in 202.2ms
  982.  
  983. NoMethodError (undefined method `emty?' for nil:NilClass):
  984. app/controllers/items_controller.rb:22:in `create'
  985.  
  986.  
  987. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (8.8ms)
  988. 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)
  989. 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)
  990.  
  991.  
  992. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
  993. Processing by ItemsController#create as HTML
  994. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"name", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  995.  (0.1ms) begin transaction
  996. SQL (1.8ms) 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]]
  997.  (164.3ms) commit transaction
  998. Redirected to http://localhost:3000/items/7
  999. Completed 302 Found in 191.6ms (ActiveRecord: 167.1ms)
  1000.  
  1001.  
  1002. Started GET "/items/7" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
  1003. Processing by ItemsController#show as HTML
  1004. Parameters: {"id"=>"7"}
  1005. Item Load (3.5ms) SELECT "items".* FROM "items" WHERE "items"."id" = 7 LIMIT 1
  1006. Rendered items/show.html.erb within layouts/application (0.3ms)
  1007. Completed 200 OK in 31.7ms (Views: 25.6ms | ActiveRecord: 3.5ms)
  1008.  
  1009.  
  1010. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
  1011. Served asset /application.css - 304 Not Modified (23ms)
  1012.  
  1013.  
  1014. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
  1015. Served asset /items.css - 304 Not Modified (45ms)
  1016.  
  1017.  
  1018. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
  1019. Served asset /jquery.js - 304 Not Modified (4ms)
  1020.  
  1021.  
  1022. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
  1023. Served asset /items.js - 304 Not Modified (0ms)
  1024.  
  1025.  
  1026. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
  1027. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  1028.  
  1029.  
  1030. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:43:12 +0400
  1031. Served asset /application.js - 304 Not Modified (7ms)
  1032.  
  1033.  
  1034. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:44:09 +0400
  1035. Processing by ItemsController#create as HTML
  1036. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  1037.  (0.2ms) begin transaction
  1038.  (0.1ms) rollback transaction
  1039. Rendered items/new.html.erb within layouts/application (4.8ms)
  1040. Completed 200 OK in 35.4ms (Views: 21.3ms | ActiveRecord: 0.3ms)
  1041.  
  1042.  
  1043. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
  1044. Served asset /application.css - 304 Not Modified (0ms)
  1045.  
  1046.  
  1047. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
  1048. Served asset /items.css - 304 Not Modified (3ms)
  1049.  
  1050.  
  1051. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
  1052. Served asset /jquery.js - 304 Not Modified (13ms)
  1053.  
  1054.  
  1055. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
  1056. Served asset /jquery_ujs.js - 304 Not Modified (13ms)
  1057.  
  1058.  
  1059. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
  1060. Served asset /items.js - 304 Not Modified (0ms)
  1061.  
  1062.  
  1063. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:44:10 +0400
  1064. Served asset /application.js - 304 Not Modified (6ms)
  1065.  
  1066.  
  1067. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
  1068. Processing by ItemsController#create as HTML
  1069. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  1070.  (0.1ms) begin transaction
  1071.  (0.1ms) rollback transaction
  1072. Rendered items/new.html.erb within layouts/application (9.1ms)
  1073. Completed 200 OK in 40.0ms (Views: 29.7ms | ActiveRecord: 0.2ms)
  1074.  
  1075.  
  1076. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
  1077. Served asset /application.css - 304 Not Modified (6ms)
  1078.  
  1079.  
  1080. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
  1081. Served asset /jquery.js - 304 Not Modified (13ms)
  1082.  
  1083.  
  1084. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
  1085. Served asset /items.css - 304 Not Modified (1ms)
  1086.  
  1087.  
  1088. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
  1089. Served asset /items.js - 304 Not Modified (0ms)
  1090.  
  1091.  
  1092. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
  1093. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  1094.  
  1095.  
  1096. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:02 +0400
  1097. Served asset /application.js - 304 Not Modified (5ms)
  1098.  
  1099.  
  1100. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:46:04 +0400
  1101. Processing by ItemsController#create as HTML
  1102. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  1103.  (0.1ms) begin transaction
  1104.  (0.1ms) rollback transaction
  1105. Rendered items/new.html.erb within layouts/application (2.3ms)
  1106. Completed 200 OK in 39.3ms (Views: 30.4ms | ActiveRecord: 0.3ms)
  1107.  
  1108.  
  1109. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
  1110. Served asset /application.css - 304 Not Modified (11ms)
  1111.  
  1112.  
  1113. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
  1114. Served asset /items.css - 304 Not Modified (0ms)
  1115.  
  1116.  
  1117. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
  1118. Served asset /jquery.js - 304 Not Modified (4ms)
  1119.  
  1120.  
  1121. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
  1122. Served asset /items.js - 304 Not Modified (0ms)
  1123.  
  1124.  
  1125. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
  1126. Served asset /jquery_ujs.js - 304 Not Modified (0ms)
  1127.  
  1128.  
  1129. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:05 +0400
  1130. Served asset /application.js - 304 Not Modified (5ms)
  1131.  
  1132.  
  1133. Started POST "/items" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
  1134. Processing by ItemsController#create as HTML
  1135. Parameters: {"utf8"=>"✓", "authenticity_token"=>"cGaXFhpRsFvTgyg4/Bx/0HFoMJI6lSwBJ1hOcmGEJ2k=", "item"=>{"price"=>"100", "name"=>"", "description"=>"des", "weight"=>"10"}, "commit"=>"create"}
  1136.  (0.1ms) begin transaction
  1137.  (0.1ms) rollback transaction
  1138. Rendered items/new.html.erb within layouts/application (9.6ms)
  1139. Completed 200 OK in 37.9ms (Views: 28.2ms | ActiveRecord: 0.3ms)
  1140.  
  1141.  
  1142. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
  1143. Served asset /application.css - 304 Not Modified (0ms)
  1144.  
  1145.  
  1146. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
  1147. Served asset /items.css - 304 Not Modified (0ms)
  1148.  
  1149.  
  1150. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
  1151. Served asset /jquery.js - 304 Not Modified (3ms)
  1152.  
  1153.  
  1154. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
  1155. Served asset /items.js - 304 Not Modified (0ms)
  1156.  
  1157.  
  1158. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
  1159. Served asset /application.js - 304 Not Modified (2ms)
  1160.  
  1161.  
  1162. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-26 23:46:06 +0400
  1163. Served asset /jquery_ujs.js - 304 Not Modified (2ms)
  1164.  
  1165.  
  1166. Started GET "/items/new" for 127.0.0.1 at 2014-08-27 15:52:15 +0400
  1167. Connecting to database specified by database.yml
  1168. Processing by ItemsController#new as HTML
  1169. Rendered items/new.html.erb within layouts/application (6.9ms)
  1170. Completed 500 Internal Server Error in 52.9ms
  1171.  
  1172. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1173. 1: <h1>Create new item</h1>
  1174. 2:
  1175. 3: <%= form_for @item do |f| %>
  1176. 4:
  1177. 5: <p>price<br/><%= f.text_field :price %></p>
  1178. 6: <p>name<br/><%= f.text_field :name %></p>
  1179. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34831020'
  1180.  
  1181.  
  1182. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.0ms)
  1183. 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)
  1184. 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)
  1185.  
  1186.  
  1187. Started GET "/items/new" for 127.0.0.1 at 2014-08-27 15:54:42 +0400
  1188. Processing by ItemsController#new as HTML
  1189. Rendered items/new.html.erb within layouts/application (6.2ms)
  1190. Completed 500 Internal Server Error in 10.2ms
  1191.  
  1192. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1193. 1: <h1>Create new item</h1>
  1194. 2:
  1195. 3: <%= form_for @item do |f| %>
  1196. 4:
  1197. 5: <p>price<br/><%= f.text_field :price %></p>
  1198. 6: <p>name<br/><%= f.text_field :name %></p>
  1199. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34831020'
  1200.  
  1201.  
  1202. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
  1203. 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)
  1204. 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)
  1205.  
  1206.  
  1207. Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 15:58:38 +0400
  1208. Processing by ItemsController#new as HTML
  1209. Rendered items/new.html.erb within layouts/application (5.6ms)
  1210. Completed 500 Internal Server Error in 7.7ms
  1211.  
  1212. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1213. 1: <h1>Create new item</h1>
  1214. 2:
  1215. 3: <%= form_for @item do |f| %>
  1216. 4:
  1217. 5: <p>price<br/><%= f.text_field :price %></p>
  1218. 6: <p>name<br/><%= f.text_field :name %></p>
  1219. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34831020'
  1220.  
  1221.  
  1222. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.4ms)
  1223. 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)
  1224. 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)
  1225.  
  1226.  
  1227. Started GET "/items/" for 127.0.0.1 at 2014-08-27 15:58:41 +0400
  1228. Processing by ItemsController#index as HTML
  1229. Item Load (4.4ms) SELECT "items".* FROM "items" 
  1230. Rendered items/index.html.erb within layouts/application (4.4ms)
  1231. Completed 200 OK in 284.2ms (Views: 208.8ms | ActiveRecord: 7.0ms)
  1232.  
  1233.  
  1234. Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-08-27 15:58:41 +0400
  1235. Served asset /application.css - 304 Not Modified (36ms)
  1236.  
  1237.  
  1238. Started GET "/assets/items.css?body=1" for 127.0.0.1 at 2014-08-27 15:58:41 +0400
  1239. Served asset /items.css - 304 Not Modified (6ms)
  1240.  
  1241.  
  1242. Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-08-27 15:58:41 +0400
  1243. Served asset /application.js - 304 Not Modified (22ms)
  1244.  
  1245.  
  1246. Started GET "/assets/items.js?body=1" for 127.0.0.1 at 2014-08-27 15:58:42 +0400
  1247. Served asset /items.js - 304 Not Modified (10ms)
  1248.  
  1249.  
  1250. Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-08-27 15:58:42 +0400
  1251. Served asset /jquery.js - 304 Not Modified (20ms)
  1252.  
  1253.  
  1254. Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-08-27 15:58:42 +0400
  1255. Served asset /jquery_ujs.js - 304 Not Modified (12ms)
  1256.  
  1257.  
  1258. Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 15:58:48 +0400
  1259. Processing by ItemsController#new as HTML
  1260. Rendered items/new.html.erb within layouts/application (1.1ms)
  1261. Completed 500 Internal Server Error in 4.6ms
  1262.  
  1263. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1264. 1: <h1>Create new item</h1>
  1265. 2:
  1266. 3: <%= form_for @item do |f| %>
  1267. 4:
  1268. 5: <p>price<br/><%= f.text_field :price %></p>
  1269. 6: <p>name<br/><%= f.text_field :name %></p>
  1270. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34831020'
  1271.  
  1272.  
  1273. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
  1274. 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)
  1275. 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)
  1276.  
  1277.  
  1278. Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 16:00:04 +0400
  1279. Processing by ItemsController#new as HTML
  1280. Rendered items/new.html.erb within layouts/application (7.4ms)
  1281. Completed 500 Internal Server Error in 12.1ms
  1282.  
  1283. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1284. 1: <h1>Create new item</h1>
  1285. 2:
  1286. 3: <%= form_for @item do |f| %>
  1287. 4:
  1288. 5: <p>price<br/><%= f.text_field :price %></p>
  1289. 6: <p>name<br/><%= f.text_field :name %></p>
  1290. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb__1884183061821495260_34122560'
  1291.  
  1292.  
  1293. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
  1294. 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)
  1295. 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)
  1296.  
  1297.  
  1298. Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 16:15:51 +0400
  1299. Connecting to database specified by database.yml
  1300. Processing by ItemsController#new as HTML
  1301. Rendered items/new.html.erb within layouts/application (15.7ms)
  1302. Completed 500 Internal Server Error in 31.1ms
  1303.  
  1304. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1305. 1: <h1>Create new item</h1>
  1306. 2:
  1307. 3: <%= form_for @item do |f| %>
  1308. 4:
  1309. 5: <p>price<br/><%= f.text_field :price %></p>
  1310. 6: <p>name<br/><%= f.text_field :name %></p>
  1311. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb___3757039352064665175_38842540'
  1312.  
  1313.  
  1314. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
  1315. 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)
  1316. 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)
  1317.  
  1318.  
  1319. Started GET "/items/create" for 127.0.0.1 at 2014-08-27 16:15:56 +0400
  1320. Processing by ItemsController#show as HTML
  1321. Parameters: {"id"=>"create"}
  1322. Item Load (0.4ms) SELECT "items".* FROM "items" WHERE "items"."id" = 0 LIMIT 1
  1323. Rendered text template (0.0ms)
  1324. Completed 404 Not Found in 106.8ms (Views: 8.8ms | ActiveRecord: 2.6ms)
  1325.  
  1326.  
  1327. Started GET "/items/new" for 127.0.0.1 at 2014-08-27 16:16:02 +0400
  1328. Processing by ItemsController#new as HTML
  1329. Rendered items/new.html.erb within layouts/application (1.1ms)
  1330. Completed 500 Internal Server Error in 10.5ms
  1331.  
  1332. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1333. 1: <h1>Create new item</h1>
  1334. 2:
  1335. 3: <%= form_for @item do |f| %>
  1336. 4:
  1337. 5: <p>price<br/><%= f.text_field :price %></p>
  1338. 6: <p>name<br/><%= f.text_field :name %></p>
  1339. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb___3757039352064665175_38842540'
  1340.  
  1341.  
  1342. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.3ms)
  1343. 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)
  1344. 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)
  1345.  
  1346.  
  1347. Started GET "/items/new" for 127.0.0.1 at 2014-08-27 16:34:25 +0400
  1348. Processing by ItemsController#new as HTML
  1349. Rendered items/new.html.erb within layouts/application (3.0ms)
  1350. Completed 500 Internal Server Error in 7.8ms
  1351.  
  1352. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1353. 1: <h1>Create new item</h1>
  1354. 2:
  1355. 3: <%= form_for @item do |f| %>
  1356. 4:
  1357. 5: <p>price<br/><%= f.text_field :price %></p>
  1358. 6: <p>name<br/><%= f.text_field :name %></p>
  1359. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb___3757039352064665175_38842540'
  1360.  
  1361.  
  1362. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.9ms)
  1363. 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)
  1364. 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)
  1365.  
  1366.  
  1367. Started GET "/items/new/" for 127.0.0.1 at 2014-08-27 16:39:03 +0400
  1368. Processing by ItemsController#new as HTML
  1369. Rendered items/new.html.erb within layouts/application (3.5ms)
  1370. Completed 500 Internal Server Error in 8.5ms
  1371.  
  1372. ActionView::Template::Error (undefined method `model_name' for NilClass:Class):
  1373. 1: <h1>Create new item</h1>
  1374. 2:
  1375. 3: <%= form_for @item do |f| %>
  1376. 4:
  1377. 5: <p>price<br/><%= f.text_field :price %></p>
  1378. 6: <p>name<br/><%= f.text_field :name %></p>
  1379. app/views/items/new.html.erb:3:in `_app_views_items_new_html_erb___3757039352064665175_38842540'
  1380.  
  1381.  
  1382. Rendered /home/weare138/.rvm/gems/ruby-2.1.2/gems/actionpack-3.2.19/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.6ms)
  1383. 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)
  1384. 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