This project is archived and is in readonly mode.

#4205 ✓resolved
Aaron Patterson

Can't run active record tests

Reported by Aaron Patterson | March 17th, 2010 @ 05:04 PM

Currently it raises an exception:

/Users/apatterson/git/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb:30:in `send': undefined method `remove_possible_method' for #<Class:ActiveRecord::Base> (NoMethodError)
    from /Users/apatterson/git/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb:30:in `_stash_object_in_method'
    from /Users/apatterson/git/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb:38:in `_store_full_sti_class='
    from /Users/apatterson/git/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb:40:in `send'
    from /Users/apatterson/git/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb:40:in `_superclass_delegating_accessor'
    from /Users/apatterson/git/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb:9:in `superclass_delegating_accessor'
    from /Users/apatterson/git/rails/activerecord/lib/active_record/base.rb:382
    from test/models/course.rb:1
    from /Users/apatterson/git/rails/activesupport/lib/active_support/dependencies.rb:415:in `load'
    from /Users/apatterson/git/rails/activesupport/lib/active_support/dependencies.rb:415:in `load_file'
    from /Users/apatterson/git/rails/activesupport/

This patch fixes it.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Tags

Referenced by

Pages