When I run cucumber I now see these messages:

DEPRECATION WARNING: ref is deprecated and will be removed from Rails
3.2. (called from require at /home/byrnejb/.rvm/gems/ruby-1.8.7-
p352@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:68)
DEPRECATION WARNING: new is deprecated and will be removed from Rails
3.2. (called from require at /home/byrnejb/.rvm/gems/ruby-1.8.7-
p352@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:68)

However, in my environment file I have this statement:

  # Print deprecation notices to :log, :notify or :stderr
  config.active_support.deprecation = :log # :log, :notify or :stderr

Which evidently has no effect for 3.1.  However, when I replace it
with this statement:

  ActiveSupport::Deprecation.silenced = true

I see no change in behaviour.  Is this supposed to be put somewhere
else?  How does one turn off deprecation warnings in Rails-3.1?

-- 
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@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.

Reply via email to