Skip to content

Instantly share code, notes, and snippets.

@DaveSanders
Created January 30, 2012 15:47
Show Gist options
  • Save DaveSanders/1705064 to your computer and use it in GitHub Desktop.
Save DaveSanders/1705064 to your computer and use it in GitHub Desktop.
Stacktrace for stack overflow
Mysql::Error: Table 'pestnowtest.orders' doesn't exist: SHOW FULL FIELDS FROM `orders`
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:233:in `query'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:233:in `block in execute'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:233:in `execute'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/connection_adapters/mysql_adapter.rb:314:in `execute_and_free'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:414:in `columns'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/model_schema.rb:228:in `yield'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/model_schema.rb:228:in `default'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/model_schema.rb:228:in `columns'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/model_schema.rb:248:in `column_names'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/model_schema.rb:261:in `column_methods_hash'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/dynamic_matchers.rb:69:in `all_attributes_exists?'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/dynamic_matchers.rb:5:in `respond_to?'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/scoping/named.rb:194:in `valid_scope_name?'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activerecord-3.2.0/lib/active_record/scoping/named.rb:176:in `scope'
/Users/dave/git/PestNow3/pestnow/app/models/order.rb:179:in `<class:Order>'
/Users/dave/git/PestNow3/pestnow/app/models/order.rb:1:in `<top (required)>'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `block in require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:359:in `require_or_load'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:502:in `load_missing_constant'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:192:in `block in const_missing'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:190:in `each'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:190:in `const_missing'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/inflector/methods.rb:226:in `block in constantize'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/inflector/methods.rb:225:in `each'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/inflector/methods.rb:225:in `constantize'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/inflector/methods.rb:256:in `safe_constantize'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/core_ext/string/inflections.rb:66:in `safe_constantize'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/actionpack-3.2.0/lib/action_controller/metal/params_wrapper.rb:152:in `_default_wrap_model'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/actionpack-3.2.0/lib/action_controller/metal/params_wrapper.rb:169:in `_set_wrapper_defaults'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/actionpack-3.2.0/lib/action_controller/metal/params_wrapper.rb:133:in `inherited'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/actionpack-3.2.0/lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/actionpack-3.2.0/lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with'
/Users/dave/git/PestNow3/pestnow/app/controllers/order_controller.rb:1:in `<top (required)>'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `block in require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:359:in `require_or_load'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:313:in `depend_on'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:225:in `require_dependency'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/engine.rb:438:in `each'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/engine.rb:438:in `block in eager_load!'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/engine.rb:436:in `each'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/engine.rb:436:in `eager_load!'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/application/finisher.rb:54:in `block in <module:Finisher>'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/initializable.rb:30:in `instance_exec'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/initializable.rb:30:in `run'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/initializable.rb:54:in `each'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/initializable.rb:54:in `run_initializers'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/application.rb:136:in `initialize!'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/dave/git/PestNow3/pestnow/config/environment.rb:7:in `<top (required)>'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `block in require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:251:in `require'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/application.rb:103:in `require_environment!'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/railties-3.2.0/lib/rails/application.rb:292:in `block (2 levels) in initialize_tasks'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/dave/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `block in invoke_prerequisites'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `block in invoke_with_call_chain'
/Users/dave/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/bin/rake:19:in `load'
/Users/dave/.rvm/gems/ruby-1.9.2-p290@pestnow/bin/rake:19:in `<main>'
Tasks: TOP => db:migrate => environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment