Created
January 14, 2015 17:17
-
-
Save scytacki/eb1b0cd4f3dd31a6a824 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A NoMethodError occurred in search#get_current_material_unassigned_clazzes: | |
undefined method `teacher_clazzes' for nil:NilClass | |
app/controllers/search_controller.rb:90:in `get_current_material_unassigned_clazzes' | |
------------------------------- | |
Request: | |
------------------------------- | |
* URL : https://learn.staging.concord.org/search/get_current_material_unassigned_clazzes | |
* IP address: 63.138.152.229 | |
* Parameters: {"material_type"=>"ExternalActivity", "material_id"=>"85", "_"=>"", "controller"=>"search", "action"=>"get_current_material_unassigned_clazzes"} | |
* Rails root: /web/portal/releases/20150113214237 | |
------------------------------- | |
Session: | |
------------------------------- | |
* session id: [FILTERED] | |
* data: {} | |
------------------------------- | |
Environment: | |
------------------------------- | |
* CONTENT_LENGTH : 48 | |
* CONTENT_TYPE : application/x-www-form-urlencoded; charset=UTF-8 | |
* DOCUMENT_ROOT : /web/portal/current/public | |
* HTTPS : on | |
* HTTP_ACCEPT : text/javascript, text/html, application/xml, text/xml, */* | |
* HTTP_ACCEPT_ENCODING : gzip, deflate | |
* HTTP_ACCEPT_LANGUAGE : en-US,en;q=0.8 | |
* HTTP_CONNECTION : keep-alive | |
* HTTP_COOKIE : SESSc12dc9f3a4088bcc2ad2e24e1dd0079a=3e7ece70h2t4cukj8rrc0a0o16; SESS74514342ece45d142f2683fc44fb1388=julh5ardgtceurf3mej1tisd71; __utma=1.1360100342.1408552191.1421082479.1421101623.112; __utmc=1; __utmz=1.1420733668.108.10.utmcsr=The%20Concord%20Consortium%20List|utmccn=5bf3f94277-Aha_Moments_2015|utmcmd=email|utmctr=0_4ca9f8d47e-5bf3f94277-298197685; _ga=GA1.2.1360100342.1408552191; __utmt=1; save_path=; learner_id=80; student_name=Jen+Student; activity_name=GeniGames; class_id=12; student_id=42; runnable_id=72; __utma=231173890.1360100342.1408552191.1421098898.1421247579.48; __utmb=231173890.17.10.1421247579; __utmc=231173890; __utmz=231173890.1420642376.41.8.utmcsr=authoring.staging.concord.org|utmccn=(referral)|utmcmd=referral|utmcct=/; _rails_portal_session=efe1c2eca6c14553cb37af841fd87d33 | |
* HTTP_HOST : learn.staging.concord.org | |
* HTTP_ORIGIN : https://learn.staging.concord.org | |
* HTTP_REFERER : https://learn.staging.concord.org/search?search_term=geniverse&sort_order=Newest&include_official=1&include_contributed=1 | |
* HTTP_USER_AGENT : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 | |
* HTTP_X_PROTOTYPE_VERSION : 1.7_rc2 | |
* HTTP_X_QUEUE_START : t=1421247881366788 | |
* HTTP_X_REQUESTED_WITH : XMLHttpRequest | |
* ORIGINAL_FULLPATH : /search/get_current_material_unassigned_clazzes | |
* PASSENGER_CONNECT_PASSWORD : [FILTERED] | |
* PATH_INFO : /search/get_current_material_unassigned_clazzes | |
* QUERY_STRING : | |
* REMOTE_ADDR : 63.138.152.229 | |
* REMOTE_PORT : 51015 | |
* REQUEST_METHOD : POST | |
* REQUEST_URI : /search/get_current_material_unassigned_clazzes | |
* SCRIPT_NAME : | |
* SCRIPT_URI : https://learn.staging.concord.org/search/get_current_material_unassigned_clazzes | |
* SCRIPT_URL : /search/get_current_material_unassigned_clazzes | |
* SERVER_ADDR : 10.235.11.101 | |
* SERVER_ADMIN : [no address given] | |
* SERVER_NAME : learn.staging.concord.org | |
* SERVER_PORT : 443 | |
* SERVER_PROTOCOL : HTTP/1.1 | |
* SERVER_SOFTWARE : Apache | |
* SSL_TLS_SNI : learn.staging.concord.org | |
* _ : _ | |
* action_controller.instance : search#get_current_material_unassigned_clazzes | |
* action_dispatch.backtrace_cleaner : #<Rails::BacktraceCleaner:0x0000000953c330> | |
* action_dispatch.cookies : #<ActionDispatch::Cookies::CookieJar:0x000000082bedc0> | |
* action_dispatch.logger : #<ActiveSupport::TaggedLogging:0x000000069f1fb8> | |
* action_dispatch.parameter_filter : [:password, :password_confirmation, /RAW_POST_DATA/] | |
* action_dispatch.remote_ip : 63.138.152.229 | |
* action_dispatch.request.accepts : [text/javascript, text/html, application/xml, */*] | |
* action_dispatch.request.content_type : application/x-www-form-urlencoded | |
* action_dispatch.request.formats : [text/javascript, text/html, application/xml, */*] | |
* action_dispatch.request.parameters : {"material_type"=>"ExternalActivity", "material_id"=>"85", "_"=>"", "controller"=>"search", "action"=>"get_current_material_unassigned_clazzes"} | |
* action_dispatch.request.path_parameters : {:controller=>"search", :action=>"get_current_material_unassigned_clazzes"} | |
* action_dispatch.request.query_parameters : {} | |
* action_dispatch.request.request_parameters: {"material_type"=>"ExternalActivity", "material_id"=>"85", "_"=>""} | |
* action_dispatch.request_id : 5c858b142b4cf59f19414663d4e0338a | |
* action_dispatch.routes : #<ActionDispatch::Routing::RouteSet:0x00000005d4df78> | |
* action_dispatch.secret_token : a3e2a51a371bb964a4250c21f8d083f9ddb224d455171dcba55518e74af43366e52e3f239773f90aed0ab6caf6554f051504ce7232599d066150dbabff0f1654 | |
* action_dispatch.show_detailed_exceptions : false | |
* action_dispatch.show_exceptions : true | |
* exception_notifier.options : {:sender_address=>"\"Application Error\" <[email protected]>", :exception_recipients=>["\"Admin\" <[email protected]>"], :email_prefix=>"[Learn Portal Exception] ", :sections=>["request", "session", "environment", "backtrace"], :ignore_exceptions=>[ActiveRecord::RecordNotFound, AbstractController::ActionNotFound, ActionController::RoutingError]} | |
* rack-cache.allow_reload : false | |
* rack-cache.allow_revalidate : false | |
* rack-cache.cache_key : Rack::Cache::Key | |
* rack-cache.default_ttl : 0 | |
* rack-cache.entitystore : rails:/ | |
* rack-cache.ignore_headers : ["Set-Cookie"] | |
* rack-cache.metastore : rails:/ | |
* rack-cache.private_headers : ["Authorization", "Cookie"] | |
* rack-cache.storage : #<Rack::Cache::Storage:0x00000007b2fdc0> | |
* rack-cache.use_native_ttl : false | |
* rack-cache.verbose : false | |
* rack.errors : #<IO:0x00000002509220> | |
* rack.input : #<PhusionPassenger::Utils::RewindableInput:0x00000007e3a448> | |
* rack.multiprocess : true | |
* rack.multithread : false | |
* rack.request.cookie_hash : {"SESSc12dc9f3a4088bcc2ad2e24e1dd0079a"=>"3e7ece70h2t4cukj8rrc0a0o16", "SESS74514342ece45d142f2683fc44fb1388"=>"julh5ardgtceurf3mej1tisd71", "__utma"=>"1.1360100342.1408552191.1421082479.1421101623.112", "__utmc"=>"1", "__utmz"=>"1.1420733668.108.10.utmcsr=The Concord Consortium List|utmccn=5bf3f94277-Aha_Moments_2015|utmcmd=email|utmctr=0_4ca9f8d47e-5bf3f94277-298197685", "_ga"=>"GA1.2.1360100342.1408552191", "__utmt"=>"1", "save_path"=>"", "learner_id"=>"80", "student_name"=>"Jen Student", "activity_name"=>"GeniGames", "class_id"=>"12", "student_id"=>"42", "runnable_id"=>"72", "__utmb"=>"231173890.17.10.1421247579", "_rails_portal_session"=>"efe1c2eca6c14553cb37af841fd87d33"} | |
* rack.request.cookie_string : SESSc12dc9f3a4088bcc2ad2e24e1dd0079a=3e7ece70h2t4cukj8rrc0a0o16; SESS74514342ece45d142f2683fc44fb1388=julh5ardgtceurf3mej1tisd71; __utma=1.1360100342.1408552191.1421082479.1421101623.112; __utmc=1; __utmz=1.1420733668.108.10.utmcsr=The%20Concord%20Consortium%20List|utmccn=5bf3f94277-Aha_Moments_2015|utmcmd=email|utmctr=0_4ca9f8d47e-5bf3f94277-298197685; _ga=GA1.2.1360100342.1408552191; __utmt=1; save_path=; learner_id=80; student_name=Jen+Student; activity_name=GeniGames; class_id=12; student_id=42; runnable_id=72; __utma=231173890.1360100342.1408552191.1421098898.1421247579.48; __utmb=231173890.17.10.1421247579; __utmc=231173890; __utmz=231173890.1420642376.41.8.utmcsr=authoring.staging.concord.org|utmccn=(referral)|utmcmd=referral|utmcct=/; _rails_portal_session=efe1c2eca6c14553cb37af841fd87d33 | |
* rack.request.form_hash : {"material_type"=>"ExternalActivity", "material_id"=>"85", "_"=>""} | |
* rack.request.form_input : #<PhusionPassenger::Utils::RewindableInput:0x00000007e3a448> | |
* rack.request.form_vars : material_type=ExternalActivity&material_id=85&_= | |
* rack.request.query_hash : {} | |
* rack.request.query_string : | |
* rack.run_once : false | |
* rack.session : {} | |
* rack.session.options : {:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :secret=>"381f140b5281b6f35697d7d893cb972c6a85bddc0ef20e29dad9a38d3b25", :id=>"efe1c2eca6c14553cb37af841fd87d33"} | |
* rack.session.record : #<ActiveRecord::SessionStore::Session:0x00000007e94ce0> | |
* rack.url_scheme : https | |
* rack.version : [1, 0] | |
* warden : Warden::Proxy:63261780 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:rememberable, :token_authenticatable, :database_authenticatable, :bearer_token_authenticatable]}, :intercept_401=>false, :failure_app=>CustomFailure} | |
* Process: 25362 | |
* Server : ip-10-235-11-101 | |
------------------------------- | |
Backtrace: | |
------------------------------- | |
app/controllers/search_controller.rb:90:in `get_current_material_unassigned_clazzes' | |
actionpack (3.2.19) lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
actionpack (3.2.19) lib/abstract_controller/base.rb:167:in `process_action' | |
actionpack (3.2.19) lib/action_controller/metal/rendering.rb:10:in `process_action' | |
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
activesupport (3.2.19) lib/active_support/callbacks.rb:513:in `_run__1382060748127971573__process_action__3232106623685418848__callbacks' | |
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback' | |
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' | |
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:in `process_action' | |
actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in `process_action' | |
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `block in instrument' | |
activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument' | |
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' | |
activerecord (3.2.19) lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
newrelic_rpm (3.5.8.72) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `block in process_action' | |
newrelic_rpm (3.5.8.72) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:268:in `block in perform_action_with_newrelic_trace' | |
newrelic_rpm (3.5.8.72) lib/new_relic/agent/method_tracer.rb:240:in `trace_execution_scoped' | |
newrelic_rpm (3.5.8.72) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:263:in `perform_action_with_newrelic_trace' | |
newrelic_rpm (3.5.8.72) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action' | |
actionpack (3.2.19) lib/abstract_controller/base.rb:121:in `process' | |
actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:in `process' | |
actionpack (3.2.19) lib/action_controller/metal.rb:203:in `dispatch' | |
actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
actionpack (3.2.19) lib/action_controller/metal.rb:246:in `block in action' | |
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `call' | |
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' | |
actionpack (3.2.19) 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.19) lib/action_dispatch/routing/route_set.rb:608:in `call' | |
exception_notification (2.5.2) lib/exception_notifier.rb:25:in `call' | |
newrelic_rpm (3.5.8.72) lib/new_relic/rack/error_collector.rb:8:in `call' | |
newrelic_rpm (3.5.8.72) lib/new_relic/rack/agent_hooks.rb:14:in `call' | |
newrelic_rpm (3.5.8.72) lib/new_relic/rack/browser_monitoring.rb:12:in `call' | |
sass (3.2.1) lib/sass/plugin/rack.rb:54:in `call' | |
warden (1.2.1) lib/warden/manager.rb:35:in `block in call' | |
warden (1.2.1) lib/warden/manager.rb:34:in `catch' | |
warden (1.2.1) lib/warden/manager.rb:34:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
rack (1.4.5) lib/rack/etag.rb:23:in `call' | |
rack (1.4.5) lib/rack/conditionalget.rb:35:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/head.rb:14:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
lib/rack/expand_b64_gzip.rb:35:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/flash.rb:242:in `call' | |
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context' | |
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/cookies.rb:341:in `call' | |
lib/rack/config_session_cookies.rb:42:in `call' | |
activerecord (3.2.19) lib/active_record/query_cache.rb:64:in `call' | |
activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' | |
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `_run__3928423298514492034__call__300304709255063216__callbacks' | |
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback' | |
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' | |
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks' | |
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' | |
railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app' | |
railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call' | |
activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged' | |
railties (3.2.19) lib/rails/rack/logger.rb:16:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call' | |
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call' | |
rack (1.4.5) lib/rack/runtime.rb:17:in `call' | |
activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call' | |
rack (1.4.5) lib/rack/lock.rb:15:in `call' | |
actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63: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' | |
rack-cors (0.2.9) lib/rack/cors.rb:54:in `call' | |
railties (3.2.19) lib/rails/engine.rb:484:in `call' | |
railties (3.2.19) lib/rails/application.rb:231:in `call' | |
railties (3.2.19) lib/rails/railtie/configurable.rb:30:in `method_missing' | |
passenger (3.0.12) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' | |
passenger (3.0.12) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' | |
passenger (3.0.12) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' | |
passenger (3.0.12) lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler' | |
passenger (3.0.12) lib/phusion_passenger/rack/application_spawner.rb:171:in `block in handle_spawn_application' | |
passenger (3.0.12) lib/phusion_passenger/utils.rb:479:in `safe_fork' | |
passenger (3.0.12) lib/phusion_passenger/rack/application_spawner.rb:166:in `handle_spawn_application' | |
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' | |
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' | |
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:180:in `start' | |
passenger (3.0.12) lib/phusion_passenger/rack/application_spawner.rb:129:in `start' | |
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application' | |
passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' | |
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application' | |
passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize' | |
<internal:prelude>:10:in `synchronize' | |
passenger (3.0.12) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' | |
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application' | |
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application' | |
passenger (3.0.12) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' | |
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' | |
passenger (3.0.12) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' | |
passenger (3.0.12) helper-scripts/passenger-spawn-server:99:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment