Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created April 24, 2012 03:00
Show Gist options
  • Select an option

  • Save metaskills/2475837 to your computer and use it in GitHub Desktop.

Select an option

Save metaskills/2475837 to your computer and use it in GitHub Desktop.
1) Error:
test_marshalling_extensions(AssociationsExtensionsTest):
NoMethodError: undefined method `klass' for nil:NilClass
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:117:in `klass'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:165:in `find_target?'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_association.rb:332:in `load_target'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:44:in `__send__'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:44:in `load_target'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:87:in `method_missing'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:26:in `inspect'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:26:in `options'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_association.rb:92:in `find'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:46:in `__send__'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:46:in `find'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/test/models/developer.rb:18:in `find_most_recent'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/test/cases/associations/extension_test.rb:50:in `test_marshalling_extensions'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:425:in `_run__1009995898__setup__4__callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:405:in `send'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:81:in `send'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
2) Error:
test_marshalling_named_extensions(AssociationsExtensionsTest):
NoMethodError: undefined method `klass' for nil:NilClass
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:117:in `klass'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:165:in `find_target?'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_association.rb:332:in `load_target'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:44:in `__send__'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:44:in `load_target'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:87:in `method_missing'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:26:in `inspect'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:26:in `options'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_association.rb:92:in `find'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:46:in `__send__'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:46:in `find'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/test/models/developer.rb:18:in `find_most_recent'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/test/cases/associations/extension_test.rb:65:in `test_marshalling_named_extensions'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:425:in `_run__1009995898__setup__4__callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:405:in `send'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:81:in `send'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
3) Error:
test_marshalling_with_associations(BasicsTest):
NoMethodError: undefined method `association_primary_key' for nil:NilClass
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/has_many_association.rb:104:in `foreign_key_present?'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/association.rb:165:in `find_target?'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_association.rb:332:in `load_target'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_association.rb:271:in `length'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:46:in `__send__'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/lib/active_record/associations/collection_proxy.rb:46:in `length'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activerecord/test/cases/base_test.rb:2072:in `test_marshalling_with_associations'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:425:in `_run__1653370214__setup__4__callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:405:in `send'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:405:in `__run_callback'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:385:in `_run_setup_callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:81:in `send'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/callbacks.rb:81:in `run_callbacks'
/Users/kencollins/.rbenv/versions/ree/lib/ruby/gems/1.8/bundler/gems/rails-d5f2bae786cb/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment