Rails 2.0 and config.to_prepare

Hello,

I’ve recently started migrating a project to 2.0 and came across issues
running tests. I narrowed the problem down to config.to_prepare in my
environment.rb.

As a test, I created a new rails project and simply added…

config.to_prepare do
end

to the environment.rb and tests fail in the new project as well.

Can somebody tell me why this is a problem now?

Thanks,
Andrew

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs