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? -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
gem cleanup i think you have an old version of a dependency On Thu, Sep 9, 2010 at 12:18 PM, James Byrne <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
radhames brito wrote:> gem cleanup i think you have an old version of a dependencyI think that you were right. Thank you. -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.