This project is archived and is in readonly mode.
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
-
Aaron Patterson March 17th, 2010 @ 05:07 PM
I should mention that you can reproduce this error by doing
rake test_sqlite3
in activerecord and that the exception was introduced in 640ee5b68d1078fc164bd4e10c019f284ad9b760 -
Repository March 17th, 2010 @ 05:09 PM
- State changed from new to resolved
(from [843255a763c5e68beaa3a1b0bca306c625c30797]) fixing activerecord tests [#4205 state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/843255a763c5e68beaa3a1b0bca306...
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
- 4205 Can't run active record tests (from [843255a763c5e68beaa3a1b0bca306c625c30797]) fixing ...