Skip to content

Instantly share code, notes, and snippets.

@scottshea
Created June 21, 2012 22:13
Show Gist options
  • Save scottshea/2968909 to your computer and use it in GitHub Desktop.
Save scottshea/2968909 to your computer and use it in GitHub Desktop.
Stack Trace
Using the default profile...
undefined method `klass' for nil:NilClass (NoMethodError)
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activesupport-3.0.13/lib/active_support/whiny_nil.rb:48:in `method_missing'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activerecord-3.0.13/lib/active_record/reflection.rb:346:in `block in source_reflection'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activerecord-3.0.13/lib/active_record/reflection.rb:346:in `collect'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activerecord-3.0.13/lib/active_record/reflection.rb:346:in `source_reflection'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activerecord-3.0.13/lib/active_record/reflection.rb:407:in `derive_class_name'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activerecord-3.0.13/lib/active_record/reflection.rb:121:in `class_name'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activerecord-3.0.13/lib/active_record/reflection.rb:162:in `klass'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/column.rb:321:in `initialize_search_sql'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/column.rb:167:in `search_sql'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/column.rb:171:in `searchable?'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/config/search.rb:45:in `block in columns'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/columns.rb:62:in `block in each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/columns.rb:62:in `each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/columns.rb:62:in `each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/config/search.rb:45:in `collect'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/config/search.rb:45:in `columns'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/config/core.rb:142:in `block in _load_action_columns'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/actions.rb:20:in `block in each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/actions.rb:20:in `each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/data_structures/actions.rb:20:in `each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold/config/core.rb:139:in `_load_action_columns'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/active_scaffold-3.0.12/lib/active_scaffold.rb:147:in `active_scaffold'
/home/scott/source/activate_advanced/app/controllers/sub_screens_controller.rb:5:in `<class:SubScreensController>'
/home/scott/source/activate_advanced/app/controllers/sub_screens_controller.rb:1:in `<top (required)>'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activesupport-3.0.13/lib/active_support/dependencies.rb:242:in `require'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activesupport-3.0.13/lib/active_support/dependencies.rb:242:in `block in require'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activesupport-3.0.13/lib/active_support/dependencies.rb:227:in `load_dependency'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activesupport-3.0.13/lib/active_support/dependencies.rb:242:in `require'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activesupport-3.0.13/lib/active_support/dependencies.rb:350:in `require_or_load'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activesupport-3.0.13/lib/active_support/dependencies.rb:304:in `depend_on'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/activesupport-3.0.13/lib/active_support/dependencies.rb:216:in `require_dependency'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/engine.rb:138:in `block (2 levels) in eager_load!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/engine.rb:137:in `each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/engine.rb:137:in `block in eager_load!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/engine.rb:135:in `each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/engine.rb:135:in `eager_load!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/application.rb:108:in `eager_load!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/initializable.rb:25:in `instance_exec'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/initializable.rb:25:in `run'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/initializable.rb:50:in `block in run_initializers'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/initializable.rb:49:in `each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/initializable.rb:49:in `run_initializers'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/application.rb:134:in `initialize!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-rails-1.3.0/lib/cucumber/rails/application.rb:15:in `initialize!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/railties-3.0.13/lib/rails/application.rb:77:in `method_missing'
/home/scott/source/activate_advanced/config/environment.rb:5:in `<top (required)>'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-rails-1.3.0/lib/cucumber/rails.rb:7:in `require'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-rails-1.3.0/lib/cucumber/rails.rb:7:in `<top (required)>'
/home/scott/source/activate_advanced/features/support/env.rb:7:in `require'
/home/scott/source/activate_advanced/features/support/env.rb:7:in `<top (required)>'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/rb_support/rb_language.rb:129:in `load'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/rb_support/rb_language.rb:129:in `load_code_file'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/runtime/support_code.rb:171:in `load_file'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/runtime/support_code.rb:83:in `block in load_files!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/runtime/support_code.rb:82:in `each'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/runtime.rb:175:in `load_step_definitions'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/runtime.rb:40:in `run!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/cli/main.rb:43:in `execute!'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/lib/cucumber/cli/main.rb:20:in `execute'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/gems/cucumber-1.2.0/bin/cucumber:14:in `<top (required)>'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/bin/cucumber:19:in `load'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/bin/cucumber:19:in `<main>'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/bin/ruby_noexec_wrapper:14:in `eval'
/home/scott/.rvm/gems/ruby-1.9.3-p194@rails3/bin/ruby_noexec_wrapper:14:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment