I am using Rails 3, and at the moment I am writing tests for my application. I get this strange failure warning:
DEPRECATION WARNING: You are using the old router DSL which will be removed in Rails 3.1. Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/. (called from <top (required)> at /Users/jeljer/Dropbox/webCMS/config/environment.rb:6)
Of course my routes file:
WebCMS::Application.routes.draw do
but no luck. If I look at the place it points to in my enviroment.rb:
WebCMS::Application.initialize!
I did a gem cleaning without any luck. Does anyone have an idea?
ps. I am using RVM with Ruby 1.9.2
source share