Rails-3.1.1 Deprecation warnings:

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-
[email protected]/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-
[email protected]/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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs