Skip to content

Instantly share code, notes, and snippets.

@vparihar01
Created August 26, 2014 11:45
Show Gist options
  • Save vparihar01/ceade3f6daf4340663dc to your computer and use it in GitHub Desktop.
Save vparihar01/ceade3f6daf4340663dc to your computer and use it in GitHub Desktop.
Spree error log for variants.
tarted POST "/nfhs_shop/orders/update_order" for 72.49.253.235 at 2014-08-26 11:03:07 +0000
Processing by Spree::OrdersController#update_order as */*
Parameters: {"option_id"=>"", "product_id"=>"419", "previous_variant"=>"578976", "buy_type"=>"Yourself"}
undefined method `variants' for nil:NilClass
["/var/www/www.nfhslearn.com/releases/20140826103506/app/controllers/spree/orders_controller_decorator.rb:48:in `update_order'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/implicit_render.rb:4:in `send_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:167:in `process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rendering.rb:10:in `process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:18:in `block in process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:524:in `_run__1216308250757637355__process_action__2955479625555657403__callbacks'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in `__run_callback'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:17:in `process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rescue.rb:29:in `process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in `block in instrument'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in `instrument'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in `instrument'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:29:in `process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/railties/controller_runtime.rb:18:in `process_action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:121:in `process'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:45:in `process'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal.rb:203:in `dispatch'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_controller/metal.rb:246:in `block in action'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:36:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:608:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/engine.rb:484:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:608:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/head.rb:14:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/params_parser.rb:21:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/flash.rb:242:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/cookies.rb:341:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/query_cache.rb:64:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in `_run__2343056701516794061__call__106921274944170245__callbacks'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in `__run_callback'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:27:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:32:in `call_app'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in `block in call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/tagged_logging.rb:22:in `tagged'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/request_id.rb:22:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/activesupport-3.2.16/lib/active_support/cache/strategy/local_cache.rb:72:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/action_dispatch/middleware/static.rb:63:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/engine.rb:484:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/application.rb:231:in `call'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:576:in `process_client'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:670:in `worker_loop'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:525:in `spawn_missing_workers'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/unicorn-4.8.3/lib/unicorn/http_server.rb:140:in `start'", "/var/www/www.nfhslearn.com/shared/Installed_bundle/ruby/1.9.1/gems/unicorn-4.8.3/bin/unicorn_rails:209:in `<top (required)>'", "/usr/local/bin/unicorn_rails:23:in `load'", "/usr/local/bin/unicorn_rails:23:in `<main>'"]
Rendered spree/orders/error.js.haml (1.4ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment