Advertisement
Guest User

456

a guest
Mar 5th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.88 KB | None | 0 0
  1. Started POST "/stock_movement_positions/9471774/save_supplied_amount" for 95.132.174.89 at 2015-03-05 18:32:09 +0400
  2. Processing by StockMovementPositionsController#save_supplied_amount as */*
  3. Parameters: {"supplied_amount"=>"1", "id"=>"9471774"}
  4. User Load (1.4ms) SELECT `users`.* FROM `users` WHERE `users`.`is_deleted` = 0 AND `users`.`id` = 247 LIMIT 1
  5. CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`is_deleted` = 0 AND `users`.`id` = 247 LIMIT 1
  6. (0.2ms) BEGIN
  7. (1.2ms) UPDATE `users` SET `last_request_at` = '2015-03-05 14:32:10', `perishable_token` = 'SxmYH2SXU9XPQHZr1p5n', `updated_at` = '2015-03-05 14:32:10' WHERE `users`.`id` = 247
  8. (3.4ms) COMMIT
  9. Pharmacy Load (0.2ms) SELECT `pharmacies`.* FROM `pharmacies` WHERE `pharmacies`.`is_current` = 1 LIMIT 1
  10. PharmacyChain Load (0.2ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (2)
  11. PharmacyChain Load (0.2ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (14)
  12. StockMovementPosition Load (0.8ms) SELECT `stock_movement_positions`.* FROM `stock_movement_positions` WHERE `stock_movement_positions`.`id` = 9471774 LIMIT 1
  13. (0.2ms) BEGIN
  14. StockMovement Load (0.7ms) SELECT `stock_movements`.* FROM `stock_movements` WHERE `stock_movements`.`uuid` = '124c9344-c343-11e4-9e90-0401416d7801' LIMIT 1
  15. Product Load (0.3ms) SELECT `products`.* FROM `products` WHERE `products`.`id` = 3748539 LIMIT 1
  16. (0.8ms) UPDATE `stock_movement_positions` SET `supplied_amount` = 1, `updated_at` = '2015-03-05 14:32:10' WHERE `stock_movement_positions`.`id` = 9471774
  17. (2.6ms) COMMIT
  18. Rendered text template (0.0ms)
  19. Completed 200 OK in 423.6ms (Views: 13.0ms | ActiveRecord: 33.1ms)
  20. SQL (0.4ms) UPDATE `delayed_jobs` SET `locked_at` = '2015-03-05 14:32:11', `locked_by` = 'delayed_job host:box2359 pid:7583' WHERE ((run_at <= '2015-03-05 14:32:11' AND (locked_at IS NULL OR locked_at < '2015-03-05 10:32:11') OR locked_by = 'delayed_job host:box2359 pid:7583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1
  21. Started GET "/500.html" for 95.132.174.89 at 2015-03-05 18:32:16 +0400
  22.  
  23. ActionController::RoutingError (No route matches [GET] "/500.html"):
  24. vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  25. vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  26. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:32:in `call_app'
  27. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:16:in `block in call'
  28. vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/tagged_logging.rb:22:in `tagged'
  29. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:16:in `call'
  30. vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/request_id.rb:22:in `call'
  31. vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
  32. vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
  33. vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  34. vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
  35. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
  36. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
  37. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
  38. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
  39. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
  40. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/engine.rb:484:in `call'
  41. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/application.rb:231:in `call'
  42. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in `method_missing'
  43. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
  44. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
  45. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
  46. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
  47. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
  48. vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
  49. vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
  50.  
  51.  
  52. SQL (0.6ms) UPDATE `delayed_jobs` SET `locked_at` = '2015-03-05 14:32:16', `locked_by` = 'delayed_job host:box2359 pid:7583' WHERE ((run_at <= '2015-03-05 14:32:16' AND (locked_at IS NULL OR locked_at < '2015-03-05 10:32:16') OR locked_by = 'delayed_job host:box2359 pid:7583') AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1
  53. Started PUT "/stock_movements/mark_as_supplied" for 95.132.174.89 at 2015-03-05 18:32:16 +0400
  54. Processing by StockMovementsController#mark_as_supplied as HTML
  55. Parameters: {"stock_movement_ids"=>["157855", "157856"], "stock_movement_position"=>{"9471774"=>{"shelf_life"=>""}, "9471775"=>{"shelf_life"=>""}}, "stock_movement_position_amounts"=>{"9471774"=>"1", "9471775"=>"2"}, "commit"=>"Приходовать товар"}
  56. WARNING: Can't verify CSRF token authenticity
  57. User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`is_deleted` = 0 AND `users`.`id` = 247 LIMIT 1
  58. (0.2ms) BEGIN
  59. (8.0ms) UPDATE `users` SET `last_request_at` = '2015-03-05 14:32:16', `perishable_token` = 'euNsjiGf6npx0A5oiBjP', `updated_at` = '2015-03-05 14:32:16' WHERE `users`.`id` = 247
  60. (139.5ms) COMMIT
  61. Pharmacy Load (0.2ms) SELECT `pharmacies`.* FROM `pharmacies` WHERE `pharmacies`.`is_current` = 1 LIMIT 1
  62. PharmacyChain Load (0.2ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (2)
  63. PharmacyChain Load (8.7ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (14)
  64. StockMovement Load (0.8ms) SELECT `stock_movements`.* FROM `stock_movements` WHERE `stock_movements`.`is_deleted` = 0 AND `stock_movements`.`workflow_state` = 'being_supplied' AND `stock_movements`.`id` IN (157855, 157856)
  65. Completed 500 Internal Server Error in 186.3ms
  66.  
  67. LoadError (cannot load such file -- active_record/associations/preloader/has_many):
  68. app/controllers/stock_movements_controller.rb:48:in `mark_as_supplied'
  69.  
  70.  
  71. Started GET "/favicon.ico" for 95.132.174.89 at 2015-03-05 18:32:16 +0400
  72.  
  73. ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
  74. vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
  75. vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  76. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:32:in `call_app'
  77. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:16:in `block in call'
  78. vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/tagged_logging.rb:22:in `tagged'
  79. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:16:in `call'
  80. vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/request_id.rb:22:in `call'
  81. vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
  82. vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
  83. vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  84. vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
  85. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
  86. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
  87. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
  88. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
  89. vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
  90. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/engine.rb:484:in `call'
  91. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/application.rb:231:in `call'
  92. vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in `method_missing'
  93. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
  94. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
  95. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
  96. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
  97. vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
  98. vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
  99. vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement