James Byrne wrote: > During testing with Rails3 I am seeing this 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 > /home/byrnejb/Software/Development/Projects/proforma.git/config/environment.rb:5) > > However, the contents of config/routes.rb are: > > ProformaGit::Application.routes.draw do > resource :account > end > > What is causing this deprecation warning? How do I get rid of it other > than by turning the warnings off?
Does anyone have the answer to this and would care to enlighten me? Is this a bug? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.