Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Can't run active record tests

#4205

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.

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

State: resolved
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Aaron Patterson
    Aaron Patterson

    I should mention that you can reproduce this error by doing rake test_sqlite3 in activerecord and that the exception was introduced in 640ee5b68d1078fc164bd4e10c019f284ad9b760

    March 17th, 2010 @ 05:07 PM

  2. Repository