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.

active model tests can't be run

#4210

Currently:

(in /Users/apatterson/git/rails/activemodel)
/Users/apatterson/git/rails/activesupport/lib/active_support/test_case.rb:10: undefined method `silence_warnings' for main:Object (NoMethodError)
    from /Users/apatterson/git/rails/activemodel/lib/active_model/test_case.rb:2
    from /Users/apatterson/git/rails/activemodel/test/cases/attribute_methods_test.rb:24
    from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `load'
    from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
    from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
    from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...]

(See full trace by running task with --trace)

Attached patch fixes it.

Reported by Aaron Patterson · March 17th, 2010 @ 08:43 PM

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