Ruby DEPRECATION WARNING: You are using the old router DSL which will be removed in Rails 3.1.
- by user297221
Hi guys. I am using rails 3 and at the moment i am writing tests for my application.
I get this weird deprecation 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 at /Users/jeljer/Dropbox/webCMS/config/environment.rb:6)
Of course my routes file is this:
WebCMS::Application.routes.draw do
#...
end
but no luck. If I look at the place what it is pointing to in my enviroment.rb: WebCMS::Application.initialize!
I did a gem cleanup without any luck.
Does anybody have an idea?
ps. i am using rvm with ruby 1.9.2