Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started POST "/stock_movement_positions/9471774/save_supplied_amount" for 95.132.174.89 at 2015-03-05 18:32:09 +0400
- Processing by StockMovementPositionsController#save_supplied_amount as */*
- Parameters: {"supplied_amount"=>"1", "id"=>"9471774"}
- User Load (1.4ms) SELECT `users`.* FROM `users` WHERE `users`.`is_deleted` = 0 AND `users`.`id` = 247 LIMIT 1
- CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE `users`.`is_deleted` = 0 AND `users`.`id` = 247 LIMIT 1
- (0.2ms) BEGIN
- (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
- (3.4ms) COMMIT
- Pharmacy Load (0.2ms) SELECT `pharmacies`.* FROM `pharmacies` WHERE `pharmacies`.`is_current` = 1 LIMIT 1
- PharmacyChain Load (0.2ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (2)
- PharmacyChain Load (0.2ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (14)
- StockMovementPosition Load (0.8ms) SELECT `stock_movement_positions`.* FROM `stock_movement_positions` WHERE `stock_movement_positions`.`id` = 9471774 LIMIT 1
- (0.2ms) BEGIN
- StockMovement Load (0.7ms) SELECT `stock_movements`.* FROM `stock_movements` WHERE `stock_movements`.`uuid` = '124c9344-c343-11e4-9e90-0401416d7801' LIMIT 1
- Product Load (0.3ms) SELECT `products`.* FROM `products` WHERE `products`.`id` = 3748539 LIMIT 1
- (0.8ms) UPDATE `stock_movement_positions` SET `supplied_amount` = 1, `updated_at` = '2015-03-05 14:32:10' WHERE `stock_movement_positions`.`id` = 9471774
- (2.6ms) COMMIT
- Rendered text template (0.0ms)
- Completed 200 OK in 423.6ms (Views: 13.0ms | ActiveRecord: 33.1ms)
- 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
- Started GET "/500.html" for 95.132.174.89 at 2015-03-05 18:32:16 +0400
- ActionController::RoutingError (No route matches [GET] "/500.html"):
- vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
- vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:32:in `call_app'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:16:in `block in call'
- vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/tagged_logging.rb:22:in `tagged'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:16:in `call'
- vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/request_id.rb:22:in `call'
- vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
- vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
- vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/engine.rb:484:in `call'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/application.rb:231:in `call'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in `method_missing'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
- vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
- vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
- 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
- Started PUT "/stock_movements/mark_as_supplied" for 95.132.174.89 at 2015-03-05 18:32:16 +0400
- Processing by StockMovementsController#mark_as_supplied as HTML
- Parameters: {"stock_movement_ids"=>["157855", "157856"], "stock_movement_position"=>{"9471774"=>{"shelf_life"=>""}, "9471775"=>{"shelf_life"=>""}}, "stock_movement_position_amounts"=>{"9471774"=>"1", "9471775"=>"2"}, "commit"=>"Приходовать товар"}
- WARNING: Can't verify CSRF token authenticity
- User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`is_deleted` = 0 AND `users`.`id` = 247 LIMIT 1
- (0.2ms) BEGIN
- (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
- (139.5ms) COMMIT
- Pharmacy Load (0.2ms) SELECT `pharmacies`.* FROM `pharmacies` WHERE `pharmacies`.`is_current` = 1 LIMIT 1
- PharmacyChain Load (0.2ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (2)
- PharmacyChain Load (8.7ms) SELECT `pharmacy_chains`.* FROM `pharmacy_chains` WHERE `pharmacy_chains`.`id` IN (14)
- 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)
- Completed 500 Internal Server Error in 186.3ms
- LoadError (cannot load such file -- active_record/associations/preloader/has_many):
- app/controllers/stock_movements_controller.rb:48:in `mark_as_supplied'
- Started GET "/favicon.ico" for 95.132.174.89 at 2015-03-05 18:32:16 +0400
- ActionController::RoutingError (No route matches [GET] "/favicon.ico"):
- vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
- vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:32:in `call_app'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:16:in `block in call'
- vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/tagged_logging.rb:22:in `tagged'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/rack/logger.rb:16:in `call'
- vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.17/lib/action_dispatch/middleware/request_id.rb:22:in `call'
- vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
- vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
- vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- vendor/bundle/ruby/2.1.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
- vendor/bundle/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/engine.rb:484:in `call'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/application.rb:231:in `call'
- vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in `method_missing'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'
- vendor/bundle/ruby/2.1.0/gems/unicorn-4.8.3/bin/unicorn:126:in `<top (required)>'
- vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `load'
- vendor/bundle/ruby/2.1.0/bin/unicorn:23:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement