undefined method `id' for nil:NilClass
RAILS_ROOT: /home/ezxpous2
/home/ezxpous2/app/controllers/plans_controller.rb:110:in `pricing'
/home/ezxpous2/app/controllers/application_controller.rb:145:in `set_locale'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:1333:in `perform_action'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:638:in `block in run_before_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:186:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:615:in `call_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:610:in `perform_action_with_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/benchmarking.rb:68:in `block in perform_action_with_benchmark'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `block in ms'
/usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/flash.rb:151:in `perform_action_with_flash'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:532:in `process'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:606:in `process_with_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/compass-rails-1.0.3/lib/compass-rails/railties/2_3.rb:9:in `process_with_compass'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/oauth-instructure-0.4.9/lib/oauth/request_proxy/action_controller_request.rb:72:in `process_with_oauth'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:391:in `process'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:386:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/routing/route_set.rb:438:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:130:in `block in build_middleware_stack'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:29:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:29:in `block in call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:9:in `cache'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:28:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/builder.rb:63:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/sass-3.2.3/lib/sass/plugin/rack.rb:54:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.3/lib/rack/head.rb:9:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.3/lib/rack/methodoverride.rb:24:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/params_parser.rb:15:in `call'
/home/ezxpous2/vendor/plugins/respondus_soap_endpoint/lib/respondus_api_middleware.rb:60:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `block in ms'
/usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/encrypted_cookie_store-instructure-1.0.4/lib/encrypted_cookie_store.rb:33:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/failsafe.rb:26:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.3/lib/rack/lock.rb:11:in `block in call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.3/lib/rack/lock.rb:11:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in `block (3 levels) in start_threads'
/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
/home/ezxpous2/app/controllers/plans_controller.rb:110:in `pricing'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:1333:in `perform_action'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:617:in `call_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:638:in `block in run_before_filters'
/home/ezxpous2/app/controllers/application_controller.rb:145:in `set_locale'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:186:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:635:in `run_before_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:615:in `call_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:610:in `perform_action_with_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/benchmarking.rb:68:in `block in perform_action_with_benchmark'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `block in ms'
/usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/flash.rb:151:in `perform_action_with_flash'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:532:in `process'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/filters.rb:606:in `process_with_filters'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/compass-rails-1.0.3/lib/compass-rails/railties/2_3.rb:9:in `process_with_compass'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/oauth-instructure-0.4.9/lib/oauth/request_proxy/action_controller_request.rb:72:in `process_with_oauth'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:391:in `process'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/base.rb:386:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/routing/route_set.rb:438:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:121:in `_call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:130:in `block in build_middleware_stack'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:29:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:29:in `block in call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:9:in `cache'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/query_cache.rb:28:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:186:in `call!'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/strategy.rb:164:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/omniauth-1.4.2/lib/omniauth/builder.rb:63:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/sass-3.2.3/lib/sass/plugin/rack.rb:54:in `call'
/home/ezxpous2/lib/force_ssl.rb:8:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/string_coercion.rb:25:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.3/lib/rack/head.rb:9:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.3/lib/rack/methodoverride.rb:24:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/params_parser.rb:15:in `call'
/home/ezxpous2/vendor/plugins/respondus_soap_endpoint/lib/respondus_api_middleware.rb:60:in `call'
/home/ezxpous2/lib/request_context_generator.rb:34:in `call'
/home/ezxpous2/app/middleware/prevent_non_multipart_parse.rb:32:in `call'
/home/ezxpous2/lib/canvas/request_throttle.rb:42:in `call'
/home/ezxpous2/app/middleware/stats_timing.rb:8:in `block in call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `block in ms'
/usr/local/rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/home/ezxpous2/app/middleware/stats_timing.rb:8:in `call'
/home/ezxpous2/app/middleware/load_account.rb:12:in `call'
/home/ezxpous2/app/middleware/sessions_timeout.rb:24:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/encrypted_cookie_store-instructure-1.0.4/lib/encrypted_cookie_store.rb:33:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/failsafe.rb:26:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.3/lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:10:in `synchronize'
/usr/local/rvm/gems/ruby-1.9.3-p551/gems/rack-1.1.3/lib/rack/lock.rb:11:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p551/bundler/gems/rails-e86daf8ff727/actionpack/lib/action_controller/dispatcher.rb:106:in `call'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in `block (3 levels) in start_threads'
/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
Parameters:
{"account_id"=>2, "user_role"=>"organizer"}
---
Headers:
{"Cache-Control"=>"no-cache", "Content-Type"=>""}