Skip to content

Instantly share code, notes, and snippets.

@trappist
Created April 3, 2013 01:43
Show Gist options
  • Select an option

  • Save trappist/5297791 to your computer and use it in GitHub Desktop.

Select an option

Save trappist/5297791 to your computer and use it in GitHub Desktop.
Started POST "/populate.json" for 76.255.177.25 at 2013-04-03 01:36:50 +0000
Processing by Spree::OrdersController#populate as JSON
Parameters: {"variant_id"=>"158273"}
Spree::User Load (45.6ms) SELECT `spree_users`.* FROM `spree_users` WHERE `spree_users`.`id` = 365604 LIMIT 1
Spree::Order Load (4.2ms) SELECT `spree_orders`.* FROM `spree_orders` WHERE `spree_orders`.`user_id` = 365604 AND `spree_orders`.`completed_at` IS NULL ORDER BY created_at ASC LIMIT 1
Spree::Order Load (4.3ms) SELECT `spree_orders`.* FROM `spree_orders` WHERE `spree_orders`.`id` = 509291 LIMIT 1
Spree::Adjustment Load (4.6ms) SELECT `spree_adjustments`.* FROM `spree_adjustments` WHERE `spree_adjustments`.`adjustable_type` = 'Spree::Order' AND `spree_adjustments`.`adjustable_id` IN (509291) ORDER BY created_at ASC
Spree::Order Load (4.1ms) SELECT `spree_orders`.* FROM `spree_orders` WHERE `spree_orders`.`number` IS NULL LIMIT 1
(3.9ms) SELECT COUNT(*) FROM `spree_roles` INNER JOIN `spree_roles_users` ON `spree_roles`.`id` = `spree_roles_users`.`role_id` WHERE `spree_roles_users`.`user_id` = 365604 AND `spree_roles`.`name` = 'admin'
Spree::User Load (6.5ms) SELECT `spree_users`.* FROM `spree_users` WHERE `spree_users`.`id` = 834559 LIMIT 1
Spree::TokenizedPermission Load (3.9ms) SELECT `spree_tokenized_permissions`.* FROM `spree_tokenized_permissions` WHERE `spree_tokenized_permissions`.`permissable_id` = 398873 AND `spree_tokenized_permissions`.`permissable_type` = 'Spree::Order' LIMIT 1
Completed 500 Internal Server Error in 1653ms
** [Airbrake] Environment Info: [Ruby: 1.9.3] [Rails: 3.2.11] [Env: production]
** [Airbrake] Response from Airbrake:
You have accessed a deleted account.
** [Airbrake] Notice details:
exception: You are not authorized to access this page.
api_key: eaf8455c1d787b4e90165c7ba8cfc0b9
backtrace: [GEM_ROOT]/gems/cancan-1.6.7/lib/cancan/ability.rb:202:in `authorize!'
[GEM_ROOT]/gems/cancan-1.6.7/lib/cancan/controller_additions.rb:330:in `authorize!'
[GEM_ROOT]/bundler/gems/spree_auth_devise-c7e4705f0f4d/app/controllers/spree/orders_controller_decorator.rb:10:in `check_authorization'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:473:in `_run__4264732122609821826__process_action__913238639305653688__callbacks'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `__run_callback'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in `run_callbacks'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/abstract_controller/callbacks.rb:17:in `process_action'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_controller/metal/rescue.rb:29:in `process_action'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/notifications.rb:123:in `block in instrument'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/notifications.rb:123:in `instrument'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
[GEM_ROOT]/gems/activerecord-3.2.11/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `block in process_action'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:268:in `block in perform_action_with_newrelic_trace'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/agent/method_tracer.rb:240:in `trace_execution_scoped'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:263:in `perform_action_with_newrelic_trace'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/abstract_controller/base.rb:121:in `process'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/abstract_controller/rendering.rb:45:in `process'
[GEM_ROOT]/gems/seamless_database_pool-1.0.12/lib/seamless_database_pool/controller_filter.rb:79:in `block in process_with_seamless_database_pool'
[GEM_ROOT]/gems/seamless_database_pool-1.0.12/lib/seamless_database_pool/controller_filter.rb:110:in `block in set_read_only_connection_for_block'
[GEM_ROOT]/gems/seamless_database_pool-1.0.12/lib/seamless_database_pool.rb:77:in `set_read_only_connection_type'
[GEM_ROOT]/gems/seamless_database_pool-1.0.12/lib/seamless_database_pool/controller_filter.rb:109:in `set_read_only_connection_for_block'
[GEM_ROOT]/gems/seamless_database_pool-1.0.12/lib/seamless_database_pool/controller_filter.rb:78:in `process_with_seamless_database_pool'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_controller/metal.rb:203:in `dispatch'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_controller/metal.rb:246:in `block in action'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:73:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:36:in `call'
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/routing/route_set.rb:601:in `call'
[GEM_ROOT]/bundler/gems/omniauth-431ee7272677/lib/omniauth/strategy.rb:177:in `call!'
[GEM_ROOT]/bundler/gems/omniauth-431ee7272677/lib/omniauth/strategy.rb:157:in `call'
[GEM_ROOT]/bundler/gems/omniauth-431ee7272677/lib/omniauth/builder.rb:48:in `call'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/rack/error_collector.rb:8:in `call'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/rack/agent_hooks.rb:14:in `call'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/rack/browser_monitoring.rb:12:in `call'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/rack/developer_mode.rb:24:in `call'
[GEM_ROOT]/gems/sass-3.2.1/lib/sass/plugin/rack.rb:54:in `call'
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:35:in `block in call'
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:34:in `catch'
[GEM_ROOT]/gems/warden-1.1.1/lib/warden/manager.rb:34:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
[GEM_ROOT]/gems/rack-1.4.4/lib/rack/etag.rb:23:in `call'
[GEM_ROOT]/gems/rack-1.4.4/lib/rack/conditionalget.rb:35:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/head.rb:14:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/flash.rb:242:in `call'
[GEM_ROOT]/gems/rack-1.4.4/lib/rack/session/abstract/id.rb:210:in `context'
[GEM_ROOT]/gems/rack-1.4.4/lib/rack/session/abstract/id.rb:205:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/cookies.rb:341:in `call'
[GEM_ROOT]/gems/activerecord-3.2.11/lib/active_record/query_cache.rb:64:in `call'
[GEM_ROOT]/gems/activerecord-3.2.11/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `_run__4100472446559695442__call__2396447290505246897__callbacks'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:405:in `__run_callback'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:81:in `run_callbacks'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
[GEM_ROOT]/gems/railties-3.2.11/lib/rails/rack/logger.rb:32:in `call_app'
[GEM_ROOT]/gems/railties-3.2.11/lib/rails/rack/logger.rb:16:in `block in call'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/tagged_logging.rb:22:in `tagged'
[GEM_ROOT]/gems/railties-3.2.11/lib/rails/rack/logger.rb:16:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/request_id.rb:22:in `call'
[GEM_ROOT]/gems/rack-1.4.4/lib/rack/methodoverride.rb:21:in `call'
[GEM_ROOT]/gems/rack-1.4.4/lib/rack/runtime.rb:17:in `call'
[GEM_ROOT]/gems/activesupport-3.2.11/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
[GEM_ROOT]/gems/rack-1.4.4/lib/rack/lock.rb:15:in `call'
[GEM_ROOT]/gems/actionpack-3.2.11/lib/action_dispatch/middleware/static.rb:62:in `call'
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass'
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate'
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!'
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
[GEM_ROOT]/gems/railties-3.2.11/lib/rails/engine.rb:479:in `call'
[GEM_ROOT]/gems/railties-3.2.11/lib/rails/application.rb:223:in `call'
[GEM_ROOT]/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing'
[GEM_ROOT]/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:535:in `process_client'
[GEM_ROOT]/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:610:in `worker_loop'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:18:in `call'
[GEM_ROOT]/gems/newrelic_rpm-3.5.6.55/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:18:in `block (4 levels) in <top (required)>'
[GEM_ROOT]/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:491:in `spawn_missing_workers'
[GEM_ROOT]/gems/unicorn-4.4.0/lib/unicorn/http_server.rb:141:in `start'
[GEM_ROOT]/gems/unicorn-4.4.0/bin/unicorn_rails:209:in `<top (required)>'
[GEM_ROOT]/bin/unicorn_rails:23:in `load'
[GEM_ROOT]/bin/unicorn_rails:23:in `<main>'
error_class: CanCan::AccessDenied
environment_name: production
cgi_data: {"REMOTE_ADDR"=>"127.0.0.1", "REQUEST_METHOD"=>"POST", "REQUEST_PATH"=>"/populate.json", "PATH_INFO"=>"/populate.json", "REQUEST_URI"=>"/populate.json", "SERVER_PROTOCOL"=>"HTTP/1.0", "HTTP_VERSION"=>"HTTP/1.0", "HTTP_X_FORWARDED_FOR"=>"76.255.177.25", "HTTP_HOST"=>"louis.therealreal.com", "HTTP_CONNECTION"=>"close", "CONTENT_LENGTH"=>"17", "HTTP_ACCEPT"=>"application/json, text/javascript, */*; q=0.01", "HTTP_ORIGIN"=>"http://louis.therealreal.com", "HTTP_X_CSRF_TOKEN"=>"D3k2dU6Lfc/YBOXK25rZM8ERAv6CihyLtbo+6Ky1yOY=", "HTTP_X_REQUESTED_WITH"=>"XMLHttpRequest", "HTTP_USER_AGENT"=>"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31", "CONTENT_TYPE"=>"application/x-www-form-urlencoded; charset=UTF-8", "HTTP_REFERER"=>"http://louis.therealreal.com/flash_sales/get-the-trend-colorblocking", "HTTP_ACCEPT_ENCODING"=>"gzip,deflate,sdch", "HTTP_ACCEPT_LANGUAGE"=>"en-US,en;q=0.8", "HTTP_ACCEPT_CHARSET"=>"ISO-8859-1,utf-8;q=0.7,*;q=0.3", "HTTP_COOKIE"=>"km_lv=x; __utma=186778733.1882327632.1354142226.1359588124.1360173053.7; __utmc=186778733; __utmz=186778733.1354142226.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); kvcd=1362784635989; km_ai=54467; km_ni=54467; km_uq=; _session_id=0285f5fbd86df9dd11f6645f4e40ba43; _pk_id.81086.7d9f=5ede9d6c43d3e82f.1364947829.2.1364950782.1364947846.", "rack.url_scheme"=>"http", "SERVER_NAME"=>"louis.therealreal.com", "SERVER_PORT"=>"80", "QUERY_STRING"=>"", "rack.input"=>"#<Unicorn::TeeInput:0x00000009fed978>", "rack.errors"=>"#<File:0x00000001433248>", "rack.multiprocess"=>"true", "rack.multithread"=>"false", "rack.run_once"=>"false", "rack.version"=>["1", "1"], "SCRIPT_NAME"=>"", "SERVER_SOFTWARE"=>"Unicorn 4.4.0", "rack.logger"=>"#<Logger:0x00000001ef9b78>", "ORIGINAL_FULLPATH"=>"/populate.json", "action_dispatch.routes"=>"#<ActionDispatch::Routing::RouteSet:0x0000000546adc0>", "action_dispatch.parameter_filter"=>["password", "password", "password_confirmation", "number"], "action_dispatch.secret_token"=>"09381ccf0e8fecbf05029b40ede82893458f274f3c8a7b7a33b3c59aadddd1123a08eed3f54c182133010dfa9e9b14b30388ffa8d8ef466301a3e85f23f2a7af", "action_dispatch.show_exceptions"=>"true", "action_dispatch.show_detailed_exceptions"=>"false", "action_dispatch.logger"=>"#<ActiveSupport::TaggedLogging:0x00000005387ed0>", "action_dispatch.backtrace_cleaner"=>"#<Rails::BacktraceCleaner:0x0000000a5f0050>", "rack-cache.cache_key"=>"Rack::Cache::Key", "rack-cache.verbose"=>"false", "rack-cache.storage"=>"#<Rack::Cache::Storage:0x00000006a4f938>", "rack-cache.metastore"=>"rails:/", "rack-cache.entitystore"=>"rails:/", "rack-cache.default_ttl"=>"0", "rack-cache.ignore_headers"=>["Set-Cookie"], "rack-cache.private_headers"=>["Authorization", "Cookie"], "rack-cache.allow_reload"=>"false", "rack-cache.allow_revalidate"=>"false", "rack-cache.use_native_ttl"=>"false", "rack.request.form_input"=>"#<Unicorn::TeeInput:0x00000009fed978>", "rack.request.form_hash"=>{"variant_id"=>"158273"}, "action_dispatch.request_id"=>"2719a8f7f9fcc952a3b4cf2185c21810", "action_dispatch.remote_ip"=>"76.255.177.25", "rack.session"=>{"_csrf_token"=>"D3k2dU6Lfc/YBOXK25rZM8ERAv6CihyLtbo+6Ky1yOY=", "order_id"=>"509291", "access_token"=>"c1c5616940ad8686", "warden.user.user.key"=>["Spree::User", ["365604"], "wtfWYHy9xVYZdiLrzLSk"], "next_request_db_connection"=>""}, "rack.session.options"=>{:path=>"/", :domain=>"", :expire_after=>"", :secure=>"false", :httponly=>"true", :defer=>"false", :renew=>"false", :secret=>"a86738300aa6123569586812fde6f8a0391d5e956a5154c776eaebc33c5f", :id=>"0285f5fbd86df9dd11f6645f4e40ba43"}, "rack.request.cookie_hash"=>{"km_lv"=>"x", "__utma"=>"186778733.1882327632.1354142226.1359588124.1360173053.7", "__utmc"=>"186778733", "__utmz"=>"186778733.1354142226.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)", "kvcd"=>"1362784635989", "km_ai"=>"54467", "km_ni"=>"54467", "km_uq"=>"", "_session_id"=>"0285f5fbd86df9dd11f6645f4e40ba43", "_pk_id.81086.7d9f"=>"5ede9d6c43d3e82f.1364947829.2.1364950782.1364947846."}, "rack.request.cookie_string"=>"km_lv=x; __utma=186778733.1882327632.1354142226.1359588124.1360173053.7; __utmc=186778733; __utmz=186778733.1354142226.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); kvcd=1362784635989; km_ai=54467; km_ni=54467; km_uq=; _session_id=0285f5fbd86df9dd11f6645f4e40ba43; _pk_id.81086.7d9f=5ede9d6c43d3e82f.1364947829.2.1364950782.1364947846.", "rack.session.record"=>"#<ActiveRecord::SessionStore::Session:0x00000009107300>", "action_dispatch.request.content_type"=>"application/x-www-form-urlencoded", "warden"=>"Warden::Proxy:64262260 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x000000090cff68>}", "action_dispatch.request.path_parameters"=>{:action=>"populate", :controller=>"spree/orders", :format=>"json"}, "action_controller.instance"=>"#<Spree::OrdersController:0x00000008831208>", "action_dispatch.request.request_parameters"=>{"variant_id"=>"158273"}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"variant_id"=>"158273", "action"=>"populate", "controller"=>"spree/orders", "format"=>"json"}, "action_dispatch.request.formats"=>["application/json"]}
error_message: CanCan::AccessDenied: You are not authorized to access this page.
backtrace_filters: [#<Proc:0x0000000537c300@/home/deploy/.bundler/real_server/ruby/1.9.1/gems/airbrake-3.1.6/lib/airbrake/configuration.rb:116 (lambda)>, #<Proc:0x0000000537c0f8@/home/deploy/.bundler/real_server/ruby/1.9.1/gems/airbrake-3.1.6/lib/airbrake/configuration.rb:123 (lambda)>, #<Proc:0x0000000537bfe0@/home/deploy/.bundler/real_server/ruby/1.9.1/gems/airbrake-3.1.6/lib/airbrake/configuration.rb:124 (lambda)>, #<Proc:0x0000000537be78@/home/deploy/.bundler/real_server/ruby/1.9.1/gems/airbrake-3.1.6/lib/airbrake/configuration.rb:131 (lambda)>]
params_filters: ["password", "password_confirmation"]
parameters: {"variant_id"=>"158273", "action"=>"populate", "controller"=>"spree/orders", "format"=>"json"}
component: spree/orders
action: populate
session_data: {"_csrf_token"=>"D3k2dU6Lfc/YBOXK25rZM8ERAv6CihyLtbo+6Ky1yOY=", "order_id"=>"509291", "access_token"=>"c1c5616940ad8686", "warden.user.user.key"=>["Spree::User", ["365604"], "wtfWYHy9xVYZdiLrzLSk"]}
project_root: /srv/www/real_server/releases/20130402234917
url: http://louis.therealreal.com/populate.json
ignore: ["ActiveRecord::RecordNotFound", "ActionController::RoutingError", "ActionController::InvalidAuthenticityToken", "CGI::Session::CookieStore::TamperedWithCookie", "ActionController::UnknownAction", "AbstractController::ActionNotFound", "Mongoid::Errors::DocumentNotFound"]
ignore_by_filters: []
notifier_name: Airbrake Notifier
notifier_version: 3.1.6
notifier_url: https://github.com/airbrake/airbrake
hostname: rails-app1
user: {:id=>365604, :email=>"rocco@railsdog.com"}
CanCan::AccessDenied (You are not authorized to access this page.):
cancan (1.6.7) lib/cancan/ability.rb:202:in `authorize!'
cancan (1.6.7) lib/cancan/controller_additions.rb:330:in `authorize!'
/home/deploy/.bundler/real_server/ruby/1.9.1/bundler/gems/spree_auth_devise-c7e4705f0f4d/app/controllers/spree/orders_controller_decorator.rb:10:in `check_authorization'
activesupport (3.2.11) lib/active_support/callbacks.rb:473:in `_run__4264732122609821826__process_action__913238639305653688__callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
newrelic_rpm (3.5.6.55) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `block in process_action'
newrelic_rpm (3.5.6.55) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:268:in `block in perform_action_with_newrelic_trace'
newrelic_rpm (3.5.6.55) lib/new_relic/agent/method_tracer.rb:240:in `trace_execution_scoped'
newrelic_rpm (3.5.6.55) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:263:in `perform_action_with_newrelic_trace'
newrelic_rpm (3.5.6.55) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process'
seamless_database_pool (1.0.12) lib/seamless_database_pool/controller_filter.rb:79:in `block in process_with_seamless_database_pool'
seamless_database_pool (1.0.12) lib/seamless_database_pool/controller_filter.rb:110:in `block in set_read_only_connection_for_block'
seamless_database_pool (1.0.12) lib/seamless_database_pool.rb:77:in `set_read_only_connection_type'
seamless_database_pool (1.0.12) lib/seamless_database_pool/controller_filter.rb:109:in `set_read_only_connection_for_block'
seamless_database_pool (1.0.12) lib/seamless_database_pool/controller_filter.rb:78:in `process_with_seamless_database_pool'
actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call'
/home/deploy/.bundler/real_server/ruby/1.9.1/bundler/gems/omniauth-431ee7272677/lib/omniauth/strategy.rb:177:in `call!'
/home/deploy/.bundler/real_server/ruby/1.9.1/bundler/gems/omniauth-431ee7272677/lib/omniauth/strategy.rb:157:in `call'
/home/deploy/.bundler/real_server/ruby/1.9.1/bundler/gems/omniauth-431ee7272677/lib/omniauth/builder.rb:48:in `call'
newrelic_rpm (3.5.6.55) lib/new_relic/rack/error_collector.rb:8:in `call'
newrelic_rpm (3.5.6.55) lib/new_relic/rack/agent_hooks.rb:14:in `call'
newrelic_rpm (3.5.6.55) lib/new_relic/rack/browser_monitoring.rb:12:in `call'
newrelic_rpm (3.5.6.55) lib/new_relic/rack/developer_mode.rb:24:in `call'
sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call'
warden (1.1.1) lib/warden/manager.rb:35:in `block in call'
warden (1.1.1) lib/warden/manager.rb:34:in `catch'
warden (1.1.1) lib/warden/manager.rb:34:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.4) lib/rack/etag.rb:23:in `call'
rack (1.4.4) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context'
rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__4100472446559695442__call__2396447290505246897__callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.11) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.4) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.4) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.4) lib/rack/lock.rb:15:in `call'
actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:143:in `pass'
rack-cache (1.2) lib/rack/cache/context.rb:155:in `invalidate'
rack-cache (1.2) lib/rack/cache/context.rb:71:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
airbrake (3.1.6) lib/airbrake/rack.rb:41:in `call'
airbrake (3.1.6) lib/airbrake/user_informer.rb:12:in `call'
railties (3.2.11) lib/rails/engine.rb:479:in `call'
railties (3.2.11) lib/rails/application.rb:223:in `call'
railties (3.2.11) lib/rails/railtie/configurable.rb:30:in `method_missing'
unicorn (4.4.0) lib/unicorn/http_server.rb:535:in `process_client'
unicorn (4.4.0) lib/unicorn/http_server.rb:610:in `worker_loop'
newrelic_rpm (3.5.6.55) lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:18:in `call'
newrelic_rpm (3.5.6.55) lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:18:in `block (4 levels) in <top (required)>'
unicorn (4.4.0) lib/unicorn/http_server.rb:491:in `spawn_missing_workers'
unicorn (4.4.0) lib/unicorn/http_server.rb:141:in `start'
unicorn (4.4.0) bin/unicorn_rails:209:in `<top (required)>'
/home/deploy/.bundler/real_server/ruby/1.9.1/bin/unicorn_rails:23:in `load'
/home/deploy/.bundler/real_server/ruby/1.9.1/bin/unicorn_rails:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment