Skip to content

Instantly share code, notes, and snippets.

@dmix
Created March 29, 2011 20:16
Show Gist options
  • Save dmix/893149 to your computer and use it in GitHub Desktop.
Save dmix/893149 to your computer and use it in GitHub Desktop.
SystemStackError in ApplyController#index
stack level too deep
RAILS_ROOT: /Users/dmix/development/Compass
Application Trace | Framework Trace | Full Trace
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/mysql2-0.2.6/lib/active_record/connection_adapters/mysql2_adapter.rb:635:in `merge'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/mysql2-0.2.6/lib/active_record/connection_adapters/mysql2_adapter.rb:635:in `each'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/mysql2-0.2.6/lib/active_record/connection_adapters/mysql2_adapter.rb:635:in `select'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/query_cache.rb:81:in `cache_sql'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/connection_adapters/abstract/query_cache.rb:60:in `select_all'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/base.rb:665:in `find_by_sql'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/base.rb:1582:in `find_every'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/base.rb:1617:in `find_one'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/base.rb:1603:in `find_from_ids'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/base.rb:620:in `find'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/associations/belongs_to_association.rb:51:in `send'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/associations/belongs_to_association.rb:51:in `find_target'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:236:in `load_target'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/associations/association_proxy.rb:113:in `reload'
/Users/dmix/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-2.3.10/lib/active_record/associations.rb:1256:in `form_attempt'
/Users/dmix/development/Compass/app/models/lead.rb:133:in `before_save'
/Users/dmix/development/Compass/app/models/lead.rb:305:in `mark_ongoing!'
/Users/dmix/development/Compass/app/models/candidate.rb:133:in `mark_ongoing!'
/Users/dmix/development/Compass/app/models/candidate.rb:132:in `mark_ongoing!'
/Users/dmix/development/Compass/app/models/lead.rb:175:in `mark_leads_as_ongoing'
(beanstalk job 0):1:in `sync_worker'
lib/async_extensions.rb:7:in `async_execute'
:0:in `after_create'
:0:in `create_lead'
/Users/dmix/development/Compass/app/models/answer.rb:467:in `after_create'
/Users/dmix/development/Compass/app/models/answer.rb:433:in `save_choices'
/Users/dmix/development/Compass/app/models/answer.rb:425:in `each'
/Users/dmix/development/Compass/app/models/answer.rb:425:in `save_choices'
:0:in `each'
:0:in `save_choices'
:0:in `save_answers'
:0:in `each'
:0:in `save_answers'
:0:in `save_answers'
Request
Parameters:
{"department_556"=>{"3948"=>"0",
"3949"=>"0",
"3950"=>"0",
"3951"=>"0",
"3952"=>"0",
"3953"=>"0",
"3954"=>"0",
"3955"=>"0"},
"school_3297"=>{"556"=>"0",
"552"=>"1",
"553"=>"0",
"554"=>"0",
"555"=>"0"},
"post"=>{"category"=>"552"},
"submit"=>"commit",
"question_320"=>{"3297"=>"1"},
"question_353"=>"Home Phone",
"id"=>"sf",
"department_552"=>{"3931"=>"1"},
"step_position"=>"step3",
"locale"=>"en",
"school_question"=>"question_320",
"department_553"=>{"3932"=>"0"},
"question_181"=>"asddaadsasd",
"department_554"=>{"3936"=>"0",
"3933"=>"0",
"3934"=>"0",
"3935"=>"0"},
"department_555"=>{"3947"=>"0",
"3937"=>"0",
"3938"=>"0",
"3939"=>"0",
"3940"=>"0",
"3941"=>"0",
"3942"=>"0",
"3943"=>"0",
"3944"=>"0",
"3945"=>"0",
"3946"=>"0"}}
Show session dump
Response
Headers:
{"Content-Type"=>"",
"Cache-Control"=>"no-cache"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment