Hello, I''ve run across an issue with running tests in rails 2.0. In my environment.rb, I use config.to_prepare and this causes an error... /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.1/lib/action_controller/dispatcher.rb:88: undefined method `cattr_accessor'' for ActionController::Dispatcher:Class (NoMethodError) As a test, I created a blank rails 2.0 project and simply added config.to_prepare do end to environment.rb and this causes errors running the tests as well. As a "fix", I added require ''activesupport'' to the top of action_controller/dispatcher.rb and the problem seems to go away, in both my main project and the test project I created. Now I don''t think my "fix" is the proper fix, but thought somebody might be able to tell me what a proper fix may be? I''ll open a ticket for this if somebody can confirm that this is indeed a bug. Thanks, Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---